Disable TabDragController tests that fail with a real compositor.
[chromium-blink-merge.git] / chrome / browser / ui / gtk / chrome_browser_main_extra_parts_gtk.h
blobf6dd4646cf2c310d57a75f61ba814d8becc2a53e
1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_UI_GTK_CHROME_BROWSER_MAIN_EXTRA_PARTS_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_CHROME_BROWSER_MAIN_EXTRA_PARTS_GTK_H_
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10 #include "chrome/browser/chrome_browser_main_extra_parts.h"
12 class ChromeBrowserMainExtraPartsGtk : public ChromeBrowserMainExtraParts {
13 public:
14 ChromeBrowserMainExtraPartsGtk();
16 static void ShowMessageBox(const char* message);
18 // Overridden from ChromeBrowserMainExtraParts:
19 virtual void PreEarlyInitialization() OVERRIDE;
21 private:
22 void DetectRunningAsRoot();
24 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainExtraPartsGtk);
27 #endif // CHROME_BROWSER_UI_GTK_CHROME_BROWSER_MAIN_EXTRA_PARTS_GTK_H_