cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject [5/5] android commit: Deprecate custom view methods in CordovaWebView.
Date Thu, 19 Feb 2015 15:34:54 GMT
Deprecate custom view methods in CordovaWebView.

They are just helper methods that plugins should just be implementing
for themselves.


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

Branch: refs/heads/master
Commit: de4d7cd10d0d0e7c55f20101e4b7337c46101a21
Parents: 804dcac
Author: Andrew Grieve <agrieve@chromium.org>
Authored: Thu Feb 19 10:33:06 2015 -0500
Committer: Andrew Grieve <agrieve@chromium.org>
Committed: Thu Feb 19 10:33:06 2015 -0500

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


http://git-wip-us.apache.org/repos/asf/cordova-android/blob/de4d7cd1/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 de04c6a..2a27a33 100644
--- a/framework/src/org/apache/cordova/CordovaWebView.java
+++ b/framework/src/org/apache/cordova/CordovaWebView.java
@@ -77,10 +77,22 @@ public interface CordovaWebView {
 
     void showWebPage(String errorUrl, boolean b, boolean c, Map<String, Object> params);
 
+    /**
+     * Deprecated in 4.0.0. Use your own View-toggling logic.
+     */
+    @Deprecated
     boolean isCustomViewShowing();
 
+    /**
+     * Deprecated in 4.0.0. Use your own View-toggling logic.
+     */
+    @Deprecated
     void showCustomView(View view, CustomViewCallback callback);
 
+    /**
+     * Deprecated in 4.0.0. Use your own View-toggling logic.
+     */
+    @Deprecated
     void hideCustomView();
 
     CordovaResourceApi getResourceApi();


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message