| Index: chrome/browser/chrome_browser_main_linux.cc
|
| diff --git a/chrome/browser/chrome_browser_main_linux.cc b/chrome/browser/chrome_browser_main_linux.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..8ebcc96e4d7cfba2d6dd3e32c708037c9251635b
|
| --- /dev/null
|
| +++ b/chrome/browser/chrome_browser_main_linux.cc
|
| @@ -0,0 +1,40 @@
|
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "chrome/browser/chrome_browser_main_linux.h"
|
| +
|
| +#if defined(USE_AURA)
|
| +#include "chrome/browser/chrome_browser_main_aura.h"
|
| +#endif
|
| +#if defined(TOOLKIT_USES_GTK)
|
| +#include "chrome/browser/chrome_browser_main_gtk.h"
|
| +#endif
|
| +
|
| +void ChromeBrowserMainPartsLinux::ShowMissingLocaleMessageBox() {
|
| +#if defined(USE_AURA)
|
| + ChromeBrowserPartsAura::ShowMessageBox(
|
| + chrome_browser::kMissingLocaleDataMessage);
|
| +#elif defined(TOOLKIT_USES_GTK)
|
| + ChromeBrowserPartsGtk::ShowMessageBox(
|
| + chrome_browser::kMissingLocaleDataMessage);
|
| +#else
|
| +#error "Need MessageBox implementation for linux without Aura or Gtk"
|
| +#endif
|
| +}
|
| +
|
| +ChromeBrowserMainPartsLinux::ChromeBrowserMainPartsLinux(
|
| + const MainFunctionParams& parameters)
|
| + : ChromeBrowserMainPartsPosix(parameters) {
|
| +}
|
| +
|
| +int ChromeBrowserMainPartsLinux::HandleIconsCommands() {
|
| + return 0;
|
| +}
|
| +
|
| +bool ChromeBrowserMainPartsLinux::CheckMachineLevelInstall() {
|
| + return false;
|
| +}
|
| +
|
| +void ChromeBrowserMainPartsLinux::PrepareRestartOnCrashEnviroment() {
|
| +}
|
|
|