OLD | NEW |
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_linux.h" | 5 #include "chrome/browser/chrome_browser_main_linux.h" |
6 | 6 |
7 #if defined(USE_AURA) | 7 #if defined(USE_AURA) |
8 #include "chrome/browser/chrome_browser_parts_aura.h" | 8 #include "chrome/browser/chrome_browser_parts_aura.h" |
9 #endif | 9 #endif |
10 #if defined(TOOLKIT_USES_GTK) | 10 #if defined(TOOLKIT_USES_GTK) |
11 #include "chrome/browser/chrome_browser_parts_gtk.h" | 11 #include "chrome/browser/chrome_browser_parts_gtk.h" |
12 #endif | 12 #endif |
13 | 13 |
14 ChromeBrowserMainPartsLinux::ChromeBrowserMainPartsLinux( | 14 ChromeBrowserMainPartsLinux::ChromeBrowserMainPartsLinux( |
15 const MainFunctionParams& parameters) | 15 const content::MainFunctionParams& parameters) |
16 : ChromeBrowserMainPartsPosix(parameters) { | 16 : ChromeBrowserMainPartsPosix(parameters) { |
17 } | 17 } |
18 | 18 |
19 void ChromeBrowserMainPartsLinux::ShowMissingLocaleMessageBox() { | 19 void ChromeBrowserMainPartsLinux::ShowMissingLocaleMessageBox() { |
20 #if defined(USE_AURA) | 20 #if defined(USE_AURA) |
21 ChromeBrowserPartsAura::ShowMessageBox( | 21 ChromeBrowserPartsAura::ShowMessageBox( |
22 chrome_browser::kMissingLocaleDataMessage); | 22 chrome_browser::kMissingLocaleDataMessage); |
23 #elif defined(TOOLKIT_USES_GTK) | 23 #elif defined(TOOLKIT_USES_GTK) |
24 ChromeBrowserPartsGtk::ShowMessageBox( | 24 ChromeBrowserPartsGtk::ShowMessageBox( |
25 chrome_browser::kMissingLocaleDataMessage); | 25 chrome_browser::kMissingLocaleDataMessage); |
26 #else | 26 #else |
27 #error "Need MessageBox implementation for linux without Aura or Gtk" | 27 #error "Need MessageBox implementation for linux without Aura or Gtk" |
28 #endif | 28 #endif |
29 } | 29 } |
OLD | NEW |