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

Unified Diff: content/renderer/render_widget.h

Issue 1209043002: Bundle main thread overscroll data with event ack messages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 6 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_widget.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_widget.h
diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h
index 5d58a876efd8cf56759129979bd98a67c0d4e845..92a0f387f119804f52f04ef666589fb1036323d1 100644
--- a/content/renderer/render_widget.h
+++ b/content/renderer/render_widget.h
@@ -87,6 +87,7 @@ class RenderWidgetCompositor;
class RenderWidgetTest;
class ResizingModeSelector;
struct ContextMenuParams;
+struct DidOverscrollParams;
struct WebPluginGeometry;
// RenderWidget provides a communication bridge between a WebWidget and
@@ -678,6 +679,12 @@ class CONTENT_EXPORT RenderWidget
// Are we currently handling an input event?
bool handling_input_event_;
+ // Used to intercept overscroll notifications while an event is being
+ // handled. If the event causes overscroll, the overscroll metadata can be
+ // bundled in the event ack, saving an IPC. Note that we must continue
+ // supporting overscroll IPC notifications due to fling animation updates.
+ scoped_ptr<DidOverscrollParams>* handling_event_overscroll_;
+
// Are we currently handling an ime event?
bool handling_ime_event_;
« no previous file with comments | « no previous file | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698