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

Side by Side Diff: chrome/browser/ui/aura/chrome_browser_main_extra_parts_aura.h

Issue 1680033004: Move gtk-specific browser main parts stuff to its own file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase, fix ToolkitInitialized() Created 4 years, 10 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
OLDNEW
(Empty)
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.
4
5 #ifndef CHROME_BROWSER_UI_AURA_CHROME_BROWSER_MAIN_EXTRA_PARTS_AURA_H_
6 #define CHROME_BROWSER_UI_AURA_CHROME_BROWSER_MAIN_EXTRA_PARTS_AURA_H_
7
8 #include "base/compiler_specific.h"
9 #include "base/macros.h"
10 #include "base/memory/scoped_ptr.h"
11 #include "build/build_config.h"
12 #include "chrome/browser/chrome_browser_main_extra_parts.h"
13
14 class ChromeBrowserMainExtraPartsAura : public ChromeBrowserMainExtraParts {
15 public:
16 ChromeBrowserMainExtraPartsAura();
17 ~ChromeBrowserMainExtraPartsAura() override;
18
19 // Overridden from ChromeBrowserMainExtraParts:
20 void PreEarlyInitialization() override;
21 void ToolkitInitialized() override;
22 void PreCreateThreads() override;
23 void PreProfileInit() override;
24 void PostMainMessageLoopRun() override;
25
26 private:
27 #if defined(OS_LINUX) && !defined(OS_CHROMEOS)
28 // On the Linux desktop, we want to prevent the user from logging in as root,
29 // so that we don't destroy the profile.
30 void DetectRunningAsRoot();
31 #endif
32
33 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainExtraPartsAura);
34 };
35
36 #endif // CHROME_BROWSER_UI_AURA_CHROME_BROWSER_MAIN_EXTRA_PARTS_AURA_H_
OLDNEW
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/ui/aura/chrome_browser_main_extra_parts_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698