| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 "chrome/app/breakpad_linux.h" | 10 #include "chrome/app/breakpad_linux.h" |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 FirstRunDone(); | 162 FirstRunDone(); |
| 163 } | 163 } |
| 164 | 164 |
| 165 void FirstRunDialog::FirstRunDone() { | 165 void FirstRunDialog::FirstRunDone() { |
| 166 // Set preference to show first run bubble and welcome page. | 166 // Set preference to show first run bubble and welcome page. |
| 167 FirstRun::SetShowFirstRunBubblePref(); | 167 FirstRun::SetShowFirstRunBubblePref(); |
| 168 FirstRun::SetShowWelcomePagePref(); | 168 FirstRun::SetShowWelcomePagePref(); |
| 169 | 169 |
| 170 gtk_widget_destroy(dialog_); | 170 gtk_widget_destroy(dialog_); |
| 171 MessageLoop::current()->Quit(); | 171 MessageLoop::current()->Quit(); |
| 172 delete this; |
| 172 } | 173 } |
| OLD | NEW |