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 #ifndef CHROME_BROWSER_COCOA_SYNC_CUSTOMIZE_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_COCOA_SYNC_CUSTOMIZE_CONTROLLER_H_ |
6 #define CHROME_BROWSER_COCOA_SYNC_CUSTOMIZE_CONTROLLER_H_ | 6 #define CHROME_BROWSER_COCOA_SYNC_CUSTOMIZE_CONTROLLER_H_ |
7 | 7 |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 | 9 |
10 #include "base/cocoa_protocols_mac.h" | 10 #include "base/cocoa_protocols_mac.h" |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 // Run as a sheet modal to the given window. | 45 // Run as a sheet modal to the given window. |
46 - (void)runAsModalSheet:(NSWindow*)parentWindow; | 46 - (void)runAsModalSheet:(NSWindow*)parentWindow; |
47 | 47 |
48 // End the sheet without saving the new preferred data types. | 48 // End the sheet without saving the new preferred data types. |
49 - (IBAction)endSheetWithCancel:(id)sender; | 49 - (IBAction)endSheetWithCancel:(id)sender; |
50 | 50 |
51 // Save the new preferred data types and end the sheet. | 51 // Save the new preferred data types and end the sheet. |
52 - (IBAction)endSheetWithOK:(id)sender; | 52 - (IBAction)endSheetWithOK:(id)sender; |
53 | 53 |
54 // Properties for bindings. | 54 // Properties for bindings. |
55 @property(assign) BOOL bookmarksRegistered; | 55 @property (nonatomic, assign) BOOL bookmarksRegistered; |
56 @property(assign) BOOL preferencesRegistered; | 56 @property (nonatomic, assign) BOOL preferencesRegistered; |
57 @property(assign) BOOL autofillRegistered; | 57 @property (nonatomic, assign) BOOL autofillRegistered; |
58 @property(assign) BOOL themesRegistered; | 58 @property (nonatomic, assign) BOOL themesRegistered; |
59 @property(assign) BOOL extensionsRegistered; | 59 @property (nonatomic, assign) BOOL extensionsRegistered; |
60 | 60 |
61 @property(assign) BOOL bookmarksPreferred; | 61 @property (nonatomic, assign) BOOL bookmarksPreferred; |
62 @property(assign) BOOL preferencesPreferred; | 62 @property (nonatomic, assign) BOOL preferencesPreferred; |
63 @property(assign) BOOL autofillPreferred; | 63 @property (nonatomic, assign) BOOL autofillPreferred; |
64 @property(assign) BOOL themesPreferred; | 64 @property (nonatomic, assign) BOOL themesPreferred; |
65 @property(assign) BOOL extensionsPreferred; | 65 @property (nonatomic, assign) BOOL extensionsPreferred; |
66 | 66 |
67 @property(readonly) BOOL okEnabled; | 67 @property (nonatomic, readonly) BOOL okEnabled; |
68 | 68 |
69 @end | 69 @end |
70 | 70 |
71 #endif // CHROME_BROWSER_COCOA_SYNC_CUSTOMIZE_CONTROLLER_H_ | 71 #endif // CHROME_BROWSER_COCOA_SYNC_CUSTOMIZE_CONTROLLER_H_ |
OLD | NEW |