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

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

Issue 2250863003: exo: Run exo in mus+ash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix review issues Created 4 years, 4 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
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 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 #ifndef CHROME_BROWSER_CHROME_BROWSER_MAIN_EXTRA_PARTS_EXO_H_ 5 #ifndef CHROME_BROWSER_CHROME_BROWSER_MAIN_EXTRA_PARTS_EXO_H_
6 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_EXTRA_PARTS_EXO_H_ 6 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_EXTRA_PARTS_EXO_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "chrome/browser/chrome_browser_main_extra_parts.h" 11 #include "chrome/browser/chrome_browser_main_extra_parts.h"
12 12
13 namespace exo { 13 namespace exo {
14 class Display; 14 class Display;
15 class WMHelper;
15 namespace wayland { 16 namespace wayland {
16 class Server; 17 class Server;
17 } 18 }
18 } 19 }
19 20
20 namespace arc { 21 namespace arc {
21 class ArcNotificationSurfaceManager; 22 class ArcNotificationSurfaceManager;
22 } 23 }
23 24
24 class ChromeBrowserMainExtraPartsExo : public ChromeBrowserMainExtraParts { 25 class ChromeBrowserMainExtraPartsExo : public ChromeBrowserMainExtraParts {
25 public: 26 public:
26 ChromeBrowserMainExtraPartsExo(); 27 ChromeBrowserMainExtraPartsExo();
27 ~ChromeBrowserMainExtraPartsExo() override; 28 ~ChromeBrowserMainExtraPartsExo() override;
28 29
29 // Overridden from ChromeBrowserMainExtraParts: 30 // Overridden from ChromeBrowserMainExtraParts:
30 void PreProfileInit() override; 31 void PreProfileInit() override;
31 void PostMainMessageLoopRun() override; 32 void PostMainMessageLoopRun() override;
32 33
33 private: 34 private:
34 std::unique_ptr<arc::ArcNotificationSurfaceManager> 35 std::unique_ptr<arc::ArcNotificationSurfaceManager>
35 arc_notification_surface_manager_; 36 arc_notification_surface_manager_;
37 std::unique_ptr<exo::WMHelper> wm_helper_;
36 std::unique_ptr<exo::Display> display_; 38 std::unique_ptr<exo::Display> display_;
37 std::unique_ptr<exo::wayland::Server> wayland_server_; 39 std::unique_ptr<exo::wayland::Server> wayland_server_;
38 class WaylandWatcher; 40 class WaylandWatcher;
39 std::unique_ptr<WaylandWatcher> wayland_watcher_; 41 std::unique_ptr<WaylandWatcher> wayland_watcher_;
40 42
41 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainExtraPartsExo); 43 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainExtraPartsExo);
42 }; 44 };
43 45
44 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_EXTRA_PARTS_EXO_H_ 46 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_EXTRA_PARTS_EXO_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chrome_browser_main_extra_parts_exo.cc » ('j') | components/exo/display.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698