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

Unified Diff: content/browser/renderer_host/render_view_host_delegate.h

Issue 14139013: Hide location bar on Javascript-initiated scroll. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Upload again after sync. Created 7 years, 8 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/browser/renderer_host/render_view_host_delegate.h
diff --git a/content/browser/renderer_host/render_view_host_delegate.h b/content/browser/renderer_host/render_view_host_delegate.h
index 5ee731405cb64f4bb04d6da752622b1b1e294133..c56c9e001ab068525e7e843529aa686062ed8853 100644
--- a/content/browser/renderer_host/render_view_host_delegate.h
+++ b/content/browser/renderer_host/render_view_host_delegate.h
@@ -343,6 +343,9 @@ class CONTENT_EXPORT RenderViewHostDelegate {
virtual void ToggleFullscreenMode(bool enter_fullscreen) {}
virtual bool IsFullscreenForCurrentTab() const;
+ // Notification that the page programatically scrolled.
+ virtual void DidProgrammaticallyScroll(const gfx::Point& scroll_point) {}
palmer 2013/04/16 17:12:43 Again, #ifdef? Throughout for all non-.../android*
+
// The contents' preferred size changed.
virtual void UpdatePreferredSize(const gfx::Size& pref_size) {}

Powered by Google App Engine
This is Rietveld 408576698