OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_FIRST_RUN_DIALOG_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_FIRST_RUN_DIALOG_H_ |
6 #define CHROME_BROWSER_FIRST_RUN_DIALOG_H_ | 6 #define CHROME_BROWSER_UI_COCOA_FIRST_RUN_DIALOG_H_ |
7 | 7 |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 | 9 |
10 // Class that acts as a controller for the modal first run dialog. | 10 // Class that acts as a controller for the modal first run dialog. |
11 // The dialog asks the user's explicit permission for reporting stats to help | 11 // The dialog asks the user's explicit permission for reporting stats to help |
12 // us improve Chromium. | 12 // us improve Chromium. |
13 @interface FirstRunDialogController : NSWindowController { | 13 @interface FirstRunDialogController : NSWindowController { |
14 @private | 14 @private |
15 // Bound to the value of the checkbox in FirstRunDialog.xib. | 15 // Bound to the value of the checkbox in FirstRunDialog.xib. |
16 BOOL statsEnabled_; | 16 BOOL statsEnabled_; |
(...skipping 10 matching lines...) Expand all Loading... |
27 | 27 |
28 // Called when the "Learn More" button is pressed. | 28 // Called when the "Learn More" button is pressed. |
29 - (IBAction)learnMore:(id)sender; | 29 - (IBAction)learnMore:(id)sender; |
30 | 30 |
31 // Properties for bindings. | 31 // Properties for bindings. |
32 @property(assign, nonatomic) BOOL statsEnabled; | 32 @property(assign, nonatomic) BOOL statsEnabled; |
33 @property(assign, nonatomic) BOOL makeDefaultBrowser; | 33 @property(assign, nonatomic) BOOL makeDefaultBrowser; |
34 | 34 |
35 @end | 35 @end |
36 | 36 |
37 #endif // CHROME_BROWSER_FIRST_RUN_DIALOG_H_ | 37 #endif // CHROME_BROWSER_UI_COCOA_FIRST_RUN_DIALOG_H_ |
OLD | NEW |