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

Unified Diff: content/common/view_messages.h

Issue 11888003: Differentiate invisible cursor mode and disabled mouse events mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments Created 7 years, 11 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/common/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index 089f9e51c8ef03a03dc4a08113d3a40484d60c12..bf5e42503b9d9d2e9492734f98269ee3364b5399 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -1826,6 +1826,13 @@ IPC_MESSAGE_ROUTED1(ViewHostMsg_OpenURL, ViewHostMsg_OpenURL_Params)
IPC_MESSAGE_ROUTED1(ViewHostMsg_DidContentsPreferredSizeChange,
gfx::Size /* pref_size */)
+// Notifies that the scroll offset changed.
+// This is different from ViewHostMsg_UpdateRect_Params's scroll_offset in
+// that ViewHostMsg_UpdateRect is not sent at all when threaded compositing is
+// enabled while ViewHostMsg_DidChangeScrollOffset works properly in this case.
+IPC_MESSAGE_ROUTED1(ViewHostMsg_DidChangeScrollOffset,
+ gfx::Vector2d /* offset */)
jln (very slow on Chromium) 2013/01/22 23:54:21 Do you think you'll ever need to process offset ?
+
// Notifies that the scrollbars-visible state of the content changed.
IPC_MESSAGE_ROUTED2(ViewHostMsg_DidChangeScrollOffsetPinningForMainFrame,
bool /* has_horizontal_scrollbar */,
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_aura.cc ('k') | content/port/browser/render_widget_host_view_port.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698