| 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 ebcffbd051f78b5c348ce26f825e970835312c3c..2c70a41015a6a1bee2f7d6c32e7bd6e4d08e0b99 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
|
| @@ -2470,6 +2470,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)
|
| */
|
| @@ -2736,6 +2744,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);
|
|
|
|
|