summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/preferences_window_controller.h
diff options
context:
space:
mode:
authoravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-03 19:13:17 +0000
committeravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-03 19:13:17 +0000
commit2df7c5b5a9c31cdcf2623de4c996170d2af28b98 (patch)
tree6b7394dcad468eb6008d07ed6069de69af682d29 /chrome/browser/cocoa/preferences_window_controller.h
parente65c7713f650bd2bb3f5a8c94e96f33ade2c3812 (diff)
downloadchromium_src-2df7c5b5a9c31cdcf2623de4c996170d2af28b98.zip
chromium_src-2df7c5b5a9c31cdcf2623de4c996170d2af28b98.tar.gz
chromium_src-2df7c5b5a9c31cdcf2623de4c996170d2af28b98.tar.bz2
Get rid of non-functional elements from the themes prefs; add switcher.
BUG=http://crbug.com/18094 TEST=try the theme picker and enjoy! Review URL: http://codereview.chromium.org/159727 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22296 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/preferences_window_controller.h')
-rw-r--r--chrome/browser/cocoa/preferences_window_controller.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/browser/cocoa/preferences_window_controller.h b/chrome/browser/cocoa/preferences_window_controller.h
index f7512fb..d671344 100644
--- a/chrome/browser/cocoa/preferences_window_controller.h
+++ b/chrome/browser/cocoa/preferences_window_controller.h
@@ -48,6 +48,8 @@ class Profile;
// User Data panel
BooleanPrefMember askSavePasswords_;
BooleanPrefMember formAutofill_;
+ scoped_nsobject<NSMutableArray> themeIds_;
+ int themeMenuOffset_;
// Under the hood panel
IBOutlet NSView* advancedView_;
@@ -78,7 +80,8 @@ class Profile;
- (IBAction)showSavedPasswords:(id)sender;
- (IBAction)importData:(id)sender;
- (IBAction)clearData:(id)sender;
-- (IBAction)resetTheme:(id)sender;
+- (NSArray*)availableThemes;
+@property int currentTheme;
- (IBAction)themesGallery:(id)sender;
// Usable from cocoa bindings to hook up the custom home pages table.