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_GTK_H_ | |
8 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_GTK_H_ | |
9 #pragma once | |
10 | |
11 #include "base/compiler_specific.h" | |
12 #include "chrome/browser/chrome_browser_main_posix.h" | |
13 #include "chrome/browser/chrome_browser_main_x11.h" | |
14 | |
15 class ChromeBrowserMainPartsGtk : public ChromeBrowserMainPartsPosix { | |
16 public: | |
17 explicit ChromeBrowserMainPartsGtk(const MainFunctionParams& parameters); | |
18 | |
19 virtual void PreEarlyInitialization() OVERRIDE; | |
20 | |
21 private: | |
22 void DetectRunningAsRoot(); | |
23 }; | |
24 | |
25 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_GTK_H_ | |
OLD | NEW |