From 1a17083e8c371f997809c9e34dada6f4fbb3e7fc Mon Sep 17 00:00:00 2001 From: Ian Clelland Date: Fri, 2 May 2014 10:51:24 -0400 Subject: [PATCH] Add more required methods on CordovaWebView interface --- .../src/org/apache/cordova/CordovaWebView.java | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/framework/src/org/apache/cordova/CordovaWebView.java b/framework/src/org/apache/cordova/CordovaWebView.java index e1e42948..ad746fd9 100644 --- a/framework/src/org/apache/cordova/CordovaWebView.java +++ b/framework/src/org/apache/cordova/CordovaWebView.java @@ -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();