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

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

Issue 112065: Implement Clear Browser Data for Mac as an app modal dialog. Uses the profile... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 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) 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_COCOA_THROBBER_VIEW_H_ 5 #ifndef CHROME_BROWSER_COCOA_THROBBER_VIEW_H_
6 #define CHROME_BROWSER_COCOA_THROBBER_VIEW_H_ 6 #define CHROME_BROWSER_COCOA_THROBBER_VIEW_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include "base/scoped_nsobject.h" 10 #include "base/scoped_nsobject.h"
(...skipping 14 matching lines...) Expand all
25 unsigned int numFrames_; // Number of frames in this animation. 25 unsigned int numFrames_; // Number of frames in this animation.
26 unsigned int animationFrame_; // Current frame of the animation, 26 unsigned int animationFrame_; // Current frame of the animation,
27 // [0..numFrames_) 27 // [0..numFrames_)
28 } 28 }
29 29
30 // Creates the view with |frame| and the image strip desginated by |image|. The 30 // Creates the view with |frame| and the image strip desginated by |image|. The
31 // image needs to be made of squares such that the height divides evently into 31 // image needs to be made of squares such that the height divides evently into
32 // the width. Takes ownership of |image|. 32 // the width. Takes ownership of |image|.
33 - (id)initWithFrame:(NSRect)frame image:(NSImage*)image; 33 - (id)initWithFrame:(NSRect)frame image:(NSImage*)image;
34 34
35 // Allows changing the image once the view has been created, such as when the
36 // view is loaded from a nib. The same restrictions as above apply.
37 - (void)setImage:(NSImage*)image;
38
35 @end 39 @end
36 40
37 #endif // CHROME_BROWSER_COCOA_THROBBER_VIEW_H_ 41 #endif // CHROME_BROWSER_COCOA_THROBBER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698