Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1025)

Unified Diff: content/browser/android/content_view_core_impl.h

Issue 14139013: Hide location bar on Javascript-initiated scroll. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge ShowTopControls into UpdateTopControlsState, use new TopControlsState enum in plumbing, gener… Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/android/content_view_core_impl.h
diff --git a/content/browser/android/content_view_core_impl.h b/content/browser/android/content_view_core_impl.h
index 77f4973b5a9a5bd11ecc4dd2c0a6e32fbec65407..8a54b27e7900a007d22bc6fba9f87185c508396a 100644
--- a/content/browser/android/content_view_core_impl.h
+++ b/content/browser/android/content_view_core_impl.h
@@ -202,8 +202,8 @@ class ContentViewCoreImpl : public ContentViewCore,
void ExitFullscreen(JNIEnv* env, jobject obj);
void UpdateTopControlsState(JNIEnv* env,
jobject obj,
- bool enable_hiding,
- bool enable_showing,
+ jint constraints,
+ jint current,
bool animate);
void ShowImeIfNeeded(JNIEnv* env, jobject obj);

Powered by Google App Engine
This is Rietveld 408576698