[M120][Tizen][Onscreen] Fix build errors for TV profile
[platform/framework/web/chromium-efl.git] / chrome / browser / exo_parts.h
1 // Copyright 2015 The Chromium Authors
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 namespace ash {
11 class ArcOverlayManager;
12 }
13
14 namespace exo {
15 class WaylandServerController;
16 }
17
18 class ExoParts {
19  public:
20   // Creates ExoParts. Returns null if exo should not be created.
21   static std::unique_ptr<ExoParts> CreateIfNecessary();
22
23   ExoParts(const ExoParts&) = delete;
24   ExoParts& operator=(const ExoParts&) = delete;
25
26   ~ExoParts();
27
28  private:
29   ExoParts();
30
31   std::unique_ptr<ash::ArcOverlayManager> arc_overlay_manager_;
32   std::unique_ptr<exo::WaylandServerController> wayland_server_;
33 };
34
35 #endif  // CHROME_BROWSER_EXO_PARTS_H_