mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-19 07:02:51 +08:00
Add more required methods on CordovaWebView interface
This commit is contained in:
parent
b6664cc859
commit
1a17083e8c
@ -35,9 +35,19 @@ public interface CordovaWebView {
|
||||
|
||||
Object getParent();
|
||||
|
||||
void loadUrl(String url);
|
||||
|
||||
void loadUrl(String url, int splashscreenTime);
|
||||
|
||||
void loadUrl(String url);
|
||||
void loadUrlNow(String url);
|
||||
|
||||
void loadUrlIntoView(final String url);
|
||||
|
||||
void loadUrlIntoView(final String url, boolean recreatePlugins);
|
||||
|
||||
void loadUrlIntoView(final String url, final int splashscreenTime);
|
||||
|
||||
void stopLoading();
|
||||
|
||||
boolean canGoBack();
|
||||
|
||||
@ -58,7 +68,7 @@ public interface CordovaWebView {
|
||||
void postMessage(String id, Object data);
|
||||
|
||||
void addJavascript(String statement);
|
||||
|
||||
|
||||
void sendJavascript(String statememt);
|
||||
|
||||
CordovaChromeClient getWebChromeClient();
|
||||
@ -99,8 +109,6 @@ public interface CordovaWebView {
|
||||
|
||||
void setOverScrollMode(int overScrollNever);
|
||||
|
||||
void loadUrlNow(String string);
|
||||
|
||||
void setNetworkAvailable(boolean online);
|
||||
|
||||
CordovaResourceApi getResourceApi();
|
||||
|
Loading…
Reference in New Issue
Block a user