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

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

Issue 9839028: Make chrome/browser/chrome_browser_main_linux.* Linux-only. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: rebase Created 8 years, 9 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
« no previous file with comments | « chrome/browser/chrome_browser_main_linux.h ('k') | chrome/browser/chrome_browser_main_mac.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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)
8 #include "chrome/browser/chrome_browser_main_extra_parts_gtk.h"
9 #endif
10
11 ChromeBrowserMainPartsLinux::ChromeBrowserMainPartsLinux( 7 ChromeBrowserMainPartsLinux::ChromeBrowserMainPartsLinux(
12 const content::MainFunctionParams& parameters) 8 const content::MainFunctionParams& parameters)
13 : ChromeBrowserMainPartsPosix(parameters) { 9 : ChromeBrowserMainPartsPosix(parameters) {
14 } 10 }
15
16 void ChromeBrowserMainPartsLinux::ShowMissingLocaleMessageBox() {
17 #if defined(USE_AURA)
18 // This should never happen on Aura.
19 NOTREACHED() << chrome_browser::kMissingLocaleDataMessage;
20 #elif defined(TOOLKIT_USES_GTK)
21 ChromeBrowserMainExtraPartsGtk::ShowMessageBox(
22 chrome_browser::kMissingLocaleDataMessage);
23 #else
24 #error "Need MessageBox implementation for linux without Aura or Gtk"
25 #endif
26 }
OLDNEW
« no previous file with comments | « chrome/browser/chrome_browser_main_linux.h ('k') | chrome/browser/chrome_browser_main_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698