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

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: Sync, merge, address style nits. 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
« no previous file with comments | « content/public/common/top_controls_state_list.h ('k') | content/renderer/gpu/render_widget_compositor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..34e9b2e648e9842aeebb6e5ad677fe10a3134d42 100644
--- a/content/public/renderer/render_view.h
+++ b/content/public/renderer/render_view.h
@@ -8,6 +8,7 @@
#include "base/basictypes.h"
#include "base/string16.h"
#include "content/common/content_export.h"
+#include "content/public/common/top_controls_state.h"
#include "ipc/ipc_sender.h"
#include "skia/ext/refptr.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebNavigationPolicy.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(TopControlsState constraints,
+ TopControlsState current,
+ bool animate) = 0;
#endif
protected:
« no previous file with comments | « content/public/common/top_controls_state_list.h ('k') | content/renderer/gpu/render_widget_compositor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698