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

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: Sync and merge. 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 7d7e8f33803bae80773c0b110cc18faf1bdaa9d1..064633680239930da77ee49d77b898011dc619df 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"
@@ -31,6 +32,7 @@
#include "content/public/common/referrer.h"
#include "content/public/common/renderer_preferences.h"
#include "content/public/common/stop_find_action.h"
+#include "content/public/common/top_controls_state.h"
#include "content/public/renderer/render_view.h"
#include "content/renderer/mouse_lock_dispatcher.h"
#include "content/renderer/render_view_pepper_helper.h"
@@ -725,6 +727,12 @@ 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(TopControlsState constraints,
+ TopControlsState current,
+ bool animate) OVERRIDE;
+ virtual cc::TopControlsState ContentToCcTopControlsState(
jamesr 2013/05/15 18:14:18 this definitely doesn't need to be a virtual membe
Michael van Ouwerkerk 2013/05/16 16:26:00 Done.
+ TopControlsState state);
+
#endif
// webkit_glue::WebPluginPageDelegate implementation -------------------------

Powered by Google App Engine
This is Rietveld 408576698