summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorrohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-19 21:01:35 +0000
committerrohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-19 21:01:35 +0000
commit59a1f0d4af403e56c9681fc945e58b712d3cd1c8 (patch)
treeefafc26f962de8b12b039daaeb88c37cf1d95bcb /chrome
parente8559e55970d8233a0a41973a29df4edc3b78f37 (diff)
downloadchromium_src-59a1f0d4af403e56c9681fc945e58b712d3cd1c8.zip
chromium_src-59a1f0d4af403e56c9681fc945e58b712d3cd1c8.tar.gz
chromium_src-59a1f0d4af403e56c9681fc945e58b712d3cd1c8.tar.bz2
[Mac] Rename a poorly named class.
BUG=http://crbug.com/28261 TEST=None Review URL: http://codereview.chromium.org/402088 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32541 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/cocoa/animatable_view.mm10
1 files changed, 5 insertions, 5 deletions
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];