Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(226)

Side by Side Diff: chrome/browser/chrome_browser_main_gtk.h

Issue 8302016: Make GTK and Aura parts orthogonal to OS parts (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Contains functions used by BrowserMain() that are gtk-specific. 5 // Contains functions used by BrowserMain() that are gtk-specific.
6 6
7 #ifndef CHROME_BROWSER_CHROME_BROWSER_MAIN_GTK_H_ 7 #ifndef CHROME_BROWSER_CHROME_BROWSER_MAIN_GTK_H_
8 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_GTK_H_ 8 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_GTK_H_
9 #pragma once 9 #pragma once
10 10
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "chrome/browser/chrome_browser_main_posix.h" 12 #include "content/browser/browser_main.h"
13 #include "chrome/browser/chrome_browser_main_x11.h"
14 13
15 class ChromeBrowserMainPartsGtk : public ChromeBrowserMainPartsPosix { 14 class ChromeBrowserPartsGtk : public content::BrowserParts {
DaveMoore 2011/10/19 21:31:18 Rename file to chrome_browser_parts_gtk
16 public: 15 public:
17 explicit ChromeBrowserMainPartsGtk(const MainFunctionParams& parameters); 16 ChromeBrowserPartsGtk();
18 17
19 virtual void PreEarlyInitialization() OVERRIDE; 18 virtual void PreEarlyInitialization() OVERRIDE;
20 19
20 static void ShowMessageBox(const char* message);
21
21 private: 22 private:
22 void DetectRunningAsRoot(); 23 void DetectRunningAsRoot();
23 }; 24 };
24 25
25 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_GTK_H_ 26 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_GTK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698