mirror of
https://github.com/haorendashu/nowser.git
synced 2025-12-17 18:04:18 +01:00
try to add linux webview support
This commit is contained in:
20
lib/component/webview/webview_controller_interface.dart
Normal file
20
lib/component/webview/webview_controller_interface.dart
Normal file
@@ -0,0 +1,20 @@
|
||||
|
||||
abstract class WebviewControllerInterface {
|
||||
|
||||
Future<void> reload();
|
||||
|
||||
Future<void> goBack();
|
||||
|
||||
Future<bool> canGoBack();
|
||||
|
||||
Future<void> goForward();
|
||||
|
||||
Future<Uri?> getUrl();
|
||||
|
||||
Future<String?> getFavicon();
|
||||
|
||||
Future<void> loadUrl(String url);
|
||||
|
||||
Future<String?> getTitle();
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user