[Mac] Enables animations for the infobar. Changes the control flow for...
[Mac] Enables animations for the infobar. Changes the control flow for infobar opening/closing to match Windows more closely. Nib file changes: - Embedded the InfoBarGradientView inside an AnimatableView. - Rebound [controller view] to the AnimatableView and added an infoBarView_ IBOutlet. - Bound the AnimatableView's delegate_ to the InfoBarController. BUG=http://crbug.com/25599 TEST=Infobars should animate in and out, except for during tab switches. Review URL: http://codereview.chromium.org/354008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30893 0039d316-1c4b-4281-b951-d872f2087c98
Showing
- chrome/app/nibs/InfoBar.xib 242 additions, 178 deletionschrome/app/nibs/InfoBar.xib
- chrome/browser/cocoa/infobar_container_controller.h 22 additions, 8 deletionschrome/browser/cocoa/infobar_container_controller.h
- chrome/browser/cocoa/infobar_container_controller.mm 40 additions, 15 deletionschrome/browser/cocoa/infobar_container_controller.mm
- chrome/browser/cocoa/infobar_container_controller_unittest.mm 9 additions, 9 deletions...me/browser/cocoa/infobar_container_controller_unittest.mm
- chrome/browser/cocoa/infobar_controller.h 17 additions, 3 deletionschrome/browser/cocoa/infobar_controller.h
- chrome/browser/cocoa/infobar_controller.mm 83 additions, 16 deletionschrome/browser/cocoa/infobar_controller.mm
- chrome/browser/cocoa/infobar_controller_unittest.mm 44 additions, 0 deletionschrome/browser/cocoa/infobar_controller_unittest.mm
- chrome/browser/cocoa/view_resizer.h 1 addition, 1 deletionchrome/browser/cocoa/view_resizer.h
This diff is collapsed.
Please register or sign in to comment