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 #include "chrome/browser/gtk/first_run_dialog.h" | 5 #include "chrome/browser/gtk/first_run_dialog.h" |
6 | 6 |
7 #include "app/l10n_util.h" | 7 #include "app/l10n_util.h" |
8 #include "app/resource_bundle.h" | 8 #include "app/resource_bundle.h" |
9 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
10 #include "base/utf_string_conversions.h" | 10 #include "base/utf_string_conversions.h" |
11 #include "chrome/browser/gtk/gtk_chrome_link_button.h" | 11 #include "chrome/browser/gtk/gtk_chrome_link_button.h" |
12 #include "chrome/browser/gtk/gtk_util.h" | 12 #include "chrome/browser/gtk/gtk_util.h" |
13 #include "chrome/browser/importer/importer_data_types.h" | 13 #include "chrome/common/importer_data_types.h" |
14 #include "chrome/browser/platform_util.h" | 14 #include "chrome/browser/platform_util.h" |
15 #include "chrome/browser/process_singleton.h" | 15 #include "chrome/browser/process_singleton.h" |
16 #include "chrome/browser/shell_integration.h" | 16 #include "chrome/browser/shell_integration.h" |
17 #include "chrome/installer/util/google_update_settings.h" | 17 #include "chrome/installer/util/google_update_settings.h" |
18 #include "grit/chromium_strings.h" | 18 #include "grit/chromium_strings.h" |
19 #include "grit/generated_resources.h" | 19 #include "grit/generated_resources.h" |
20 #include "grit/locale_settings.h" | 20 #include "grit/locale_settings.h" |
21 | 21 |
22 #if defined(USE_LINUX_BREAKPAD) | 22 #if defined(USE_LINUX_BREAKPAD) |
23 #include "chrome/app/breakpad_linux.h" | 23 #include "chrome/app/breakpad_linux.h" |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 | 190 |
191 void FirstRunDialog::FirstRunDone() { | 191 void FirstRunDialog::FirstRunDone() { |
192 // Set preference to show first run bubble and welcome page. | 192 // Set preference to show first run bubble and welcome page. |
193 FirstRun::SetShowFirstRunBubblePref(); | 193 FirstRun::SetShowFirstRunBubblePref(); |
194 FirstRun::SetShowWelcomePagePref(); | 194 FirstRun::SetShowWelcomePagePref(); |
195 | 195 |
196 gtk_widget_destroy(dialog_); | 196 gtk_widget_destroy(dialog_); |
197 MessageLoop::current()->Quit(); | 197 MessageLoop::current()->Quit(); |
198 delete this; | 198 delete this; |
199 } | 199 } |
OLD | NEW |