OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_TABS_THROBBING_IMAGE_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_TABS_THROBBING_IMAGE_VIEW_H_ |
6 #define CHROME_BROWSER_UI_COCOA_TABS_THROBBING_IMAGE_VIEW_H_ | 6 #define CHROME_BROWSER_UI_COCOA_TABS_THROBBING_IMAGE_VIEW_H_ |
7 | 7 |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 | 9 |
10 #include "base/memory/scoped_nsobject.h" | 10 #include "base/memory/scoped_nsobject.h" |
(...skipping 10 matching lines...) Expand all Loading... |
21 | 21 |
22 @private | 22 @private |
23 scoped_ptr<ThrobbingImageViewAnimationDelegate> delegate_; | 23 scoped_ptr<ThrobbingImageViewAnimationDelegate> delegate_; |
24 } | 24 } |
25 | 25 |
26 - (id)initWithFrame:(NSRect)rect | 26 - (id)initWithFrame:(NSRect)rect |
27 backgroundImage:(NSImage*)backgroundImage | 27 backgroundImage:(NSImage*)backgroundImage |
28 throbImage:(NSImage*)throbImage | 28 throbImage:(NSImage*)throbImage |
29 durationMS:(int)durationMS; | 29 durationMS:(int)durationMS; |
30 | 30 |
31 - (void)setTweenType:(ui::Tween::Type)type; | |
32 | |
33 @end | 31 @end |
34 | 32 |
35 #endif // CHROME_BROWSER_UI_COCOA_TABS_THROBBING_IMAGE_VIEW_H_ | 33 #endif // CHROME_BROWSER_UI_COCOA_TABS_THROBBING_IMAGE_VIEW_H_ |
OLD | NEW |