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 fa307c41c8729f8a60ea5f8d306654f94aec0aa2..9c1275826a3a839287d4129f76f7a25f28137278 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 |
@@ -2493,6 +2493,14 @@ public class ContentViewCore implements MotionEventDelegate, NavigationClient { |
nativeEnableHidingTopControls(mNativeContentViewCore, enable); |
} |
+ |
Ted C
2013/03/26 16:19:10
remove extra blank line
John Knottenbelt
2013/03/26 16:43:16
Done.
|
+ /** |
+ * Show or hide the top controls. |
+ */ |
+ public void showTopControls(boolean show) { |
+ nativeShowTopControls(mNativeContentViewCore, show); |
+ } |
+ |
/** |
* @See android.webkit.WebView#pageDown(boolean) |
*/ |
@@ -2759,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); |