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

Side by Side Diff: chrome/browser/chrome_browser_parts_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
(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_PARTS_GTK_H_
8 #define CHROME_BROWSER_CHROME_BROWSER_PARTS_GTK_H_
9 #pragma once
10
11 #include "base/compiler_specific.h"
12 #include "content/public/browser/browser_main_parts.h"
13
14 class ChromeBrowserPartsGtk : public content::BrowserMainParts {
15 public:
16 ChromeBrowserPartsGtk();
17
18 virtual void PreEarlyInitialization() OVERRIDE;
19 virtual void PostEarlyInitialization() OVERRIDE {}
20 virtual void PreMainMessageLoopStart() OVERRIDE {}
21 virtual void ToolkitInitialized() OVERRIDE {}
22 virtual void PostMainMessageLoopStart() OVERRIDE {}
23 virtual int PreMainMessageLoopRun() OVERRIDE {
24 return content::RESULT_CODE_NORMAL_EXIT;
25 }
26 virtual bool MainMessageLoopRun() OVERRIDE { return false; }
27 virtual void PostMainMessageLoopRun() {}
28
29 static void ShowMessageBox(const char* message);
30
31 private:
32 void DetectRunningAsRoot();
33 };
34
35 #endif // CHROME_BROWSER_CHROME_BROWSER_PARTS_GTK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698