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

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

Issue 523025: [Mac] Implement the cookie manager (Closed)
Patch Set: Address all comments Created 10 years, 11 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) 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/browser/options_window.h" 9 #include "chrome/browser/options_window.h"
10 #include "chrome/common/pref_member.h" 10 #include "chrome/common/pref_member.h"
11 11
12 @class CookiesWindowController;
12 @class CustomHomePagesModel; 13 @class CustomHomePagesModel;
13 @class FontLanguageSettingsController; 14 @class FontLanguageSettingsController;
14 class PrefObserverBridge; 15 class PrefObserverBridge;
15 class PrefService; 16 class PrefService;
16 class Profile; 17 class Profile;
17 class ProfileSyncService; 18 class ProfileSyncService;
18 @class SearchEngineListModel; 19 @class SearchEngineListModel;
19 20
20 // A window controller that handles the preferences window. The bulk of the 21 // A window controller that handles the preferences window. The bulk of the
21 // work is handled via Cocoa Bindings and getter/setter methods that wrap 22 // work is handled via Cocoa Bindings and getter/setter methods that wrap
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 122
122 // User Data panel 123 // User Data panel
123 - (IBAction)showSavedPasswords:(id)sender; 124 - (IBAction)showSavedPasswords:(id)sender;
124 - (IBAction)importData:(id)sender; 125 - (IBAction)importData:(id)sender;
125 - (IBAction)clearData:(id)sender; 126 - (IBAction)clearData:(id)sender;
126 - (IBAction)resetThemeToDefault:(id)sender; 127 - (IBAction)resetThemeToDefault:(id)sender;
127 - (IBAction)themesGallery:(id)sender; 128 - (IBAction)themesGallery:(id)sender;
128 - (IBAction)doSyncAction:(id)sender; 129 - (IBAction)doSyncAction:(id)sender;
129 130
130 // Under the hood 131 // Under the hood
132 - (IBAction)showCookies:(id)sender;
131 - (IBAction)browseDownloadLocation:(id)sender; 133 - (IBAction)browseDownloadLocation:(id)sender;
132 - (IBAction)privacyLearnMore:(id)sender; 134 - (IBAction)privacyLearnMore:(id)sender;
133 - (IBAction)changeFontAndLanguageSettings:(id)sender; 135 - (IBAction)changeFontAndLanguageSettings:(id)sender;
134 136
135 // When a toolbar button is clicked 137 // When a toolbar button is clicked
136 - (IBAction)toolbarButtonSelected:(id)sender; 138 - (IBAction)toolbarButtonSelected:(id)sender;
137 139
138 // Usable from cocoa bindings to hook up the custom home pages table. 140 // Usable from cocoa bindings to hook up the custom home pages table.
139 @property(readonly) CustomHomePagesModel* customPagesSource; 141 @property(readonly) CustomHomePagesModel* customPagesSource;
140 142
(...skipping 18 matching lines...) Expand all
159 // Returns the (normalized) page corresponding to the given toolbar item. 161 // Returns the (normalized) page corresponding to the given toolbar item.
160 // Should be called only after awakeFromNib is. 162 // Should be called only after awakeFromNib is.
161 - (OptionsPage)getPageForToolbarItem:(NSToolbarItem*)toolbarItem; 163 - (OptionsPage)getPageForToolbarItem:(NSToolbarItem*)toolbarItem;
162 164
163 // Returns the view corresponding to the given page. Should be called 165 // Returns the view corresponding to the given page. Should be called
164 // only after awakeFromNib is. 166 // only after awakeFromNib is.
165 - (NSView*)getPrefsViewForPage:(OptionsPage)page; 167 - (NSView*)getPrefsViewForPage:(OptionsPage)page;
166 168
167 @end 169 @end
168 170
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/cookies_window_controller_unittest.mm ('k') | chrome/browser/cocoa/preferences_window_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698