OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_THROBBER_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_TABS_THROBBER_VIEW_H_ |
6 #define CHROME_BROWSER_UI_COCOA_THROBBER_VIEW_H_ | 6 #define CHROME_BROWSER_UI_COCOA_TABS_THROBBER_VIEW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #import <Cocoa/Cocoa.h> | 9 #import <Cocoa/Cocoa.h> |
10 | 10 |
11 #include "base/scoped_nsobject.h" | 11 #include "base/scoped_nsobject.h" |
12 | 12 |
13 @protocol ThrobberDataDelegate; | 13 @protocol ThrobberDataDelegate; |
14 | 14 |
15 // A class that knows how to draw an animated state to indicate progress. | 15 // A class that knows how to draw an animated state to indicate progress. |
16 // Creating the class starts the animation, destroying it stops it. There are | 16 // Creating the class starts the animation, destroying it stops it. There are |
(...skipping 15 matching lines...) Expand all Loading... |
32 + (id)filmstripThrobberViewWithFrame:(NSRect)frame | 32 + (id)filmstripThrobberViewWithFrame:(NSRect)frame |
33 image:(NSImage*)image; | 33 image:(NSImage*)image; |
34 | 34 |
35 // Creates a toast view with |frame| and specified images. | 35 // Creates a toast view with |frame| and specified images. |
36 + (id)toastThrobberViewWithFrame:(NSRect)frame | 36 + (id)toastThrobberViewWithFrame:(NSRect)frame |
37 beforeImage:(NSImage*)beforeImage | 37 beforeImage:(NSImage*)beforeImage |
38 afterImage:(NSImage*)afterImage; | 38 afterImage:(NSImage*)afterImage; |
39 | 39 |
40 @end | 40 @end |
41 | 41 |
42 #endif // CHROME_BROWSER_UI_COCOA_THROBBER_VIEW_H_ | 42 #endif // CHROME_BROWSER_UI_COCOA_TABS_THROBBER_VIEW_H_ |
OLD | NEW |