diff options
author | rohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-21 16:23:40 +0000 |
---|---|---|
committer | rohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-21 16:23:40 +0000 |
commit | 534c59086c951a0687fce53c2a8de49a2100867e (patch) | |
tree | 22db8743b0b3726e6451822fcdd9c10950193b48 /chrome/browser/autocomplete/autocomplete_edit_view_mac.h | |
parent | 7edcd61631c5c8a9c55945eded3a5bc48cc3e350 (diff) | |
download | chromium_src-534c59086c951a0687fce53c2a8de49a2100867e.zip chromium_src-534c59086c951a0687fce53c2a8de49a2100867e.tar.gz chromium_src-534c59086c951a0687fce53c2a8de49a2100867e.tar.bz2 |
[Mac] Omnibox keyword, keyword hint, and search hint support.
BUG=http://crbug.com/10944
BUG=http://crbug.com/10943
BUG=http://crbug.com/12285
TEST=With empty field, should see "Type to search" in light text on
the RHS of the omnibox. Type "google" and should see "Press [Tab] to
search Google" in light text on the RHS. Hit TAB, should see a
rounded [Search Google:] item on the left and the cursor is now right
of that. Popup should show "Keyword:" in some entries.
Patch by shess@chromium.org.
Review URL: http://codereview.chromium.org/173194
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23964 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autocomplete/autocomplete_edit_view_mac.h')
-rw-r--r-- | chrome/browser/autocomplete/autocomplete_edit_view_mac.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_edit_view_mac.h b/chrome/browser/autocomplete/autocomplete_edit_view_mac.h index b82ec01..b648e7a 100644 --- a/chrome/browser/autocomplete/autocomplete_edit_view_mac.h +++ b/chrome/browser/autocomplete/autocomplete_edit_view_mac.h @@ -112,6 +112,9 @@ class AutocompleteEditViewMac : public AutocompleteEditView { void AcceptInput(WindowOpenDisposition disposition, bool for_drop); + // Forwards to |model_| when user hits Tab. + void AcceptKeyword(); + // Helper for LocationBarViewMac. Selects all in |field_|. void FocusLocation(); |