cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From i..@apache.org
Subject android commit: Add more required methods on CordovaWebView interface
Date Thu, 15 May 2014 19:57:13 GMT
Repository: cordova-android
Updated Branches:
  refs/heads/pluggable_webview b6664cc85 -> 1a17083e8


Add more required methods on CordovaWebView interface


Project: http://git-wip-us.apache.org/repos/asf/cordova-android/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-android/commit/1a17083e
Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/1a17083e
Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/1a17083e

Branch: refs/heads/pluggable_webview
Commit: 1a17083e8c371f997809c9e34dada6f4fbb3e7fc
Parents: b6664cc
Author: Ian Clelland <iclelland@chromium.org>
Authored: Fri May 2 10:51:24 2014 -0400
Committer: Ian Clelland <iclelland@chromium.org>
Committed: Thu May 15 15:56:10 2014 -0400

----------------------------------------------------------------------
 .../src/org/apache/cordova/CordovaWebView.java      | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-android/blob/1a17083e/framework/src/org/apache/cordova/CordovaWebView.java
----------------------------------------------------------------------
diff --git a/framework/src/org/apache/cordova/CordovaWebView.java b/framework/src/org/apache/cordova/CordovaWebView.java
index e1e4294..ad746fd 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();


Mime
View raw message