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

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: Renamed next_select_range, handled RendererExited 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
« no previous file with comments | « content/browser/renderer_host/render_widget_host_impl.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index 4e8333c64cb44e1801c4aa1d3c26d9095bedc976..da41ea2bc772e845cf29c0696224261d7ceaddc8 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -978,6 +978,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 */)
@@ -1841,6 +1842,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.
« no previous file with comments | « content/browser/renderer_host/render_widget_host_impl.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698