summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autocomplete/autocomplete_edit.h
diff options
context:
space:
mode:
authoroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-26 20:21:05 +0000
committeroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-26 20:21:05 +0000
commit20d1724b21142632ccf78846284bcd6e5c1d527b (patch)
tree39c12f5d8e28750d52cde89bc1bbf6b3d5feb044 /chrome/browser/autocomplete/autocomplete_edit.h
parent42fb820ce022e072314b11aa4d5767d1caaa6b7d (diff)
downloadchromium_src-20d1724b21142632ccf78846284bcd6e5c1d527b.zip
chromium_src-20d1724b21142632ccf78846284bcd6e5c1d527b.tar.gz
chromium_src-20d1724b21142632ccf78846284bcd6e5c1d527b.tar.bz2
CompactNavigationBar for toolkit views build, with some design change per Cole's request.
* Swapped the positions of entry field and navigation buttons. * Hide navigation buttions when the entry field gains focus. - To implement this, I added OnKillFocus in AutocompleteEditController, and updated corresponding files. * Added accelerator (shift-ctrl-0) to toggle compact navigation bar Changes to BrowserExtender * Made all virtual methods in BrowserExtender pure virtual. * Added HideToolbar method to control visibility of toolbar from Extender. Review URL: http://codereview.chromium.org/329009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30082 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autocomplete/autocomplete_edit.h')
-rw-r--r--chrome/browser/autocomplete/autocomplete_edit.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_edit.h b/chrome/browser/autocomplete/autocomplete_edit.h
index 6a8c6d6..741b8a0 100644
--- a/chrome/browser/autocomplete/autocomplete_edit.h
+++ b/chrome/browser/autocomplete/autocomplete_edit.h
@@ -47,6 +47,9 @@ class AutocompleteEditController {
// the edit is guaranteed to be showing the permanent text.
virtual void OnInputInProgress(bool in_progress) = 0;
+ // Called whenever the autocomplete edit is losing focus.
+ virtual void OnKillFocus() = 0;
+
// Called whenever the autocomplete edit gets focused.
virtual void OnSetFocus() = 0;