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

Unified Diff: content/public/renderer/render_view.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/public/renderer/render_view.h
diff --git a/content/public/renderer/render_view.h b/content/public/renderer/render_view.h
index 8024f4925dbb5b2222b36d077cb43ae40678c7a4..b72c0ed9e0c2f8ed9067ed33ce3c39406228caac 100644
--- a/content/public/renderer/render_view.h
+++ b/content/public/renderer/render_view.h
@@ -7,6 +7,7 @@
#include "base/basictypes.h"
#include "base/string16.h"
+#include "cc/input/top_controls_state.h"
jamesr 2013/05/08 17:31:16 NAK, don't include cc types or headers in public c
Michael van Ouwerkerk 2013/05/13 13:27:18 As discussed on chat, I've introduced a mirror enu
#include "content/common/content_export.h"
#include "ipc/ipc_sender.h"
#include "skia/ext/refptr.h"
@@ -169,6 +170,9 @@ class CONTENT_EXPORT RenderView : public IPC::Sender {
// performance impact and should not be used for other purposes.
// Requires enabling the impl-side painting feature in the compositor.
virtual skia::RefPtr<SkPicture> CapturePicture() = 0;
+ virtual void UpdateTopControlsState(cc::TopControlsState constraints,
+ cc::TopControlsState current,
+ bool animate) = 0;
#endif
protected:

Powered by Google App Engine
This is Rietveld 408576698