Scott Violet | c668e3f9 | 2017-07-20 17:35:39 | [diff] [blame] | 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_EXO_PARTS_H_ |
| 6 | #define CHROME_BROWSER_EXO_PARTS_H_ |
| 7 | |
| 8 | #include <memory> |
| 9 | |
| 10 | #include "base/macros.h" |
| 11 | |
Lloyd Pique | d507c5f | 2020-11-11 22:47:05 | [diff] [blame^] | 12 | namespace ash { |
| 13 | class ArcOverlayManager; |
| 14 | } |
| 15 | |
Mitsuru Oshima | 51bf3d547 | 2020-06-17 21:28:34 | [diff] [blame] | 16 | namespace exo { |
| 17 | class WaylandServerController; |
| 18 | } |
| 19 | |
Scott Violet | c668e3f9 | 2017-07-20 17:35:39 | [diff] [blame] | 20 | class ExoParts { |
| 21 | public: |
| 22 | // Creates ExoParts. Returns null if exo should not be created. |
| 23 | static std::unique_ptr<ExoParts> CreateIfNecessary(); |
| 24 | |
| 25 | ~ExoParts(); |
| 26 | |
| 27 | private: |
| 28 | ExoParts(); |
| 29 | |
Lloyd Pique | d507c5f | 2020-11-11 22:47:05 | [diff] [blame^] | 30 | std::unique_ptr<ash::ArcOverlayManager> arc_overlay_manager_; |
Mitsuru Oshima | 51bf3d547 | 2020-06-17 21:28:34 | [diff] [blame] | 31 | std::unique_ptr<exo::WaylandServerController> wayland_server_; |
| 32 | |
Scott Violet | c668e3f9 | 2017-07-20 17:35:39 | [diff] [blame] | 33 | DISALLOW_COPY_AND_ASSIGN(ExoParts); |
| 34 | }; |
| 35 | |
| 36 | #endif // CHROME_BROWSER_EXO_PARTS_H_ |