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

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

Issue 278004: Disable "Reset to Default Theme" button in Google Chrome Options / Personal S... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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 #import <Cocoa/Cocoa.h> 5 #import <Cocoa/Cocoa.h>
6 6
7 #include "base/scoped_ptr.h" 7 #include "base/scoped_ptr.h"
8 #include "base/scoped_nsobject.h" 8 #include "base/scoped_nsobject.h"
9 #include "chrome/common/pref_member.h" 9 #include "chrome/common/pref_member.h"
10 10
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 IBOutlet NSScrollView* advancedScroller_; 64 IBOutlet NSScrollView* advancedScroller_;
65 BooleanPrefMember alternateErrorPages_; 65 BooleanPrefMember alternateErrorPages_;
66 BooleanPrefMember useSuggest_; 66 BooleanPrefMember useSuggest_;
67 BooleanPrefMember dnsPrefetch_; 67 BooleanPrefMember dnsPrefetch_;
68 BooleanPrefMember safeBrowsing_; 68 BooleanPrefMember safeBrowsing_;
69 BooleanPrefMember metricsRecording_; 69 BooleanPrefMember metricsRecording_;
70 IntegerPrefMember cookieBehavior_; 70 IntegerPrefMember cookieBehavior_;
71 IBOutlet NSPathControl* downloadLocationControl_; 71 IBOutlet NSPathControl* downloadLocationControl_;
72 StringPrefMember defaultDownloadLocation_; 72 StringPrefMember defaultDownloadLocation_;
73 BooleanPrefMember askForSaveLocation_; 73 BooleanPrefMember askForSaveLocation_;
74 StringPrefMember currentTheme_;
74 } 75 }
75 76
76 // Designated initializer. |profile| should not be NULL. 77 // Designated initializer. |profile| should not be NULL.
77 - (id)initWithProfile:(Profile*)profile; 78 - (id)initWithProfile:(Profile*)profile;
78 79
79 // Show the preferences window. 80 // Show the preferences window.
80 - (void)showPreferences:(id)sender; 81 - (void)showPreferences:(id)sender;
81 82
82 // IBAction methods for responding to user actions. 83 // IBAction methods for responding to user actions.
83 84
(...skipping 18 matching lines...) Expand all
102 // When a toolbar button is clicked 103 // When a toolbar button is clicked
103 - (IBAction)toolbarButtonSelected:(id)sender; 104 - (IBAction)toolbarButtonSelected:(id)sender;
104 105
105 // Usable from cocoa bindings to hook up the custom home pages table. 106 // Usable from cocoa bindings to hook up the custom home pages table.
106 @property(readonly) CustomHomePagesModel* customPagesSource; 107 @property(readonly) CustomHomePagesModel* customPagesSource;
107 108
108 // NSNotification sent when the prefs window is closed. 109 // NSNotification sent when the prefs window is closed.
109 extern NSString* const kUserDoneEditingPrefsNotification; 110 extern NSString* const kUserDoneEditingPrefsNotification;
110 111
111 @end 112 @end
OLDNEW
« no previous file with comments | « chrome/browser/browser_theme_provider.cc ('k') | chrome/browser/cocoa/preferences_window_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698