diff options
author | andybons@chromium.org <andybons@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-07 17:57:53 +0000 |
---|---|---|
committer | andybons@chromium.org <andybons@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-07 17:57:53 +0000 |
commit | 14e336a1b5a8ffe8512c63837599b449fa5540ee (patch) | |
tree | a0046049e053a00f3428dc0d7dbb8aacd59c11e7 /chrome/browser/cocoa/browser_window_controller.h | |
parent | 33bd60f508a0eaa7ddfefb497b35c1627a6ff0be (diff) | |
download | chromium_src-14e336a1b5a8ffe8512c63837599b449fa5540ee.zip chromium_src-14e336a1b5a8ffe8512c63837599b449fa5540ee.tar.gz chromium_src-14e336a1b5a8ffe8512c63837599b449fa5540ee.tar.bz2 |
[Mac] Initial implementation of app tabs. Loads the app and displays the correct icon (http://cl.ly/97c1b5e22eb32075d497).
Still to be done:
o there should be a much smaller overlap of app tabs with other tabs.
o The toolbar should hide when necessary.
o The context menu for the tab should have the option of hiding/showing the toolbar on a per-app basis.
TEST=none
BUG=45539
Review URL: http://codereview.chromium.org/2847052
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51737 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/browser_window_controller.h')
-rw-r--r-- | chrome/browser/cocoa/browser_window_controller.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/browser_window_controller.h b/chrome/browser/cocoa/browser_window_controller.h index 3d49356..aaf843a 100644 --- a/chrome/browser/cocoa/browser_window_controller.h +++ b/chrome/browser/cocoa/browser_window_controller.h @@ -122,6 +122,9 @@ class TabStripModelObserverBridge; // Bar visibility locks and releases only result (when appropriate) in changes // in visible state when the following is |YES|. BOOL barVisibilityUpdatesEnabled_; + + // Whether the toolbar is collapsed. Currently used only by extension apps. + BOOL toolbarCollapsed_; } // A convenience class method which gets the |BrowserWindowController| for a @@ -252,6 +255,10 @@ class TabStripModelObserverBridge; // browser. - (void)toggleTabStripDisplayMode; +// Called when the toolbar is to be hidden or shown. Right now this only occurs +// when extension apps don't want the toolbar to be shown. +- (void)setToolbarCollapsedMode:(BOOL)collapsed; + // Called when the Add Search Engine dialog is closed. - (void)sheetDidEnd:(NSWindow*)sheet returnCode:(NSInteger)code |