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

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

Issue 8387039: Move content_restriction.h and main_function_params.h to content/public/common, and put them in t... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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) 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 }
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