summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/view_resizer.h
diff options
context:
space:
mode:
authorrohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-03 23:55:55 +0000
committerrohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-03 23:55:55 +0000
commitfc701bfe7df9de83bfbf5c93f23b455a47ba6bd8 (patch)
tree74a4fba00d45604b03d26378db27259a7b8a6ebc /chrome/browser/cocoa/view_resizer.h
parent5e36967c2b96745b13f3bc8d9ca56f62d888ae1d (diff)
downloadchromium_src-fc701bfe7df9de83bfbf5c93f23b455a47ba6bd8.zip
chromium_src-fc701bfe7df9de83bfbf5c93f23b455a47ba6bd8.tar.gz
chromium_src-fc701bfe7df9de83bfbf5c93f23b455a47ba6bd8.tar.bz2
[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
Diffstat (limited to 'chrome/browser/cocoa/view_resizer.h')
-rw-r--r--chrome/browser/cocoa/view_resizer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/cocoa/view_resizer.h b/chrome/browser/cocoa/view_resizer.h
index 199b60f..091222d 100644
--- a/chrome/browser/cocoa/view_resizer.h
+++ b/chrome/browser/cocoa/view_resizer.h
@@ -14,7 +14,7 @@
// than resizing it directly, it sends a message to its parent asking the parent
// to perform the resize. This allows the parent to do any re-layout that may
// become necessary due to the resize.
-@protocol ViewResizer
+@protocol ViewResizer <NSObject>
- (void)resizeView:(NSView*)view newHeight:(float)height;
@end