summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/animatable_view.h
Commit message (Collapse)AuthorAgeFilesLines
* Mac: animate NTP detached bookmark bar <-> normal bookmark bar.viettrungluu@chromium.org2009-11-181-4/+4
| | | | | | | | | | | 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
* Mac: Animate the bookmark bar showing/hiding.viettrungluu@chromium.org2009-11-141-1/+2
| | | | | | | | | | | | | | | 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
* AnimatableView needs to be an NSAnimationDelegate.mark@chromium.org2009-11-041-1/+2
| | | | | | | | BUG=insect TEST=10.6 SDK build Review URL: http://codereview.chromium.org/360014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30974 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] Adds a new view that will allow us to animate the height property of ↵rohitrao@chromium.org2009-11-031-0/+56
views. This class will be the base class for any view that needs to be animated. BUG=None TEST=No visible impact. New unittests should pass. Review URL: http://codereview.chromium.org/350002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30852 0039d316-1c4b-4281-b951-d872f2087c98