summaryrefslogtreecommitdiff
path: root/core/java/android/webkit/WebChromeClient.java
diff options
context:
space:
mode:
authorLeon Scroggins <scroggo@google.com>2009-08-19 16:19:26 -0400
committerLeon Scroggins <scroggo@google.com>2009-08-24 16:55:42 -0400
commitb2359262b48bf33887c72be94b044cfdfd602858 (patch)
tree8906ed809ac1a25daae7288e35cd41144d4d8153 /core/java/android/webkit/WebChromeClient.java
parentc0234a9df9cffc0166c39eb0e8561d664a5438a3 (diff)
Implement new title bar hiding/showing behavior.
Remove the code that hides the title bar when the page finishes loading. When the user double taps, if it did not result in changing the viewing mode (i.e. on a mobile site), send a message to the client so we can toggle the title bar's visibility. Required for a change to packages/apps/Browser Change-Id: I0040fd183ce5673a4069e943f38eb31599c0ca7d
Diffstat (limited to 'core/java/android/webkit/WebChromeClient.java')
-rw-r--r--core/java/android/webkit/WebChromeClient.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/java/android/webkit/WebChromeClient.java b/core/java/android/webkit/WebChromeClient.java
index e1c8d4da409a..e2d5d24ee9a8 100644
--- a/core/java/android/webkit/WebChromeClient.java
+++ b/core/java/android/webkit/WebChromeClient.java
@@ -24,12 +24,12 @@ 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.
+ * @param view The WebView that initiated the callback.
+ * @param newViewingMode One of the values described in WebView as possible
+ * values for the viewing mode
* @hide
*/
- public void onChangeViewingMode(boolean toZoomedOut) {}
+ public void onChangeViewingMode(WebView view, int newViewingMode) {}
/**
* Tell the host application the current progress of loading a page.