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 // Contains functions used by BrowserMain() that are gtk-specific. |
| 6 |
| 7 #ifndef CHROME_BROWSER_CHROME_BROWSER_MAIN_EXTRA_PARTS_GTK_H_ |
| 8 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_EXTRA_PARTS_GTK_H_ |
| 9 #pragma once |
| 10 |
| 11 #include "base/compiler_specific.h" |
| 12 #include "chrome/browser/chrome_browser_main_extra_parts.h" |
| 13 |
| 14 class ChromeBrowserMainExtraPartsGtk : public ChromeBrowserMainExtraParts { |
| 15 public: |
| 16 ChromeBrowserMainExtraPartsGtk(); |
| 17 |
| 18 virtual void PreEarlyInitialization() OVERRIDE; |
| 19 |
| 20 static void ShowMessageBox(const char* message); |
| 21 |
| 22 private: |
| 23 void DetectRunningAsRoot(); |
| 24 }; |
| 25 |
| 26 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_EXTRA_PARTS_GTK_H_ |
OLD | NEW |