Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(399)

Side by Side Diff: chrome/browser/gtk/first_run_dialog.cc

Issue 182037: Delete first run dialog on Linux when done. (Closed)
Patch Set: Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698