summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_window.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/browser_window.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/browser_window.h')
-rw-r--r--chrome/browser/browser_window.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/browser_window.h b/chrome/browser/browser_window.h
index f417166..ccbbf32 100644
--- a/chrome/browser/browser_window.h
+++ b/chrome/browser/browser_window.h
@@ -263,6 +263,11 @@ class BrowserWindow {
// keyboard event if one exists, otherwise -1.
virtual int GetCommandId(const NativeWebKeyboardEvent& event) = 0;
+#if defined(TOOLKIT_VIEWS)
+ // Toggles compact navigation bar.
+ virtual void ToggleCompactNavigationBar() = 0;
+#endif
+
// Construct a BrowserWindow implementation for the specified |browser|.
static BrowserWindow* CreateBrowserWindow(Browser* browser);