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.
5 // Contains functions used by BrowserMain() that are gtk-specific.
7 #ifndef CHROME_BROWSER_CHROME_BROWSER_MAIN_EXTRA_PARTS_X11_H_
8 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_EXTRA_PARTS_X11_H_
10 #include "base/basictypes.h"
11 #include "base/compiler_specific.h"
12 #include "chrome/browser/chrome_browser_main_extra_parts.h"
14 class ChromeBrowserMainExtraPartsX11
: public ChromeBrowserMainExtraParts
{
16 ChromeBrowserMainExtraPartsX11();
17 ~ChromeBrowserMainExtraPartsX11() override
;
20 // ChromeBrowserMainExtraParts overrides.
21 void PreEarlyInitialization() override
;
22 void PostMainMessageLoopStart() override
;
23 void PostMainMessageLoopRun() override
;
25 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainExtraPartsX11
);
28 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_EXTRA_PARTS_X11_H_