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

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

Issue 2769014: Mac/clang: Possibly contentious changes. (Closed)
Patch Set: comments2 Created 10 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/browser/options_window.h" 9 #include "chrome/browser/options_window.h"
10 #include "chrome/browser/pref_member.h" 10 #include "chrome/browser/pref_member.h"
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 - (IBAction)resetAutoOpenFiles:(id)sender; 154 - (IBAction)resetAutoOpenFiles:(id)sender;
155 - (IBAction)changeFontAndLanguageSettings:(id)sender; 155 - (IBAction)changeFontAndLanguageSettings:(id)sender;
156 - (IBAction)openProxyPreferences:(id)sender; 156 - (IBAction)openProxyPreferences:(id)sender;
157 - (IBAction)showCertificates:(id)sender; 157 - (IBAction)showCertificates:(id)sender;
158 - (IBAction)resetToDefaults:(id)sender; 158 - (IBAction)resetToDefaults:(id)sender;
159 159
160 // When a toolbar button is clicked 160 // When a toolbar button is clicked
161 - (IBAction)toolbarButtonSelected:(id)sender; 161 - (IBAction)toolbarButtonSelected:(id)sender;
162 162
163 // Usable from cocoa bindings to hook up the custom home pages table. 163 // Usable from cocoa bindings to hook up the custom home pages table.
164 @property(readonly) CustomHomePagesModel* customPagesSource; 164 @property (nonatomic, readonly) CustomHomePagesModel* customPagesSource;
165 165
166 @end 166 @end
167 167
168 @interface PreferencesWindowController(Testing) 168 @interface PreferencesWindowController(Testing)
169 169
170 - (IntegerPrefMember*)lastSelectedPage; 170 - (IntegerPrefMember*)lastSelectedPage;
171 - (NSToolbar*)toolbar; 171 - (NSToolbar*)toolbar;
172 - (NSView*)basicsView; 172 - (NSView*)basicsView;
173 - (NSView*)personalStuffView; 173 - (NSView*)personalStuffView;
174 - (NSView*)underTheHoodView; 174 - (NSView*)underTheHoodView;
175 175
176 // Converts the given OptionsPage value (which may be OPTIONS_PAGE_DEFAULT) 176 // Converts the given OptionsPage value (which may be OPTIONS_PAGE_DEFAULT)
177 // into a concrete OptionsPage value. 177 // into a concrete OptionsPage value.
178 - (OptionsPage)normalizePage:(OptionsPage)page; 178 - (OptionsPage)normalizePage:(OptionsPage)page;
179 179
180 // Returns the toolbar item corresponding to the given page. Should be 180 // Returns the toolbar item corresponding to the given page. Should be
181 // called only after awakeFromNib is. 181 // called only after awakeFromNib is.
182 - (NSToolbarItem*)getToolbarItemForPage:(OptionsPage)page; 182 - (NSToolbarItem*)getToolbarItemForPage:(OptionsPage)page;
183 183
184 // Returns the (normalized) page corresponding to the given toolbar item. 184 // Returns the (normalized) page corresponding to the given toolbar item.
185 // Should be called only after awakeFromNib is. 185 // Should be called only after awakeFromNib is.
186 - (OptionsPage)getPageForToolbarItem:(NSToolbarItem*)toolbarItem; 186 - (OptionsPage)getPageForToolbarItem:(NSToolbarItem*)toolbarItem;
187 187
188 // Returns the view corresponding to the given page. Should be called 188 // Returns the view corresponding to the given page. Should be called
189 // only after awakeFromNib is. 189 // only after awakeFromNib is.
190 - (NSView*)getPrefsViewForPage:(OptionsPage)page; 190 - (NSView*)getPrefsViewForPage:(OptionsPage)page;
191 191
192 @end 192 @end
193 193
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698