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

Unified Diff: content/renderer/render_view_impl.h

Issue 473953002: Defer scroll offset change notification to browser (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | « no previous file | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.h
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
index e0932ea9ca55a3ef5986cbf7c910c10b22328203..a9d2204737e07da0e3ecec241afeba06cbc461c3 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -354,6 +354,7 @@ class CONTENT_EXPORT RenderViewImpl
// blink::WebWidgetClient implementation ------------------------------------
// Most methods are handled by RenderWidget.
+ virtual void didCommitAndDrawCompositorFrame();
virtual void didFocus();
virtual void didBlur();
virtual void show(blink::WebNavigationPolicy policy);
@@ -651,9 +652,6 @@ class CONTENT_EXPORT RenderViewImpl
// Sends a message and runs a nested message loop.
bool SendAndRunNestedMessageLoop(IPC::SyncMessage* message);
- // Called when the "pinned to left/right edge" state needs to be updated.
- void UpdateScrollState(blink::WebFrame* frame);
-
// IPC message handlers ------------------------------------------------------
//
// The documentation for these functions should be in
@@ -1017,6 +1015,8 @@ class CONTENT_EXPORT RenderViewImpl
bool has_scrolled_focused_editable_node_into_rect_;
gfx::Rect rect_for_scrolled_focused_editable_node_;
+ bool has_scrolled_main_frame_;
+
// Helper objects ------------------------------------------------------------
scoped_ptr<RenderFrameImpl> main_render_frame_;
« no previous file with comments | « no previous file | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698