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

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: Better member variable names 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 a1d3c73f8c1b7b7ec15105a08ffadcf992be84c7..2bb215d2a6d1d9a018d0a077ae3d89df5634d527 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -986,6 +986,7 @@ IPC_MESSAGE_ROUTED0(ViewMsg_SelectAll)
IPC_MESSAGE_ROUTED0(ViewMsg_Unselect)
// 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 */)
@@ -1849,6 +1850,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