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