diff options
author | suzhe@chromium.org <suzhe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-30 20:45:32 +0000 |
---|---|---|
committer | suzhe@chromium.org <suzhe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-30 20:45:32 +0000 |
commit | 7cd363601dfdaad7d3c9a36f4a4085e5e039fa05 (patch) | |
tree | 9fd4c27c057573c6de4c359d74914e4b96426bb4 /chrome/browser/cocoa/autocomplete_text_field.h | |
parent | ed0047bec1d0de1f668daf6a35af62f4d377b399 (diff) | |
download | chromium_src-7cd363601dfdaad7d3c9a36f4a4085e5e039fa05.zip chromium_src-7cd363601dfdaad7d3c9a36f4a4085e5e039fa05.tar.gz chromium_src-7cd363601dfdaad7d3c9a36f4a4085e5e039fa05.tar.bz2 |
[Mac]Fix issue 34343: "Tab to search" hint on omnibox disappears on drag dropped tab.
This CL is just a clone of http://codereview.chromium.org/1519005. As I just rebuilt my working environment.
BUG=34343
TEST=Input www.google.com to trigger "tab to search" hint, then drag the tab into a new window, then check if "tab to search" hint is still there.
Review URL: http://codereview.chromium.org/1523016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46112 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/autocomplete_text_field.h')
-rw-r--r-- | chrome/browser/cocoa/autocomplete_text_field.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/autocomplete_text_field.h b/chrome/browser/cocoa/autocomplete_text_field.h index 8e16705..f07289c 100644 --- a/chrome/browser/cocoa/autocomplete_text_field.h +++ b/chrome/browser/cocoa/autocomplete_text_field.h @@ -78,6 +78,12 @@ class AutocompleteTextFieldObserver { // clearly relevent to expose here. But consider pulling more of // the AutocompleteEditViewMac calls up to here. virtual bool OnDoCommandBySelector(SEL cmd) = 0; + + // Called whenever the autocomplete text field gets focused. + virtual void OnSetFocus(bool control_down) = 0; + + // Called whenever the autocomplete text field is losing focus. + virtual void OnKillFocus() = 0; }; @interface AutocompleteTextField : StyledTextField<NSTextViewDelegate, |