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

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: Added struct SelectionRange Created 8 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
Index: content/common/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index 741a3f78c193c20e657579892f693a2da7d7ab5a..019dd4f219e71dcc1e67a6928525ba493d349e04 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -989,6 +989,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 */)
@@ -1852,6 +1853,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