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

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

Issue 8302016: Make GTK and Aura parts orthogonal to OS parts (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "chrome/browser/chrome_browser_main_linux.h"
6
7 #if defined(USE_AURA)
8 #include "chrome/browser/chrome_browser_main_aura.h"
9 #endif
10 #if defined(TOOLKIT_USES_GTK)
11 #include "chrome/browser/chrome_browser_main_gtk.h"
12 #endif
13
14 ChromeBrowserMainPartsLinux::ChromeBrowserMainPartsLinux(
15 const MainFunctionParams& parameters)
16 : ChromeBrowserMainPartsPosix(parameters) {
17 }
18
19 void ChromeBrowserMainPartsLinux::ShowMissingLocaleMessageBox() {
20 #if defined(USE_AURA)
21 ChromeBrowserPartsAura::ShowMessageBox(
22 chrome_browser::kMissingLocaleDataMessage);
23 #elif defined(TOOLKIT_USES_GTK)
24 ChromeBrowserPartsGtk::ShowMessageBox(
25 chrome_browser::kMissingLocaleDataMessage);
26 #else
27 #error "Need MessageBox implementation for linux without Aura or Gtk"
28 #endif
29 }
30
31 int ChromeBrowserMainPartsLinux::HandleIconsCommands() {
32 return 0;
33 }
34
35 bool ChromeBrowserMainPartsLinux::CheckMachineLevelInstall() {
36 return false;
37 }
38
39 void ChromeBrowserMainPartsLinux::PrepareRestartOnCrashEnviroment() {
40 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698