diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-12 07:30:35 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-12 07:30:35 +0000 |
commit | a954bf7d89777070fa9980d6692e3787dd61e26f (patch) | |
tree | 31a0b26e4f0abfbe45437127d9f9703b5ceb6960 /chrome/common | |
parent | 8e5722d2311e0a91cca92692c012e64bb01fb2cf (diff) | |
download | chromium_src-a954bf7d89777070fa9980d6692e3787dd61e26f.zip chromium_src-a954bf7d89777070fa9980d6692e3787dd61e26f.tar.gz chromium_src-a954bf7d89777070fa9980d6692e3787dd61e26f.tar.bz2 |
Let cmd-e write the selection into the find pasteboard.
Note that chrome still does not support _reading_ from the find pasteboard, so hitting cmd-e followed by cmd-g in chrome still doesn't work. Also, cmd-f doesn't write to the find pasteboard yet either.
BUG=14562
TEST=Select some text on a web page, hit cmd-e, go to the same web page in safari, hit cmd-g. Safari should search for the text you selected in chrome.
Review URL: http://codereview.chromium.org/197035
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26075 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/render_messages_internal.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/common/render_messages_internal.h b/chrome/common/render_messages_internal.h index 350bb83..6658624 100644 --- a/chrome/common/render_messages_internal.h +++ b/chrome/common/render_messages_internal.h @@ -193,6 +193,7 @@ IPC_BEGIN_MESSAGES(View) IPC_MESSAGE_ROUTED0(ViewMsg_Redo) IPC_MESSAGE_ROUTED0(ViewMsg_Cut) IPC_MESSAGE_ROUTED0(ViewMsg_Copy) + IPC_MESSAGE_ROUTED0(ViewMsg_CopyToFindPboard) IPC_MESSAGE_ROUTED0(ViewMsg_Paste) IPC_MESSAGE_ROUTED1(ViewMsg_Replace, std::wstring) IPC_MESSAGE_ROUTED0(ViewMsg_ToggleSpellCheck) @@ -1097,6 +1098,11 @@ IPC_BEGIN_MESSAGES(ViewHost) string16 /* markup */, GURL /* url */) +#if defined(OS_MACOSX) + IPC_MESSAGE_CONTROL1(ViewHostMsg_ClipboardFindPboardWriteStringAsync, + string16 /* text */) +#endif + #if defined(OS_WIN) // Request that the given font be loaded by the browser. // Please see ResourceMessageFilter::OnLoadFont for details. |