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_VIEWS_FIRST_RUN_CUSTOMIZE_VIEW_H_ | 5 #ifndef CHROME_BROWSER_VIEWS_FIRST_RUN_CUSTOMIZE_VIEW_H_ |
6 #define CHROME_BROWSER_VIEWS_FIRST_RUN_CUSTOMIZE_VIEW_H_ | 6 #define CHROME_BROWSER_VIEWS_FIRST_RUN_CUSTOMIZE_VIEW_H_ |
7 | 7 |
8 #include "app/combobox_model.h" | 8 #include "app/combobox_model.h" |
9 #include "chrome/browser/views/first_run_view_base.h" | 9 #include "chrome/browser/views/first_run_view_base.h" |
10 #include "views/controls/button/button.h" | 10 #include "views/controls/button/button.h" |
(...skipping 25 matching lines...) Expand all Loading... |
36 virtual void CustomizeCanceled() = 0; | 36 virtual void CustomizeCanceled() = 0; |
37 }; | 37 }; |
38 | 38 |
39 FirstRunCustomizeView(Profile* profile, | 39 FirstRunCustomizeView(Profile* profile, |
40 ImporterHost* importer_host, | 40 ImporterHost* importer_host, |
41 CustomizeViewObserver* observer, | 41 CustomizeViewObserver* observer, |
42 bool default_browser_checked, | 42 bool default_browser_checked, |
43 bool homepage_defined, | 43 bool homepage_defined, |
44 int import_items, | 44 int import_items, |
45 int dont_import_items, | 45 int dont_import_items, |
| 46 bool randomize_search_engine_experiment, |
46 bool search_engine_experiment); | 47 bool search_engine_experiment); |
47 virtual ~FirstRunCustomizeView(); | 48 virtual ~FirstRunCustomizeView(); |
48 | 49 |
49 // Overridden from views::View. | 50 // Overridden from views::View. |
50 virtual gfx::Size GetPreferredSize(); | 51 virtual gfx::Size GetPreferredSize(); |
51 virtual void Layout(); | 52 virtual void Layout(); |
52 | 53 |
53 // Overridden from views::DialogDelegate. | 54 // Overridden from views::DialogDelegate. |
54 virtual bool Accept(); | 55 virtual bool Accept(); |
55 virtual bool Cancel(); | 56 virtual bool Cancel(); |
(...skipping 25 matching lines...) Expand all Loading... |
81 views::Label* shortcuts_label_; | 82 views::Label* shortcuts_label_; |
82 views::Checkbox* desktop_shortcut_cbox_; | 83 views::Checkbox* desktop_shortcut_cbox_; |
83 views::Checkbox* quick_shortcut_cbox_; | 84 views::Checkbox* quick_shortcut_cbox_; |
84 | 85 |
85 CustomizeViewObserver* customize_observer_; | 86 CustomizeViewObserver* customize_observer_; |
86 | 87 |
87 DISALLOW_COPY_AND_ASSIGN(FirstRunCustomizeView); | 88 DISALLOW_COPY_AND_ASSIGN(FirstRunCustomizeView); |
88 }; | 89 }; |
89 | 90 |
90 #endif // CHROME_BROWSER_VIEWS_FIRST_RUN_CUSTOMIZE_VIEW_H_ | 91 #endif // CHROME_BROWSER_VIEWS_FIRST_RUN_CUSTOMIZE_VIEW_H_ |
OLD | NEW |