summaryrefslogtreecommitdiffstats
path: root/content/common/view_messages.h
diff options
context:
space:
mode:
authorcsilv@chromium.org <csilv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-16 02:46:15 +0000
committercsilv@chromium.org <csilv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-16 02:46:15 +0000
commit44bf7009a31eacc334fbf2dd33b8a97924deff54 (patch)
tree1b6b610d4c4d06bfaedf853ad16843854bb51037 /content/common/view_messages.h
parent0ef58fd2c529dd425c7e3beea4a88325983c870e (diff)
downloadchromium_src-44bf7009a31eacc334fbf2dd33b8a97924deff54.zip
chromium_src-44bf7009a31eacc334fbf2dd33b8a97924deff54.tar.gz
chromium_src-44bf7009a31eacc334fbf2dd33b8a97924deff54.tar.bz2
Add a contextual menu command for 'Paste and plain text' (or 'Paste and Match Style' on Mac)
MainMenu.xib details: - Change 'Paste and Match Style' to send the pasteAndMatchStyle: message. BUG=25238 TEST=In an editable field on a web page, right-click to 'Paste as plain text'. Review URL: http://codereview.chromium.org/8234006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105710 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/view_messages.h')
-rw-r--r--content/common/view_messages.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index bba5d05..073b810 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -844,6 +844,7 @@ IPC_MESSAGE_ROUTED0(ViewMsg_Copy)
IPC_MESSAGE_ROUTED0(ViewMsg_CopyToFindPboard)
#endif
IPC_MESSAGE_ROUTED0(ViewMsg_Paste)
+IPC_MESSAGE_ROUTED0(ViewMsg_PasteAndMatchStyle)
// Replaces the selected region or a word around the cursor with the
// specified string.
IPC_MESSAGE_ROUTED1(ViewMsg_Replace,