diff options
author | pinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-29 14:30:38 +0000 |
---|---|---|
committer | pinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-29 14:30:38 +0000 |
commit | 93e18176c674291dc8f6cf6dfdc2d9b7227f561c (patch) | |
tree | 366da45470e2fa32cd4a91a6fbf7d955eec29192 /chrome/browser/cocoa/throbber_view.h | |
parent | 2946da155c393685c6cc3f7fe5e28d347bf6642d (diff) | |
download | chromium_src-93e18176c674291dc8f6cf6dfdc2d9b7227f561c.zip chromium_src-93e18176c674291dc8f6cf6dfdc2d9b7227f561c.tar.gz chromium_src-93e18176c674291dc8f6cf6dfdc2d9b7227f561c.tar.bz2 |
Implement Clear Browser Data for Mac as an app modal dialog. Uses the profile of the given window or the default profile if run with no windows open. Add a setter to the throbber so it can be used in a nib file.
BUG=none
TEST=clear browser functionality (note that clearing passwords doesn't work) and checkbox persistance.
Review URL: http://codereview.chromium.org/112065
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17186 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/throbber_view.h')
-rw-r--r-- | chrome/browser/cocoa/throbber_view.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/throbber_view.h b/chrome/browser/cocoa/throbber_view.h index 00f83ed..e0b06ba 100644 --- a/chrome/browser/cocoa/throbber_view.h +++ b/chrome/browser/cocoa/throbber_view.h @@ -32,6 +32,10 @@ // the width. Takes ownership of |image|. - (id)initWithFrame:(NSRect)frame image:(NSImage*)image; +// Allows changing the image once the view has been created, such as when the +// view is loaded from a nib. The same restrictions as above apply. +- (void)setImage:(NSImage*)image; + @end #endif // CHROME_BROWSER_COCOA_THROBBER_VIEW_H_ |