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

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

Issue 8302016: Make GTK and Aura parts orthogonal to OS parts (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 9 years, 2 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
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.h" 5 #include "chrome/browser/chrome_browser_main.h"
6 6
7 #include "base/debug/debugger.h" 7 #include "base/debug/debugger.h"
8 #include "chrome/browser/ui/browser_list.h" 8 #include "chrome/browser/ui/browser_list.h"
9 #include "chrome/browser/metrics/metrics_service.h" 9 #include "chrome/browser/metrics/metrics_service.h"
10 #include "content/browser/browser_thread.h" 10 #include "content/browser/browser_thread.h"
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 void RecordBrowserStartupTime() { 79 void RecordBrowserStartupTime() {
80 // Not implemented on X11 for now. 80 // Not implemented on X11 for now.
81 } 81 }
82 82
83 // From browser_main_win.h, stubs until we figure out the right thing... 83 // From browser_main_win.h, stubs until we figure out the right thing...
84 84
85 int DoUninstallTasks(bool chrome_still_running) { 85 int DoUninstallTasks(bool chrome_still_running) {
86 return content::RESULT_CODE_NORMAL_EXIT; 86 return content::RESULT_CODE_NORMAL_EXIT;
87 } 87 }
88 88
89 int HandleIconsCommands(const CommandLine &parsed_command_line) {
90 return 0;
91 }
92
93 bool CheckMachineLevelInstall() {
94 return false;
95 }
96
97 void PrepareRestartOnCrashEnviroment(const CommandLine &parsed_command_line) {
98 }
99
100 void SetBrowserX11ErrorHandlers() { 89 void SetBrowserX11ErrorHandlers() {
101 // Set up error handlers to make sure profile gets written if X server 90 // Set up error handlers to make sure profile gets written if X server
102 // goes away. 91 // goes away.
103 ui::SetX11ErrorHandlers(BrowserX11ErrorHandler, BrowserX11IOErrorHandler); 92 ui::SetX11ErrorHandlers(BrowserX11ErrorHandler, BrowserX11IOErrorHandler);
104 } 93 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698