| OLD | NEW |
| 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 // Used when creating a new home page url to make the new cell editable. | 90 // Used when creating a new home page url to make the new cell editable. |
| 91 BOOL pendingSelectForEdit_; | 91 BOOL pendingSelectForEdit_; |
| 92 | 92 |
| 93 // User Data panel | 93 // User Data panel |
| 94 BooleanPrefMember askSavePasswords_; | 94 BooleanPrefMember askSavePasswords_; |
| 95 IBOutlet NSButton* autoFillSettingsButton_; | 95 IBOutlet NSButton* autoFillSettingsButton_; |
| 96 IBOutlet NSButton* syncButton_; | 96 IBOutlet NSButton* syncButton_; |
| 97 IBOutlet NSButton* syncCustomizeButton_; | 97 IBOutlet NSButton* syncCustomizeButton_; |
| 98 IBOutlet NSTextField* syncStatus_; | 98 IBOutlet NSTextField* syncStatus_; |
| 99 IBOutlet NSButton* syncLink_; | 99 IBOutlet NSButton* syncLink_; |
| 100 IBOutlet NSButton* privacyDashboardLink_; |
| 100 scoped_nsobject<NSColor> syncStatusNoErrorBackgroundColor_; | 101 scoped_nsobject<NSColor> syncStatusNoErrorBackgroundColor_; |
| 101 scoped_nsobject<NSColor> syncLinkNoErrorBackgroundColor_; | 102 scoped_nsobject<NSColor> syncLinkNoErrorBackgroundColor_; |
| 102 scoped_nsobject<NSColor> syncErrorBackgroundColor_; | 103 scoped_nsobject<NSColor> syncErrorBackgroundColor_; |
| 103 | 104 |
| 104 // Under the hood panel | 105 // Under the hood panel |
| 105 IBOutlet NSView* underTheHoodContentView_; | 106 IBOutlet NSView* underTheHoodContentView_; |
| 106 IBOutlet NSScrollView* underTheHoodScroller_; | 107 IBOutlet NSScrollView* underTheHoodScroller_; |
| 107 IBOutlet NSButton* contentSettingsButton_; | 108 IBOutlet NSButton* contentSettingsButton_; |
| 108 IBOutlet NSButton* clearDataButton_; | 109 IBOutlet NSButton* clearDataButton_; |
| 109 BooleanPrefMember alternateErrorPages_; | 110 BooleanPrefMember alternateErrorPages_; |
| (...skipping 29 matching lines...) Expand all Loading... |
| 139 - (IBAction)addHomepage:(id)sender; | 140 - (IBAction)addHomepage:(id)sender; |
| 140 - (IBAction)removeSelectedHomepages:(id)sender; | 141 - (IBAction)removeSelectedHomepages:(id)sender; |
| 141 - (IBAction)useCurrentPagesAsHomepage:(id)sender; | 142 - (IBAction)useCurrentPagesAsHomepage:(id)sender; |
| 142 - (IBAction)manageSearchEngines:(id)sender; | 143 - (IBAction)manageSearchEngines:(id)sender; |
| 143 - (IBAction)makeDefaultBrowser:(id)sender; | 144 - (IBAction)makeDefaultBrowser:(id)sender; |
| 144 | 145 |
| 145 // User Data panel | 146 // User Data panel |
| 146 - (IBAction)doSyncAction:(id)sender; | 147 - (IBAction)doSyncAction:(id)sender; |
| 147 - (IBAction)doSyncCustomize:(id)sender; | 148 - (IBAction)doSyncCustomize:(id)sender; |
| 148 - (IBAction)doSyncReauthentication:(id)sender; | 149 - (IBAction)doSyncReauthentication:(id)sender; |
| 150 - (IBAction)showPrivacyDashboard:(id)sender; |
| 149 - (IBAction)showSavedPasswords:(id)sender; | 151 - (IBAction)showSavedPasswords:(id)sender; |
| 150 - (IBAction)showAutoFillSettings:(id)sender; | 152 - (IBAction)showAutoFillSettings:(id)sender; |
| 151 - (IBAction)importData:(id)sender; | 153 - (IBAction)importData:(id)sender; |
| 152 - (IBAction)resetThemeToDefault:(id)sender; | 154 - (IBAction)resetThemeToDefault:(id)sender; |
| 153 - (IBAction)themesGallery:(id)sender; | 155 - (IBAction)themesGallery:(id)sender; |
| 154 | 156 |
| 155 // Under the hood | 157 // Under the hood |
| 156 - (IBAction)showContentSettings:(id)sender; | 158 - (IBAction)showContentSettings:(id)sender; |
| 157 - (IBAction)clearData:(id)sender; | 159 - (IBAction)clearData:(id)sender; |
| 158 - (IBAction)privacyLearnMore:(id)sender; | 160 - (IBAction)privacyLearnMore:(id)sender; |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 // Returns the (normalized) page corresponding to the given toolbar item. | 192 // Returns the (normalized) page corresponding to the given toolbar item. |
| 191 // Should be called only after awakeFromNib is. | 193 // Should be called only after awakeFromNib is. |
| 192 - (OptionsPage)getPageForToolbarItem:(NSToolbarItem*)toolbarItem; | 194 - (OptionsPage)getPageForToolbarItem:(NSToolbarItem*)toolbarItem; |
| 193 | 195 |
| 194 // Returns the view corresponding to the given page. Should be called | 196 // Returns the view corresponding to the given page. Should be called |
| 195 // only after awakeFromNib is. | 197 // only after awakeFromNib is. |
| 196 - (NSView*)getPrefsViewForPage:(OptionsPage)page; | 198 - (NSView*)getPrefsViewForPage:(OptionsPage)page; |
| 197 | 199 |
| 198 @end | 200 @end |
| 199 | 201 |
| OLD | NEW |