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 "chrome/app/locales/locale_settings.h" | 7 #include "chrome/app/locales/locale_settings.h" |
8 #include "chrome/app/theme/theme_resources.h" | 8 #include "grit/theme_resources.h" |
9 #include "chrome/browser/importer/importer.h" | 9 #include "chrome/browser/importer/importer.h" |
10 #include "chrome/browser/first_run.h" | 10 #include "chrome/browser/first_run.h" |
11 #include "chrome/browser/metrics/user_metrics.h" | 11 #include "chrome/browser/metrics/user_metrics.h" |
12 #include "chrome/browser/views/first_run_customize_view.h" | 12 #include "chrome/browser/views/first_run_customize_view.h" |
13 #include "chrome/browser/views/standard_layout.h" | 13 #include "chrome/browser/views/standard_layout.h" |
14 #include "chrome/common/l10n_util.h" | 14 #include "chrome/common/l10n_util.h" |
15 #include "chrome/common/resource_bundle.h" | 15 #include "chrome/common/resource_bundle.h" |
16 #include "chrome/views/checkbox.h" | 16 #include "chrome/views/checkbox.h" |
17 #include "chrome/views/image_view.h" | 17 #include "chrome/views/image_view.h" |
18 #include "chrome/views/label.h" | 18 #include "chrome/views/label.h" |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 } |
207 | 207 |
OLD | NEW |