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 "chrome/app/theme/theme_resources.h" |
9 #include "chrome/browser/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/standard_layout.h" | 11 #include "chrome/browser/standard_layout.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/user_metrics.h" | 13 #include "chrome/browser/user_metrics.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/image_view.h" | 16 #include "chrome/views/image_view.h" |
17 #include "chrome/views/label.h" | 17 #include "chrome/views/label.h" |
18 #include "chrome/views/throbber.h" | 18 #include "chrome/views/throbber.h" |
19 #include "chrome/views/separator.h" | 19 #include "chrome/views/separator.h" |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 // the work is done there we got nothing else to do. | 199 // the work is done there we got nothing else to do. |
200 void FirstRunView::CustomizeAccepted() { | 200 void FirstRunView::CustomizeAccepted() { |
201 window()->Close(); | 201 window()->Close(); |
202 } | 202 } |
203 | 203 |
204 // Notification from the customize dialog that the user cancelled. | 204 // Notification from the customize dialog that the user cancelled. |
205 void FirstRunView::CustomizeCanceled() { | 205 void FirstRunView::CustomizeCanceled() { |
206 UserMetrics::RecordAction(L"FirstRunCustom_Cancel", profile_); | 206 UserMetrics::RecordAction(L"FirstRunCustom_Cancel", profile_); |
207 } | 207 } |
208 | 208 |
OLD | NEW |