OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 #include "chrome/browser/views/first_run_view.h" | 5 #include "chrome/browser/views/first_run_view.h" |
6 | 6 |
| 7 #include "app/l10n_util.h" |
7 #include "app/resource_bundle.h" | 8 #include "app/resource_bundle.h" |
8 #include "chrome/browser/importer/importer.h" | 9 #include "chrome/browser/importer/importer.h" |
9 #include "chrome/browser/first_run.h" | 10 #include "chrome/browser/first_run.h" |
10 #include "chrome/browser/metrics/user_metrics.h" | 11 #include "chrome/browser/metrics/user_metrics.h" |
11 #include "chrome/browser/views/first_run_customize_view.h" | 12 #include "chrome/browser/views/first_run_customize_view.h" |
12 #include "chrome/browser/views/standard_layout.h" | 13 #include "chrome/browser/views/standard_layout.h" |
13 #include "chrome/common/l10n_util.h" | |
14 #include "chrome/views/controls/button/checkbox.h" | 14 #include "chrome/views/controls/button/checkbox.h" |
15 #include "chrome/views/controls/image_view.h" | 15 #include "chrome/views/controls/image_view.h" |
16 #include "chrome/views/controls/label.h" | 16 #include "chrome/views/controls/label.h" |
17 #include "chrome/views/controls/throbber.h" | 17 #include "chrome/views/controls/throbber.h" |
18 #include "chrome/views/controls/separator.h" | 18 #include "chrome/views/controls/separator.h" |
19 #include "chrome/views/window/window.h" | 19 #include "chrome/views/window/window.h" |
20 #include "grit/chromium_strings.h" | 20 #include "grit/chromium_strings.h" |
21 #include "grit/generated_resources.h" | 21 #include "grit/generated_resources.h" |
22 #include "grit/locale_settings.h" | 22 #include "grit/locale_settings.h" |
23 #include "grit/theme_resources.h" | 23 #include "grit/theme_resources.h" |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 // Notification from the customize dialog that the user accepted. Since all | 197 // Notification from the customize dialog that the user accepted. Since all |
198 // the work is done there we got nothing else to do. | 198 // the work is done there we got nothing else to do. |
199 void FirstRunView::CustomizeAccepted() { | 199 void FirstRunView::CustomizeAccepted() { |
200 window()->Close(); | 200 window()->Close(); |
201 } | 201 } |
202 | 202 |
203 // Notification from the customize dialog that the user cancelled. | 203 // Notification from the customize dialog that the user cancelled. |
204 void FirstRunView::CustomizeCanceled() { | 204 void FirstRunView::CustomizeCanceled() { |
205 UserMetrics::RecordAction(L"FirstRunCustom_Cancel", profile_); | 205 UserMetrics::RecordAction(L"FirstRunCustom_Cancel", profile_); |
206 } | 206 } |
OLD | NEW |