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

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

Issue 17627005: mac: Remove unused includes of scoped_nsobject.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: builds 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/mac/scoped_nsobject.h"
11
12 @protocol ThrobberDataDelegate; 10 @protocol ThrobberDataDelegate;
13 11
14 // A class that knows how to draw an animated state to indicate progress. 12 // 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 13 // Creating the class starts the animation, destroying it stops it. There are
16 // two types: 14 // two types:
17 // 15 //
18 // - Filmstrip: Draws via a sequence of frames in an image. There is no state 16 // - 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 17 // 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. 18 // be made of squares such that the height divides evenly into the width.
21 // 19 //
(...skipping 10 matching lines...) Expand all
32 image:(NSImage*)image; 30 image:(NSImage*)image;
33 31
34 // Creates a toast view with |frame| and specified images. 32 // Creates a toast view with |frame| and specified images.
35 + (id)toastThrobberViewWithFrame:(NSRect)frame 33 + (id)toastThrobberViewWithFrame:(NSRect)frame
36 beforeImage:(NSImage*)beforeImage 34 beforeImage:(NSImage*)beforeImage
37 afterImage:(NSImage*)afterImage; 35 afterImage:(NSImage*)afterImage;
38 36
39 @end 37 @end
40 38
41 #endif // CHROME_BROWSER_UI_COCOA_TABS_THROBBER_VIEW_H_ 39 #endif // CHROME_BROWSER_UI_COCOA_TABS_THROBBER_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/tabs/tab_audio_indicator_view_mac_unittest.mm ('k') | chrome/browser/ui/cocoa/tabs/throbber_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698