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

Unified Diff: chrome/common/render_messages_internal.h

Issue 63145: Copy text selection from renderer to browser every time it changes. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 8 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: chrome/common/render_messages_internal.h
===================================================================
--- chrome/common/render_messages_internal.h (revision 13391)
+++ chrome/common/render_messages_internal.h (working copy)
@@ -110,10 +110,6 @@
// node.
IPC_MESSAGE_ROUTED1(ViewMsg_SetInitialFocus, bool /* reverse */)
- // Ask the renderer to send us the selection text via the SetSelectionText
- // message.
- IPC_MESSAGE_ROUTED0(ViewMsg_RequestSelectionText)
-
// Tells the renderer to perform the specified navigation, interrupting any
// existing navigation.
IPC_MESSAGE_ROUTED1(ViewMsg_Navigate, ViewMsg_Navigate_Params)
@@ -927,10 +923,7 @@
std::wstring /* tooltip text string */)
// Notification that the text selection has changed.
- IPC_MESSAGE_ROUTED0(ViewHostMsg_SelectionChanged)
-
- // Send the current text selection.
- IPC_MESSAGE_ROUTED1(ViewHostMsg_SetSelectionText,
+ IPC_MESSAGE_ROUTED1(ViewHostMsg_SelectionChanged,
std::string /* currently selected text */)
// Asks the browser to display the file chooser. The result is returned in a

Powered by Google App Engine
This is Rietveld 408576698