Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Side by Side Diff: chrome/browser/cocoa/first_run_dialog.h

Issue 160341: First cut at Firefox import on OSX + stubs for Safari import. (Closed)
Patch Set: Address Stuart's comments. Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_FIRST_RUN_DIALOG_H_
6 #define CHROME_BROWSER_FIRST_RUN_DIALOG_H_ 6 #define CHROME_BROWSER_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 BOOL user_did_cancel_; 14 BOOL user_did_cancel_;
15 BOOL stats_enabled_; 15 BOOL stats_enabled_;
16 BOOL make_default_browser_; 16 BOOL make_default_browser_;
17 BOOL import_bookmarks_; 17 BOOL import_bookmarks_;
18 int browser_import_selected_index_; 18 int browser_import_selected_index_;
19 NSArray* browser_import_list_;
19 } 20 }
20 21
21 // Called when the "Start Google Chrome" button is pressed. 22 // Called when the "Start Google Chrome" button is pressed.
22 - (IBAction)ok:(id)sender; 23 - (IBAction)ok:(id)sender;
23 24
24 // Cancel button calls this. 25 // Cancel button calls this.
25 - (IBAction)cancel:(id)sender; 26 - (IBAction)cancel:(id)sender;
26 27
27 // Called when the "Learn More" button is pressed. 28 // Called when the "Learn More" button is pressed.
28 - (IBAction)learnMore:(id)sender; 29 - (IBAction)learnMore:(id)sender;
29 30
30 // Properties for bindings 31 // Properties for bindings
31 @property(assign) BOOL userDidCancel; 32 @property(assign) BOOL userDidCancel;
32 @property(assign) BOOL statsEnabled; 33 @property(assign) BOOL statsEnabled;
33 @property(assign) BOOL makeDefaultBrowser; 34 @property(assign) BOOL makeDefaultBrowser;
34 @property(assign) BOOL importBookmarks; 35 @property(assign) BOOL importBookmarks;
35 @property(assign) int browserImportSelectedIndex; 36 @property(assign) int browserImportSelectedIndex;
37 @property(retain) NSArray* browserImportList;
36 38
37 @end 39 @end
38 40
39 #endif // CHROME_BROWSER_FIRST_RUN_DIALOG_H_ 41 #endif // CHROME_BROWSER_FIRST_RUN_DIALOG_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698