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

Side by Side Diff: chrome/browser/chrome_browser_main_gtk.cc

Issue 7903019: Revert DidEndMainMessageLoop changes from my earlier checkin since they caused issues on Mac. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/browser_process_impl.cc ('k') | chrome/browser/chrome_browser_main_mac.h » ('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) 2011 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/chrome_browser_main_gtk.h" 5 #include "chrome/browser/chrome_browser_main_gtk.h"
6 6
7 #include <gtk/gtk.h> 7 #include <gtk/gtk.h>
8 #include <sys/stat.h> 8 #include <sys/stat.h>
9 #include <sys/types.h> 9 #include <sys/types.h>
10 #include <unistd.h> 10 #include <unistd.h>
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 119
120 message = l10n_util::GetStringUTF8(IDS_PRODUCT_NAME); 120 message = l10n_util::GetStringUTF8(IDS_PRODUCT_NAME);
121 gtk_window_set_title(GTK_WINDOW(dialog), message.c_str()); 121 gtk_window_set_title(GTK_WINDOW(dialog), message.c_str());
122 122
123 gtk_dialog_run(GTK_DIALOG(dialog)); 123 gtk_dialog_run(GTK_DIALOG(dialog));
124 gtk_widget_destroy(dialog); 124 gtk_widget_destroy(dialog);
125 exit(EXIT_FAILURE); 125 exit(EXIT_FAILURE);
126 } 126 }
127 } 127 }
128 128
129 namespace content {
130
131 void DidEndMainMessageLoop() {
132 }
133
134 }
135
129 void RecordBreakpadStatusUMA(MetricsService* metrics) { 136 void RecordBreakpadStatusUMA(MetricsService* metrics) {
130 #if defined(USE_LINUX_BREAKPAD) 137 #if defined(USE_LINUX_BREAKPAD)
131 metrics->RecordBreakpadRegistration(IsCrashReporterEnabled()); 138 metrics->RecordBreakpadRegistration(IsCrashReporterEnabled());
132 #else 139 #else
133 metrics->RecordBreakpadRegistration(false); 140 metrics->RecordBreakpadRegistration(false);
134 #endif 141 #endif
135 metrics->RecordBreakpadHasDebugger(base::debug::BeingDebugged()); 142 metrics->RecordBreakpadHasDebugger(base::debug::BeingDebugged());
136 } 143 }
137 144
138 void WarnAboutMinimumSystemRequirements() { 145 void WarnAboutMinimumSystemRequirements() {
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 } 181 }
175 182
176 void PrepareRestartOnCrashEnviroment(const CommandLine &parsed_command_line) { 183 void PrepareRestartOnCrashEnviroment(const CommandLine &parsed_command_line) {
177 } 184 }
178 185
179 void SetBrowserX11ErrorHandlers() { 186 void SetBrowserX11ErrorHandlers() {
180 // Set up error handlers to make sure profile gets written if X server 187 // Set up error handlers to make sure profile gets written if X server
181 // goes away. 188 // goes away.
182 ui::SetX11ErrorHandlers(BrowserX11ErrorHandler, BrowserX11IOErrorHandler); 189 ui::SetX11ErrorHandlers(BrowserX11ErrorHandler, BrowserX11IOErrorHandler);
183 } 190 }
OLDNEW
« no previous file with comments | « chrome/browser/browser_process_impl.cc ('k') | chrome/browser/chrome_browser_main_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698