diff options
author | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-14 01:01:17 +0000 |
---|---|---|
committer | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-14 01:01:17 +0000 |
commit | 919905ddd11db90bf0b4a03f9b3e79b9c289aa04 (patch) | |
tree | e5586bbcff8540fdb241845f7f7e075fc33ad996 /chrome/browser/browser.h | |
parent | 0207043ab2d23d96a700bcb9bfb9044bd240ae7b (diff) | |
download | chromium_src-919905ddd11db90bf0b4a03f9b3e79b9c289aa04.zip chromium_src-919905ddd11db90bf0b4a03f9b3e79b9c289aa04.tar.gz chromium_src-919905ddd11db90bf0b4a03f9b3e79b9c289aa04.tar.bz2 |
Mac: Animate the bookmark bar showing/hiding.
There's a huge refactoring of the bookmark bar controller in this CL, so that animation-related code is in only a few places (instead of scattered all over the place).
Changes to BookmarkBar.xib: Since BookmarkBarToolbarView now inherits from AnimatableView, I had to hook up its delegate_ member to File's Owner (i.e., the BookmarkBarController).
Not yet implemented: morphing between the detached bar (on the NTP) and anything else.
BUG=25600
TEST=Go to a normal page, show/hide the bookmark bar (Shift-Cmd-B), watch it animate.
Review URL: http://codereview.chromium.org/384105
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31977 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser.h')
-rw-r--r-- | chrome/browser/browser.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/browser.h b/chrome/browser/browser.h index a587aff..243b464 100644 --- a/chrome/browser/browser.h +++ b/chrome/browser/browser.h @@ -712,10 +712,10 @@ class Browser : public TabStripModelDelegate, NotificationRegistrar registrar_; // This Browser's type. - Type type_; + const Type type_; // This Browser's profile. - Profile* profile_; + Profile* const profile_; // This Browser's window. BrowserWindow* window_; |