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 731166dee6274d768e3ebbdafea6b404b8a04a3e..508cbc371b634467a3ec868491fd37f1fc87daef 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 |
@@ -2490,6 +2490,14 @@ public class ContentViewCore implements MotionEventDelegate, NavigationClient { |
nativeEnableHidingTopControls(mNativeContentViewCore, enable); |
} |
+ |
+ /** |
+ * Show or hide the top controls. |
+ */ |
+ public void showTopControls(boolean show) { |
+ nativeShowTopControls(mNativeContentViewCore, show); |
+ } |
+ |
/** |
* @See android.webkit.WebView#pageDown(boolean) |
*/ |
@@ -2756,6 +2764,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); |