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