From e8c45c7a2f1c130337578f562da0c1116916e987 Mon Sep 17 00:00:00 2001 From: "mark@chromium.org" Date: Thu, 19 Nov 2009 22:50:13 +0000 Subject: Merge r32541 from trunk to 249 branch. [Mac] Rename a poorly named class. BUG=http://crbug.com/28261 TEST=None Review URL: http://codereview.chromium.org/402088 TBR=rohitrao@chromium.org Review URL: http://codereview.chromium.org/402102 git-svn-id: svn://svn.chromium.org/chrome/branches/249/src@32562 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/cocoa/animatable_view.mm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'chrome/browser/cocoa') diff --git a/chrome/browser/cocoa/animatable_view.mm b/chrome/browser/cocoa/animatable_view.mm index bf5da1d..0ca0f2e 100644 --- a/chrome/browser/cocoa/animatable_view.mm +++ b/chrome/browser/cocoa/animatable_view.mm @@ -10,7 +10,7 @@ // NSAnimation subclass that animates the height of an AnimatableView. Allows // the caller to start and cancel the animation as desired. -@interface NSHeightAnimation : NSAnimation { +@interface HeightAnimation : NSAnimation { @private AnimatableView* view_; // weak, owns us. CGFloat startHeight_; @@ -24,7 +24,7 @@ duration:(NSTimeInterval)duration; @end -@implementation NSHeightAnimation +@implementation HeightAnimation - (id)initWithView:(AnimatableView*)view finalHeight:(CGFloat)height duration:(NSTimeInterval)duration { @@ -73,9 +73,9 @@ duration:(NSTimeInterval)duration { [currentAnimation_ stopAnimation]; - currentAnimation_.reset([[NSHeightAnimation alloc] initWithView:self - finalHeight:newHeight - duration:duration]); + currentAnimation_.reset([[HeightAnimation alloc] initWithView:self + finalHeight:newHeight + duration:duration]); if ([resizeDelegate_ respondsToSelector:@selector(setAnimationInProgress:)]) [resizeDelegate_ setAnimationInProgress:YES]; [currentAnimation_ startAnimation]; -- cgit v1.1