| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 <string> | 7 #include <string> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "app/l10n_util.h" | 10 #include "app/l10n_util.h" |
| 11 #include "app/resource_bundle.h" | 11 #include "app/resource_bundle.h" |
| (...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 417 } | 417 } |
| 418 | 418 |
| 419 void FirstRunDialog::FirstRunDone() { | 419 void FirstRunDialog::FirstRunDone() { |
| 420 FirstRun::SetShowWelcomePagePref(); | 420 FirstRun::SetShowWelcomePagePref(); |
| 421 | 421 |
| 422 if (dialog_) | 422 if (dialog_) |
| 423 gtk_widget_destroy(dialog_); | 423 gtk_widget_destroy(dialog_); |
| 424 MessageLoop::current()->Quit(); | 424 MessageLoop::current()->Quit(); |
| 425 delete this; | 425 delete this; |
| 426 } | 426 } |
| OLD | NEW |