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 /chrome/chrome_browser.gypi | |
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 'chrome/chrome_browser.gypi')
-rw-r--r-- | chrome/chrome_browser.gypi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/chrome_browser.gypi b/chrome/chrome_browser.gypi index bb70bd0..2613bbb 100644 --- a/chrome/chrome_browser.gypi +++ b/chrome/chrome_browser.gypi @@ -1718,6 +1718,10 @@ 'browser/renderer_host/safe_browsing_resource_handler.h', 'browser/renderer_host/save_file_resource_handler.cc', 'browser/renderer_host/save_file_resource_handler.h', + 'browser/renderer_host/text_input_client_mac.h', + 'browser/renderer_host/text_input_client_mac.mm', + 'browser/renderer_host/text_input_client_message_filter.h', + 'browser/renderer_host/text_input_client_message_filter.mm', 'browser/renderer_host/web_cache_manager.cc', 'browser/renderer_host/web_cache_manager.h', 'browser/renderer_preferences_util.cc', |