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 19 matching lines...) Expand all Loading... |
30 @private | 30 @private |
31 scoped_ptr<ThrobbingImageViewAnimationDelegate> delegate_; | 31 scoped_ptr<ThrobbingImageViewAnimationDelegate> delegate_; |
32 ThrobPosition throbPosition_; | 32 ThrobPosition throbPosition_; |
33 } | 33 } |
34 | 34 |
35 - (id)initWithFrame:(NSRect)rect | 35 - (id)initWithFrame:(NSRect)rect |
36 backgroundImage:(NSImage*)backgroundImage | 36 backgroundImage:(NSImage*)backgroundImage |
37 throbImage:(NSImage*)throbImage | 37 throbImage:(NSImage*)throbImage |
38 durationMS:(int)durationMS | 38 durationMS:(int)durationMS |
39 throbPosition:(ThrobPosition)throbPosition; | 39 throbPosition:(ThrobPosition)throbPosition; |
40 | |
41 - (void)setTweenType:(ui::Tween::Type)type; | |
42 | |
43 @end | 40 @end |
44 | 41 |
45 #endif // CHROME_BROWSER_UI_COCOA_TABS_THROBBING_IMAGE_VIEW_H_ | 42 #endif // CHROME_BROWSER_UI_COCOA_TABS_THROBBING_IMAGE_VIEW_H_ |
OLD | NEW |