Index: content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java |
diff --git a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java |
index 6d44e042af538f17c108e45c3c0b3dc3706ee2b3..47986115e86d5ca933dea6b8ae453efb43093791 100644 |
--- a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java |
+++ b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java |
@@ -2538,6 +2538,13 @@ public class ContentViewCore implements MotionEventDelegate, NavigationClient { |
} |
/** |
+ * Show or hide the top controls. |
+ */ |
+ public void showTopControls(boolean show) { |
+ nativeShowTopControls(mNativeContentViewCore, show); |
+ } |
+ |
+ /** |
* @See android.webkit.WebView#pageDown(boolean) |
*/ |
public boolean pageDown(boolean bottom) { |
@@ -2803,6 +2810,8 @@ public class ContentViewCore implements MotionEventDelegate, NavigationClient { |
private native void nativeExitFullscreen(int nativeContentViewCoreImpl); |
private native void nativeUpdateTopControlsState(int nativeContentViewCoreImpl, |
boolean enableHiding, boolean enableShowing, boolean animate); |
+ private native void nativeShowTopControls( |
+ int nativeContentViewCoreImpl, boolean show); |
private native void nativeShowImeIfNeeded(int nativeContentViewCoreImpl); |