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

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

Issue 9838033: Upstream native crash handling changes for Android. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Revert of Revert with fixes. Created 8 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/crash_handler_host_linuxish_stub.cc ('k') | chrome/chrome_browser.gypi » ('j') | 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/ui/gtk/first_run_dialog.h" 5 #include "chrome/browser/ui/gtk/first_run_dialog.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/i18n/rtl.h" 10 #include "base/i18n/rtl.h"
(...skipping 11 matching lines...) Expand all
22 #include "grit/chromium_strings.h" 22 #include "grit/chromium_strings.h"
23 #include "grit/generated_resources.h" 23 #include "grit/generated_resources.h"
24 #include "grit/locale_settings.h" 24 #include "grit/locale_settings.h"
25 #include "grit/theme_resources.h" 25 #include "grit/theme_resources.h"
26 #include "ui/base/gtk/gtk_floating_container.h" 26 #include "ui/base/gtk/gtk_floating_container.h"
27 #include "ui/base/gtk/gtk_hig_constants.h" 27 #include "ui/base/gtk/gtk_hig_constants.h"
28 #include "ui/base/l10n/l10n_util.h" 28 #include "ui/base/l10n/l10n_util.h"
29 #include "ui/base/resource/resource_bundle.h" 29 #include "ui/base/resource/resource_bundle.h"
30 30
31 #if defined(USE_LINUX_BREAKPAD) 31 #if defined(USE_LINUX_BREAKPAD)
32 #include "chrome/app/breakpad_linux.h" 32 #include "chrome/app/breakpad_linuxish.h"
33 #endif 33 #endif
34 34
35 #if defined(GOOGLE_CHROME_BUILD) 35 #if defined(GOOGLE_CHROME_BUILD)
36 #include "chrome/browser/browser_process.h" 36 #include "chrome/browser/browser_process.h"
37 #include "chrome/browser/prefs/pref_service.h" 37 #include "chrome/browser/prefs/pref_service.h"
38 #endif 38 #endif
39 39
40 namespace { 40 namespace {
41 41
42 // Set the (x, y) coordinates of the welcome message (which floats on top of 42 // Set the (x, y) coordinates of the welcome message (which floats on top of
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 } 207 }
208 208
209 void FirstRunDialog::FirstRunDone() { 209 void FirstRunDialog::FirstRunDone() {
210 first_run::SetShowWelcomePagePref(); 210 first_run::SetShowWelcomePagePref();
211 211
212 if (dialog_) 212 if (dialog_)
213 gtk_widget_destroy(dialog_); 213 gtk_widget_destroy(dialog_);
214 MessageLoop::current()->Quit(); 214 MessageLoop::current()->Quit();
215 delete this; 215 delete this;
216 } 216 }
OLDNEW
« no previous file with comments | « chrome/browser/crash_handler_host_linuxish_stub.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698