From d4cff27a73a9dc6caa6b37a8b28ef72ecc35fa0d Mon Sep 17 00:00:00 2001 From: "rsesek@chromium.org" Date: Mon, 2 May 2011 15:46:01 +0000 Subject: [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 --- chrome/chrome_common.gypi | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'chrome/chrome_common.gypi') diff --git a/chrome/chrome_common.gypi b/chrome/chrome_common.gypi index 942d4ee..451402d6 100644 --- a/chrome/chrome_common.gypi +++ b/chrome/chrome_common.gypi @@ -28,6 +28,8 @@ 'common/app_mode_common_mac.h', 'common/app_mode_common_mac.mm', 'common/attrition_experiments.h', + 'common/attributed_string_coder_mac.h', + 'common/attributed_string_coder_mac.mm', 'common/auto_start_linux.cc', 'common/auto_start_linux.h', 'common/autofill_messages.h', @@ -228,6 +230,8 @@ 'common/spellcheck_messages.h', 'common/sqlite_utils.cc', 'common/sqlite_utils.h', + 'common/text_input_client_messages.cc', + 'common/text_input_client_messages.h', 'common/thumbnail_score.cc', 'common/thumbnail_score.h', 'common/url_constants.cc', -- cgit v1.1