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

Unified Diff: chrome/renderer/chrome_render_view_observer.h

Issue 14139013: Hide location bar on Javascript-initiated scroll. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Restore handling of ViewMsg_UpdateTopControlsState in RenderViewImpl. Created 7 years, 7 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: chrome/renderer/chrome_render_view_observer.h
diff --git a/chrome/renderer/chrome_render_view_observer.h b/chrome/renderer/chrome_render_view_observer.h
index eda1d90d7a629e6bbe72b57d175697f1ebf7312b..c95c7abbf8d99e1a922b48ea607d768a68067032 100644
--- a/chrome/renderer/chrome_render_view_observer.h
+++ b/chrome/renderer/chrome_render_view_observer.h
@@ -12,6 +12,7 @@
#include "base/memory/linked_ptr.h"
#include "base/memory/scoped_ptr.h"
#include "base/timer.h"
+#include "cc/input/top_controls_state.h"
#include "chrome/common/extensions/permissions/api_permission.h"
#include "content/public/renderer/render_view_observer.h"
#include "googleurl/src/gurl.h"
@@ -139,6 +140,11 @@ class ChromeRenderViewObserver : public content::RenderViewObserver,
void OnGetFPS();
void OnAddStrictSecurityHost(const std::string& host);
void OnNPAPINotSupported();
+#if defined(OS_ANDROID)
+ void OnUpdateTopControlsState(cc::TopControlsState constraints,
+ cc::TopControlsState current,
+ bool animate);
+#endif
void CapturePageInfoLater(bool preliminary_capture, base::TimeDelta delay);

Powered by Google App Engine
This is Rietveld 408576698