| 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/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; | |
| 14 class PrefObserverBridge; | 13 class PrefObserverBridge; |
| 15 } | 14 } |
| 16 | 15 |
| 17 @class CustomHomePagesModel; | 16 @class CustomHomePagesModel; |
| 18 @class FontLanguageSettingsController; | 17 @class FontLanguageSettingsController; |
| 19 class PrefService; | 18 class PrefService; |
| 20 class Profile; | 19 class Profile; |
| 21 class ProfileSyncService; | 20 class ProfileSyncService; |
| 22 @class SearchEngineListModel; | 21 @class SearchEngineListModel; |
| 23 | 22 |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 StringPrefMember homepage_; | 77 StringPrefMember homepage_; |
| 79 BooleanPrefMember showHomeButton_; | 78 BooleanPrefMember showHomeButton_; |
| 80 BooleanPrefMember showPageOptionButtons_; | 79 BooleanPrefMember showPageOptionButtons_; |
| 81 scoped_nsobject<SearchEngineListModel> searchEngineModel_; | 80 scoped_nsobject<SearchEngineListModel> searchEngineModel_; |
| 82 // Used when creating a new home page url to make the new cell editable. | 81 // Used when creating a new home page url to make the new cell editable. |
| 83 BOOL pendingSelectForEdit_; | 82 BOOL pendingSelectForEdit_; |
| 84 | 83 |
| 85 // User Data panel | 84 // User Data panel |
| 86 BooleanPrefMember askSavePasswords_; | 85 BooleanPrefMember askSavePasswords_; |
| 87 BooleanPrefMember formAutofill_; | 86 BooleanPrefMember formAutofill_; |
| 88 // Manages PersonalDataManager loading. | |
| 89 scoped_ptr<PreferencesWindowControllerInternal::PersonalDataManagerObserver> | |
| 90 personalDataManagerObserver_; | |
| 91 IBOutlet NSButton* autoFillSettingsButton_; | 87 IBOutlet NSButton* autoFillSettingsButton_; |
| 92 IBOutlet NSButton* syncButton_; | 88 IBOutlet NSButton* syncButton_; |
| 93 IBOutlet NSButton* syncCustomizeButton_; | 89 IBOutlet NSButton* syncCustomizeButton_; |
| 94 IBOutlet NSTextField* syncStatus_; | 90 IBOutlet NSTextField* syncStatus_; |
| 95 IBOutlet NSButton* syncLink_; | 91 IBOutlet NSButton* syncLink_; |
| 96 scoped_nsobject<NSColor> syncStatusNoErrorBackgroundColor_; | 92 scoped_nsobject<NSColor> syncStatusNoErrorBackgroundColor_; |
| 97 scoped_nsobject<NSColor> syncLinkNoErrorBackgroundColor_; | 93 scoped_nsobject<NSColor> syncLinkNoErrorBackgroundColor_; |
| 98 scoped_nsobject<NSColor> syncErrorBackgroundColor_; | 94 scoped_nsobject<NSColor> syncErrorBackgroundColor_; |
| 99 | 95 |
| 100 // Under the hood panel | 96 // Under the hood panel |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 // Returns the (normalized) page corresponding to the given toolbar item. | 177 // Returns the (normalized) page corresponding to the given toolbar item. |
| 182 // Should be called only after awakeFromNib is. | 178 // Should be called only after awakeFromNib is. |
| 183 - (OptionsPage)getPageForToolbarItem:(NSToolbarItem*)toolbarItem; | 179 - (OptionsPage)getPageForToolbarItem:(NSToolbarItem*)toolbarItem; |
| 184 | 180 |
| 185 // Returns the view corresponding to the given page. Should be called | 181 // Returns the view corresponding to the given page. Should be called |
| 186 // only after awakeFromNib is. | 182 // only after awakeFromNib is. |
| 187 - (NSView*)getPrefsViewForPage:(OptionsPage)page; | 183 - (NSView*)getPrefsViewForPage:(OptionsPage)page; |
| 188 | 184 |
| 189 @end | 185 @end |
| 190 | 186 |
| OLD | NEW |