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

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

Issue 1902003: Revert 46424 - AutoFill profile shouldn't be saved when cancelled during init... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 7 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/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"
11 11
12 namespace PreferencesWindowControllerInternal { 12 namespace PreferencesWindowControllerInternal {
13 class PersonalDataManagerObserver;
13 class PrefObserverBridge; 14 class PrefObserverBridge;
14 } 15 }
15 16
16 @class CustomHomePagesModel; 17 @class CustomHomePagesModel;
17 @class FontLanguageSettingsController; 18 @class FontLanguageSettingsController;
18 class PrefService; 19 class PrefService;
19 class Profile; 20 class Profile;
20 class ProfileSyncService; 21 class ProfileSyncService;
21 @class SearchEngineListModel; 22 @class SearchEngineListModel;
22 23
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 StringPrefMember homepage_; 78 StringPrefMember homepage_;
78 BooleanPrefMember showHomeButton_; 79 BooleanPrefMember showHomeButton_;
79 BooleanPrefMember showPageOptionButtons_; 80 BooleanPrefMember showPageOptionButtons_;
80 scoped_nsobject<SearchEngineListModel> searchEngineModel_; 81 scoped_nsobject<SearchEngineListModel> searchEngineModel_;
81 // Used when creating a new home page url to make the new cell editable. 82 // Used when creating a new home page url to make the new cell editable.
82 BOOL pendingSelectForEdit_; 83 BOOL pendingSelectForEdit_;
83 84
84 // User Data panel 85 // User Data panel
85 BooleanPrefMember askSavePasswords_; 86 BooleanPrefMember askSavePasswords_;
86 BooleanPrefMember formAutofill_; 87 BooleanPrefMember formAutofill_;
88 // Manages PersonalDataManager loading.
89 scoped_ptr<PreferencesWindowControllerInternal::PersonalDataManagerObserver>
90 personalDataManagerObserver_;
87 IBOutlet NSButton* autoFillSettingsButton_; 91 IBOutlet NSButton* autoFillSettingsButton_;
88 IBOutlet NSButton* syncButton_; 92 IBOutlet NSButton* syncButton_;
89 IBOutlet NSButton* syncCustomizeButton_; 93 IBOutlet NSButton* syncCustomizeButton_;
90 IBOutlet NSTextField* syncStatus_; 94 IBOutlet NSTextField* syncStatus_;
91 IBOutlet NSButton* syncLink_; 95 IBOutlet NSButton* syncLink_;
92 scoped_nsobject<NSColor> syncStatusNoErrorBackgroundColor_; 96 scoped_nsobject<NSColor> syncStatusNoErrorBackgroundColor_;
93 scoped_nsobject<NSColor> syncLinkNoErrorBackgroundColor_; 97 scoped_nsobject<NSColor> syncLinkNoErrorBackgroundColor_;
94 scoped_nsobject<NSColor> syncErrorBackgroundColor_; 98 scoped_nsobject<NSColor> syncErrorBackgroundColor_;
95 99
96 // Under the hood panel 100 // Under the hood panel
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 // Returns the (normalized) page corresponding to the given toolbar item. 181 // Returns the (normalized) page corresponding to the given toolbar item.
178 // Should be called only after awakeFromNib is. 182 // Should be called only after awakeFromNib is.
179 - (OptionsPage)getPageForToolbarItem:(NSToolbarItem*)toolbarItem; 183 - (OptionsPage)getPageForToolbarItem:(NSToolbarItem*)toolbarItem;
180 184
181 // Returns the view corresponding to the given page. Should be called 185 // Returns the view corresponding to the given page. Should be called
182 // only after awakeFromNib is. 186 // only after awakeFromNib is.
183 - (NSView*)getPrefsViewForPage:(OptionsPage)page; 187 - (NSView*)getPrefsViewForPage:(OptionsPage)page;
184 188
185 @end 189 @end
186 190
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/browser_test_helper.h ('k') | chrome/browser/cocoa/preferences_window_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698