OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |