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

Unified Diff: content/common/view_messages.h

Issue 10823077: Throttle SelectRange IPC (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 5 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 c59a2115d2590fa82577e1b8816c5617a6b2b71d..e90d6b4904a89180fedcdf0f64213b32bfe1ab23 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -975,6 +975,7 @@ IPC_MESSAGE_ROUTED0(ViewMsg_Delete)
IPC_MESSAGE_ROUTED0(ViewMsg_SelectAll)
// Requests the renderer to select the region between two points.
+// Expects a SelectRange_ACK message when finished.
IPC_MESSAGE_ROUTED2(ViewMsg_SelectRange,
gfx::Point /* start */,
gfx::Point /* end */)
@@ -1838,6 +1839,8 @@ IPC_MESSAGE_ROUTED2(ViewHostMsg_SetTooltipText,
string16 /* tooltip text string */,
WebKit::WebTextDirection /* text direction hint */)
+IPC_MESSAGE_ROUTED0(ViewHostMsg_SelectRange_ACK)
+
// Notification that the text selection has changed.
// Note: The secound parameter is the character based offset of the string16
// text in the document.

Powered by Google App Engine
This is Rietveld 408576698