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

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

Issue 343050: Based on the rest of the codebase, I think we're supposed to #include chromiu... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 1 month 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 | Annotate | Revision Log
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/browser/gtk/gtk_chrome_link_button.h" 10 #include "chrome/browser/gtk/gtk_chrome_link_button.h"
11 #include "chrome/browser/process_singleton.h" 11 #include "chrome/browser/process_singleton.h"
12 #include "chrome/browser/shell_integration.h" 12 #include "chrome/browser/shell_integration.h"
13 #include "chrome/common/gtk_util.h" 13 #include "chrome/common/gtk_util.h"
14 #include "chrome/common/platform_util.h" 14 #include "chrome/common/platform_util.h"
15 #include "chrome/installer/util/google_update_settings.h" 15 #include "chrome/installer/util/google_update_settings.h"
16 #include "grit/chromium_strings.h"
16 #include "grit/generated_resources.h" 17 #include "grit/generated_resources.h"
17 #include "grit/google_chrome_strings.h"
18 #include "grit/locale_settings.h" 18 #include "grit/locale_settings.h"
19 19
20 #if defined(USE_LINUX_BREAKPAD) 20 #if defined(USE_LINUX_BREAKPAD)
21 #include "chrome/app/breakpad_linux.h" 21 #include "chrome/app/breakpad_linux.h"
22 #endif 22 #endif
23 23
24 // static 24 // static
25 bool FirstRunDialog::Show(Profile* profile, 25 bool FirstRunDialog::Show(Profile* profile,
26 ProcessSingleton* process_singleton) { 26 ProcessSingleton* process_singleton) {
27 int response = -1; 27 int response = -1;
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 186
187 void FirstRunDialog::FirstRunDone() { 187 void FirstRunDialog::FirstRunDone() {
188 // Set preference to show first run bubble and welcome page. 188 // Set preference to show first run bubble and welcome page.
189 FirstRun::SetShowFirstRunBubblePref(); 189 FirstRun::SetShowFirstRunBubblePref();
190 FirstRun::SetShowWelcomePagePref(); 190 FirstRun::SetShowWelcomePagePref();
191 191
192 gtk_widget_destroy(dialog_); 192 gtk_widget_destroy(dialog_);
193 MessageLoop::current()->Quit(); 193 MessageLoop::current()->Quit();
194 delete this; 194 delete this;
195 } 195 }
OLDNEW
« chrome/browser/gtk/browser_window_gtk.cc ('K') | « chrome/browser/gtk/first_run_bubble.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698