diff options
Diffstat (limited to 'chrome/browser/cocoa/preferences_window_controller.h')
-rw-r--r-- | chrome/browser/cocoa/preferences_window_controller.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/chrome/browser/cocoa/preferences_window_controller.h b/chrome/browser/cocoa/preferences_window_controller.h index 8cfd9e8..5d2f6f8 100644 --- a/chrome/browser/cocoa/preferences_window_controller.h +++ b/chrome/browser/cocoa/preferences_window_controller.h @@ -129,6 +129,8 @@ class ProfileSyncService; IBOutlet NSButton* enableLoggingCheckbox_; scoped_ptr<PrefSetObserver> proxyPrefs_; BOOL proxiesConfigureButtonEnabled_; + BOOL restoreButtonsEnabled_; + BOOL restoreURLsEnabled_; } // Designated initializer. |profile| should not be NULL. @@ -140,6 +142,9 @@ class ProfileSyncService; // Switch to the given preference page. - (void)switchToPage:(OptionsPage)page animate:(BOOL)animate; +// Enables or disables the restoreOnStartup elements +- (void) setEnabledStateOfRestoreOnStartup; + // IBAction methods for responding to user actions. // Basics panel @@ -179,7 +184,8 @@ class ProfileSyncService; @property (assign, nonatomic) BOOL showHomeButtonEnabled; @property (assign, nonatomic) BOOL autoFillSettingsButtonEnabled; @property (assign, nonatomic) BOOL proxiesConfigureButtonEnabled; - +@property (assign, nonatomic) BOOL restoreButtonsEnabled; +@property (assign, nonatomic) BOOL restoreURLsEnabled; @end @interface PreferencesWindowController(Testing) |