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

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

Issue 9839028: Make chrome/browser/chrome_browser_main_linux.* Linux-only. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: rebase Created 8 years, 9 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
« no previous file with comments | « no previous file | chrome/browser/chrome_browser_main_extra_parts_views.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 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_EXTRA_PARTS_GTK_H_ 7 #ifndef CHROME_BROWSER_CHROME_BROWSER_MAIN_EXTRA_PARTS_GTK_H_
8 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_EXTRA_PARTS_GTK_H_ 8 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_EXTRA_PARTS_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_extra_parts.h" 12 #include "chrome/browser/chrome_browser_main_extra_parts.h"
13 13
14 class ChromeBrowserMainExtraPartsGtk : public ChromeBrowserMainExtraParts { 14 class ChromeBrowserMainExtraPartsGtk : public ChromeBrowserMainExtraParts {
15 public: 15 public:
16 ChromeBrowserMainExtraPartsGtk(); 16 ChromeBrowserMainExtraPartsGtk();
17 17
18 virtual void PreEarlyInitialization() OVERRIDE; 18 virtual void PreEarlyInitialization() OVERRIDE;
19 19
20 static void ShowMessageBox(const char* message); 20 static void ShowMessageBox(const char* message);
21 21
22 private: 22 private:
23 void DetectRunningAsRoot(); 23 void DetectRunningAsRoot();
24
25 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainExtraPartsGtk);
24 }; 26 };
25 27
26 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_EXTRA_PARTS_GTK_H_ 28 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_EXTRA_PARTS_GTK_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chrome_browser_main_extra_parts_views.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698