From de4d7cd10d0d0e7c55f20101e4b7337c46101a21 Mon Sep 17 00:00:00 2001 From: Andrew Grieve Date: Thu, 19 Feb 2015 10:33:06 -0500 Subject: [PATCH] Deprecate custom view methods in CordovaWebView. They are just helper methods that plugins should just be implementing for themselves. --- framework/src/org/apache/cordova/CordovaWebView.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/framework/src/org/apache/cordova/CordovaWebView.java b/framework/src/org/apache/cordova/CordovaWebView.java index de04c6aa..2a27a33e 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 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();