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

Side by Side Diff: chrome/browser/ui/cocoa/tabs/throbber_view.h

Issue 17593006: mac: Update clients of scoped_nsobject.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: iwyu, scoped_nsprotocol Created 7 years, 6 months 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_THROBBER_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_TABS_THROBBER_VIEW_H_
6 #define CHROME_BROWSER_UI_COCOA_TABS_THROBBER_VIEW_H_ 6 #define CHROME_BROWSER_UI_COCOA_TABS_THROBBER_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/mac/scoped_nsobject.h"
11 11
12 @protocol ThrobberDataDelegate; 12 @protocol ThrobberDataDelegate;
13 13
14 // A class that knows how to draw an animated state to indicate progress. 14 // A class that knows how to draw an animated state to indicate progress.
15 // Creating the class starts the animation, destroying it stops it. There are 15 // Creating the class starts the animation, destroying it stops it. There are
16 // two types: 16 // two types:
17 // 17 //
18 // - Filmstrip: Draws via a sequence of frames in an image. There is no state 18 // - Filmstrip: Draws via a sequence of frames in an image. There is no state
19 // where the class is frozen on an image and not animating. The image needs to 19 // where the class is frozen on an image and not animating. The image needs to
20 // be made of squares such that the height divides evenly into the width. 20 // be made of squares such that the height divides evenly into the width.
(...skipping 11 matching lines...) Expand all
32 image:(NSImage*)image; 32 image:(NSImage*)image;
33 33
34 // Creates a toast view with |frame| and specified images. 34 // Creates a toast view with |frame| and specified images.
35 + (id)toastThrobberViewWithFrame:(NSRect)frame 35 + (id)toastThrobberViewWithFrame:(NSRect)frame
36 beforeImage:(NSImage*)beforeImage 36 beforeImage:(NSImage*)beforeImage
37 afterImage:(NSImage*)afterImage; 37 afterImage:(NSImage*)afterImage;
38 38
39 @end 39 @end
40 40
41 #endif // CHROME_BROWSER_UI_COCOA_TABS_THROBBER_VIEW_H_ 41 #endif // CHROME_BROWSER_UI_COCOA_TABS_THROBBER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698