diff options
author | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-18 22:56:47 +0000 |
---|---|---|
committer | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-18 22:56:47 +0000 |
commit | e38baf689097b646f0200f9698d8b91f6e1daf92 (patch) | |
tree | 1b05d6647c4a20fd6fb6339a61b72f162174aae3 /chrome/browser/cocoa/toolbar_controller.h | |
parent | db343035f369d9da377762f784fc3a7ddabaecf6 (diff) | |
download | chromium_src-e38baf689097b646f0200f9698d8b91f6e1daf92.zip chromium_src-e38baf689097b646f0200f9698d8b91f6e1daf92.tar.gz chromium_src-e38baf689097b646f0200f9698d8b91f6e1daf92.tar.bz2 |
Mac: animate NTP detached bookmark bar <-> normal bookmark bar.
Also mostly fix the placement of the "For quick access, place your bookmarks here [...]" message (when there are no bookmarks). It's not quite right in the new animation (detached <-> normal).
BUG=25600, 27692, 27693
TEST=Go to NTP and press Cmd-Shift-B a few times while watching closely. The detached bar should "morph" smoothly to the normal bar and vice versa. Switch themes and repeat; please test at least the default theme and the Brushed theme.
Review URL: http://codereview.chromium.org/400020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32425 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/toolbar_controller.h')
-rw-r--r-- | chrome/browser/cocoa/toolbar_controller.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/chrome/browser/cocoa/toolbar_controller.h b/chrome/browser/cocoa/toolbar_controller.h index f46e264..a78ae47 100644 --- a/chrome/browser/cocoa/toolbar_controller.h +++ b/chrome/browser/cocoa/toolbar_controller.h @@ -31,7 +31,6 @@ class PrefObserverBridge; class Profile; class TabContents; class ToolbarModel; -class ToolbarView; // A controller for the toolbar in the browser window. Manages // updating the state for location bar and back/fwd/reload/go buttons. @@ -139,9 +138,9 @@ class ToolbarView; // bookmark bar is attached. - (void)setHeightCompression:(CGFloat)compressByHeight; -// Display (or not) the divider (line at bottom); needed when the bookmark bar -// is attached. -- (void)setShowsDivider:(BOOL)showDivider; +// Set the opacity of the divider (the line at the bottom) *if* we have a +// |ToolbarView| (0 means don't show it); no-op otherwise. +- (void)setDividerOpacity:(CGFloat)opacity; @end |