OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef CHROME_BROWSER_UI_COCOA_SPRITE_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_SPRITE_VIEW_H_ |
6 #define CHROME_BROWSER_UI_COCOA_SPRITE_VIEW_H_ | 6 #define CHROME_BROWSER_UI_COCOA_SPRITE_VIEW_H_ |
7 | 7 |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 | 9 |
10 #include "base/mac/scoped_nsobject.h" | 10 #include "base/mac/scoped_nsobject.h" |
(...skipping 14 matching lines...) Expand all Loading... |
25 // will be no animation. | 25 // will be no animation. |
26 - (void)setImage:(NSImage*)image; | 26 - (void)setImage:(NSImage*)image; |
27 | 27 |
28 // Same as above, with a toast animation to transition to the new image. | 28 // Same as above, with a toast animation to transition to the new image. |
29 // The old image will animate to the bottom, and then the new image will | 29 // The old image will animate to the bottom, and then the new image will |
30 // animate back up to position. | 30 // animate back up to position. |
31 - (void)setImage:(NSImage*)image withToastAnimation:(BOOL)animate; | 31 - (void)setImage:(NSImage*)image withToastAnimation:(BOOL)animate; |
32 | 32 |
33 @end | 33 @end |
34 | 34 |
35 #endif // CHROME_BROWSER_UI_COCOA_TABS_THROBBER_VIEW_H_ | 35 #endif // CHROME_BROWSER_UI_COCOA_SPRITE_VIEW_H_ |
OLD | NEW |