summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-09 00:57:10 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-09 00:57:10 +0000
commitdbadbccda1ef5744aa78c4666434be9f7622a326 (patch)
tree37db95501bf557911f539b7522b30146e9152dda /chrome/common
parent3dce6d059ac9a69b85d2265f91a384554d27eaa7 (diff)
downloadchromium_src-dbadbccda1ef5744aa78c4666434be9f7622a326.zip
chromium_src-dbadbccda1ef5744aa78c4666434be9f7622a326.tar.gz
chromium_src-dbadbccda1ef5744aa78c4666434be9f7622a326.tar.bz2
Copy text selection from renderer to browser every time it changes.
BUG=9848 Review URL: http://codereview.chromium.org/63145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13396 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/render_messages_internal.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/chrome/common/render_messages_internal.h b/chrome/common/render_messages_internal.h
index 894a554..6e2b3eb 100644
--- a/chrome/common/render_messages_internal.h
+++ b/chrome/common/render_messages_internal.h
@@ -110,10 +110,6 @@ IPC_BEGIN_MESSAGES(View)
// 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 @@ IPC_BEGIN_MESSAGES(ViewHost)
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