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

Unified Diff: content/renderer/render_view_impl.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: content/renderer/render_view_impl.h
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
index 09092c036e09d4d97a7c10e78eaa069cf2e5f79e..38733351b824f36d5e63ce0a413c82efe6bec711 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -20,6 +20,7 @@
#include "base/process.h"
#include "base/timer.h"
#include "build/build_config.h"
+#include "cc/input/top_controls_state.h"
#include "content/common/content_export.h"
#include "content/common/drag_event_source_info.h"
#include "content/common/edit_command.h"
@@ -725,6 +726,9 @@ class CONTENT_EXPORT RenderViewImpl
virtual SSLStatus GetSSLStatusOfFrame(WebKit::WebFrame* frame) const OVERRIDE;
#if defined(OS_ANDROID)
virtual skia::RefPtr<SkPicture> CapturePicture() OVERRIDE;
+ virtual void UpdateTopControlsState(cc::TopControlsState constraints,
+ cc::TopControlsState current,
+ bool animate) OVERRIDE;
#endif
// webkit_glue::WebPluginPageDelegate implementation -------------------------

Powered by Google App Engine
This is Rietveld 408576698