Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(519)

Side by Side Diff: chrome/browser/ui/cocoa/animatable_image.mm

Issue 107933006: Get rid of ui_cocoa_third_party_toolkits target from ui.gyp (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: mark review Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #import "chrome/browser/ui/cocoa/animatable_image.h" 5 #import "chrome/browser/ui/cocoa/animatable_image.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #import "third_party/GTM/AppKit/GTMNSAnimation+Duration.h" 8 #import "third_party/google_toolbox_for_mac/src/AppKit/GTMNSAnimation+Duration.h "
9 9
10 @implementation AnimatableImage 10 @implementation AnimatableImage
11 11
12 @synthesize startFrame = startFrame_; 12 @synthesize startFrame = startFrame_;
13 @synthesize endFrame = endFrame_; 13 @synthesize endFrame = endFrame_;
14 @synthesize startOpacity = startOpacity_; 14 @synthesize startOpacity = startOpacity_;
15 @synthesize endOpacity = endOpacity_; 15 @synthesize endOpacity = endOpacity_;
16 @synthesize duration = duration_; 16 @synthesize duration = duration_;
17 17
18 - (id)initWithImage:(NSImage*)image 18 - (id)initWithImage:(NSImage*)image
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 [CATransaction commit]; 121 [CATransaction commit];
122 } 122 }
123 123
124 // CAAnimation delegate method called when the animation is complete. 124 // CAAnimation delegate method called when the animation is complete.
125 - (void)animationDidStop:(CAAnimation*)animation finished:(BOOL)flag { 125 - (void)animationDidStop:(CAAnimation*)animation finished:(BOOL)flag {
126 // Close the window, releasing self. 126 // Close the window, releasing self.
127 [self close]; 127 [self close];
128 } 128 }
129 129
130 @end 130 @end
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/about_ipc_controller.h ('k') | chrome/browser/ui/cocoa/animatable_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698