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

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

Issue 1412093006: components: Add Exosphere component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: per-file exo.gypi=reveman@chromium.org to components/OWNERS Created 5 years, 1 month 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
« no previous file with comments | « chrome/browser/DEPS ('k') | chrome/browser/chrome_browser_main_extra_parts_exo.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2015 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_CHROME_BROWSER_MAIN_EXTRA_PARTS_EXO_H_
6 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_EXTRA_PARTS_EXO_H_
7
8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h"
10 #include "chrome/browser/chrome_browser_main_extra_parts.h"
11
12 namespace exo {
13 class Display;
14 #if defined(ENABLE_WAYLAND_SERVER)
sky 2015/11/19 17:55:35 Isn't this code only compiled if ENABLE_WAYLAND_SE
reveman 2015/11/19 18:42:03 No longer needed. Removed them from latest patch.
15 namespace wayland {
16 class Server;
17 }
18 #endif
19 }
20
21 class ChromeBrowserMainExtraPartsExo : public ChromeBrowserMainExtraParts {
22 public:
23 ChromeBrowserMainExtraPartsExo();
24 ~ChromeBrowserMainExtraPartsExo() override;
25
26 // Overridden from ChromeBrowserMainExtraParts:
27 void PreProfileInit() override;
28 void PostMainMessageLoopRun() override;
29
30 private:
31 scoped_ptr<exo::Display> display_;
32 #if defined(ENABLE_WAYLAND_SERVER)
33 scoped_ptr<exo::wayland::Server> wayland_server_;
34 class WaylandWatcher;
35 scoped_ptr<WaylandWatcher> wayland_watcher_;
36 #endif
37
38 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainExtraPartsExo);
39 };
40
41 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_EXTRA_PARTS_EXO_H_
OLDNEW
« no previous file with comments | « chrome/browser/DEPS ('k') | chrome/browser/chrome_browser_main_extra_parts_exo.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698