OLD | NEW |
(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_parts_aura.h" |
| 9 #endif |
| 10 #if defined(TOOLKIT_USES_GTK) |
| 11 #include "chrome/browser/chrome_browser_parts_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 } |
OLD | NEW |