| 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 scoped_nsobject<CustomHomePagesModel> customPagesSource_; | 85 scoped_nsobject<CustomHomePagesModel> customPagesSource_; |
| 86 BooleanPrefMember newTabPageIsHomePage_; | 86 BooleanPrefMember newTabPageIsHomePage_; |
| 87 StringPrefMember homepage_; | 87 StringPrefMember homepage_; |
| 88 BooleanPrefMember showHomeButton_; | 88 BooleanPrefMember showHomeButton_; |
| 89 scoped_nsobject<SearchEngineListModel> searchEngineModel_; | 89 scoped_nsobject<SearchEngineListModel> searchEngineModel_; |
| 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 BooleanPrefMember formAutofill_; | |
| 96 IBOutlet NSButton* autoFillSettingsButton_; | 95 IBOutlet NSButton* autoFillSettingsButton_; |
| 97 IBOutlet NSButton* syncButton_; | 96 IBOutlet NSButton* syncButton_; |
| 98 IBOutlet NSButton* syncCustomizeButton_; | 97 IBOutlet NSButton* syncCustomizeButton_; |
| 99 IBOutlet NSTextField* syncStatus_; | 98 IBOutlet NSTextField* syncStatus_; |
| 100 IBOutlet NSButton* syncLink_; | 99 IBOutlet NSButton* syncLink_; |
| 101 scoped_nsobject<NSColor> syncStatusNoErrorBackgroundColor_; | 100 scoped_nsobject<NSColor> syncStatusNoErrorBackgroundColor_; |
| 102 scoped_nsobject<NSColor> syncLinkNoErrorBackgroundColor_; | 101 scoped_nsobject<NSColor> syncLinkNoErrorBackgroundColor_; |
| 103 scoped_nsobject<NSColor> syncErrorBackgroundColor_; | 102 scoped_nsobject<NSColor> syncErrorBackgroundColor_; |
| 104 | 103 |
| 105 // Under the hood panel | 104 // Under the hood panel |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 // Returns the (normalized) page corresponding to the given toolbar item. | 190 // Returns the (normalized) page corresponding to the given toolbar item. |
| 192 // Should be called only after awakeFromNib is. | 191 // Should be called only after awakeFromNib is. |
| 193 - (OptionsPage)getPageForToolbarItem:(NSToolbarItem*)toolbarItem; | 192 - (OptionsPage)getPageForToolbarItem:(NSToolbarItem*)toolbarItem; |
| 194 | 193 |
| 195 // Returns the view corresponding to the given page. Should be called | 194 // Returns the view corresponding to the given page. Should be called |
| 196 // only after awakeFromNib is. | 195 // only after awakeFromNib is. |
| 197 - (NSView*)getPrefsViewForPage:(OptionsPage)page; | 196 - (NSView*)getPrefsViewForPage:(OptionsPage)page; |
| 198 | 197 |
| 199 @end | 198 @end |
| 200 | 199 |
| OLD | NEW |