From f58ffac202b5a15f4bbfd5512c58f202a992f594 Mon Sep 17 00:00:00 2001 From: Leon Scroggins Date: Thu, 13 Aug 2009 15:34:06 -0400 Subject: Hide the title bar when zoomed in. --- core/java/android/webkit/WebChromeClient.java | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'core/java/android/webkit/WebChromeClient.java') diff --git a/core/java/android/webkit/WebChromeClient.java b/core/java/android/webkit/WebChromeClient.java index c10bc97de103..e1c8d4da409a 100644 --- a/core/java/android/webkit/WebChromeClient.java +++ b/core/java/android/webkit/WebChromeClient.java @@ -22,6 +22,15 @@ import android.view.View; public class WebChromeClient { + /** + * Tell the host application that the WebView has changed viewing modes. + * @param toZoomedOut If true, the WebView has zoomed out so that the page + * fits the screen. If false, it is zoomed to the setting + * specified by the user. + * @hide + */ + public void onChangeViewingMode(boolean toZoomedOut) {} + /** * Tell the host application the current progress of loading a page. * @param view The WebView that initiated the callback. -- cgit v1.2.3