diff options
author | rsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-02 15:46:01 +0000 |
---|---|---|
committer | rsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-02 15:46:01 +0000 |
commit | d4cff27a73a9dc6caa6b37a8b28ef72ecc35fa0d (patch) | |
tree | 22759b5ed8332e11983609a93432dd47e9a65a79 /ipc | |
parent | c5b003c0bbadd824f84421390945f685f0fc9cd1 (diff) | |
download | chromium_src-d4cff27a73a9dc6caa6b37a8b28ef72ecc35fa0d.zip chromium_src-d4cff27a73a9dc6caa6b37a8b28ef72ecc35fa0d.tar.gz chromium_src-d4cff27a73a9dc6caa6b37a8b28ef72ecc35fa0d.tar.bz2 |
[Mac] Implement the system dictionary popup by implementing NSTextInput methods.
This is a two-sided patch; the Chromium side is plumbing to marshall data from
the renderer to the system APIs.
Note that just hitting Cmd+Ctrl+D usually does not bring up the popup. I think
this may be an Apple bug, but I have not yet found a work-around.
BUG=17951,37715,47141
TEST=Hold Cmd+Ctrl+D on a web page and mouse around. The dictionary popup should follow the mouse and show the definition of the current word.
TEST=In a text area, the dictionary popup should work only if the text area has focus.
R=avi,suzhe,jam
Review URL: http://codereview.chromium.org/6289009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83723 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc')
-rw-r--r-- | ipc/ipc_message_utils.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ipc/ipc_message_utils.h b/ipc/ipc_message_utils.h index c353e95..1aff129 100644 --- a/ipc/ipc_message_utils.h +++ b/ipc/ipc_message_utils.h @@ -89,6 +89,7 @@ enum IPCMessageStart { VideoCaptureMsgStart, QuotaMsgStart, IconMsgStart, + TextInputClientMsgStart, LastIPCMsgStart // Must come last. }; |