| Index: chrome/browser/ui/cocoa/options/preferences_window_controller.h
|
| diff --git a/chrome/browser/ui/cocoa/options/preferences_window_controller.h b/chrome/browser/ui/cocoa/options/preferences_window_controller.h
|
| index eed4af693c90aa9a8327a7a210c6bdb1a07780d3..494ac79e9935422bc13664973ca6784a2ad3832b 100644
|
| --- a/chrome/browser/ui/cocoa/options/preferences_window_controller.h
|
| +++ b/chrome/browser/ui/cocoa/options/preferences_window_controller.h
|
| @@ -145,6 +145,25 @@ class ProfileSyncService;
|
| BOOL proxiesConfigureButtonEnabled_;
|
| }
|
|
|
| +// Usable from cocoa bindings to hook up the custom home pages table.
|
| +@property(nonatomic, readonly) CustomHomePagesModel* customPagesSource;
|
| +
|
| +// Properties for the enabled state of various UI elements. Keep these ordered
|
| +// by occurrence on the dialog.
|
| +@property(nonatomic) BOOL restoreButtonsEnabled;
|
| +@property(nonatomic) BOOL restoreURLsEnabled;
|
| +@property(nonatomic) BOOL showHomeButtonEnabled;
|
| +@property(nonatomic) BOOL defaultSearchEngineEnabled;
|
| +@property(nonatomic) BOOL passwordManagerChoiceEnabled;
|
| +@property(nonatomic) BOOL passwordManagerButtonEnabled;
|
| +@property(nonatomic) BOOL autoFillSettingsButtonEnabled;
|
| +@property(nonatomic) BOOL showAlternateErrorPagesEnabled;
|
| +@property(nonatomic) BOOL useSuggestEnabled;
|
| +@property(nonatomic) BOOL dnsPrefetchEnabled;
|
| +@property(nonatomic) BOOL safeBrowsingEnabled;
|
| +@property(nonatomic) BOOL metricsReportingEnabled;
|
| +@property(nonatomic) BOOL proxiesConfigureButtonEnabled;
|
| +
|
| // Designated initializer. |profile| should not be NULL.
|
| - (id)initWithProfile:(Profile*)profile initialPage:(OptionsPage)initialPage;
|
|
|
| @@ -193,24 +212,6 @@ class ProfileSyncService;
|
| // When a toolbar button is clicked
|
| - (IBAction)toolbarButtonSelected:(id)sender;
|
|
|
| -// Usable from cocoa bindings to hook up the custom home pages table.
|
| -@property (nonatomic, readonly) CustomHomePagesModel* customPagesSource;
|
| -
|
| -// Properties for the enabled state of various UI elements. Keep these ordered
|
| -// by occurrence on the dialog.
|
| -@property (nonatomic) BOOL restoreButtonsEnabled;
|
| -@property (nonatomic) BOOL restoreURLsEnabled;
|
| -@property (nonatomic) BOOL showHomeButtonEnabled;
|
| -@property (nonatomic) BOOL defaultSearchEngineEnabled;
|
| -@property (nonatomic) BOOL passwordManagerChoiceEnabled;
|
| -@property (nonatomic) BOOL passwordManagerButtonEnabled;
|
| -@property (nonatomic) BOOL autoFillSettingsButtonEnabled;
|
| -@property (nonatomic) BOOL showAlternateErrorPagesEnabled;
|
| -@property (nonatomic) BOOL useSuggestEnabled;
|
| -@property (nonatomic) BOOL dnsPrefetchEnabled;
|
| -@property (nonatomic) BOOL safeBrowsingEnabled;
|
| -@property (nonatomic) BOOL metricsReportingEnabled;
|
| -@property (nonatomic) BOOL proxiesConfigureButtonEnabled;
|
| @end
|
|
|
| @interface PreferencesWindowController(Testing)
|
|
|