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 bc44c529258d2f586500e4032d3c18e340722f0d..363ff072b0ecf4af88a66d68cac4fc7a98dfb0d6 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 |
@@ -2495,6 +2495,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) { |
@@ -2760,6 +2767,8 @@ public class ContentViewCore implements MotionEventDelegate, NavigationClient { |
private native void nativeExitFullscreen(int nativeContentViewCoreImpl); |
private native void nativeEnableHidingTopControls( |
int nativeContentViewCoreImpl, boolean enable); |
+ private native void nativeShowTopControls( |
+ int nativeContentViewCoreImpl, boolean show); |
private native void nativeShowImeIfNeeded(int nativeContentViewCoreImpl); |