OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 SERVICES_UI_DISPLAY_PLATFORM_SCREEN_OZONE_H_ | 5 #ifndef SERVICES_UI_DISPLAY_PLATFORM_SCREEN_OZONE_H_ |
6 #define SERVICES_UI_DISPLAY_PLATFORM_SCREEN_OZONE_H_ | 6 #define SERVICES_UI_DISPLAY_PLATFORM_SCREEN_OZONE_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <set> | 10 #include <set> |
(...skipping 24 matching lines...) Expand all Loading... |
35 public service_manager::InterfaceFactory<mojom::DisplayController>, | 35 public service_manager::InterfaceFactory<mojom::DisplayController>, |
36 public service_manager::InterfaceFactory<mojom::TestDisplayController>, | 36 public service_manager::InterfaceFactory<mojom::TestDisplayController>, |
37 public mojom::DisplayController, | 37 public mojom::DisplayController, |
38 public mojom::TestDisplayController { | 38 public mojom::TestDisplayController { |
39 public: | 39 public: |
40 PlatformScreenOzone(); | 40 PlatformScreenOzone(); |
41 ~PlatformScreenOzone() override; | 41 ~PlatformScreenOzone() override; |
42 | 42 |
43 // PlatformScreen: | 43 // PlatformScreen: |
44 void AddInterfaces(service_manager::InterfaceRegistry* registry) override; | 44 void AddInterfaces(service_manager::InterfaceRegistry* registry) override; |
45 void Init(PlatformScreenDelegate* delegate) override; | 45 void Init(PlatformScreenDelegate* delegate, WindowMode window_mode) override; |
46 void RequestCloseDisplay(int64_t display_id) override; | 46 void RequestCloseDisplay(int64_t display_id) override; |
47 int64_t GetPrimaryDisplayId() const override; | 47 int64_t GetPrimaryDisplayId() const override; |
48 | 48 |
49 // mojom::TestDisplayController: | 49 // mojom::TestDisplayController: |
50 void ToggleAddRemoveDisplay() override; | 50 void ToggleAddRemoveDisplay() override; |
51 void ToggleDisplayResolution() override; | 51 void ToggleDisplayResolution() override; |
52 | 52 |
53 // mojom::DisplayController: | 53 // mojom::DisplayController: |
54 void SwapPrimaryDisplay() override; | 54 void SwapPrimaryDisplay() override; |
55 void SetDisplayWorkArea(int64_t display_id, | 55 void SetDisplayWorkArea(int64_t display_id, |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 | 157 |
158 mojo::BindingSet<mojom::DisplayController> controller_bindings_; | 158 mojo::BindingSet<mojom::DisplayController> controller_bindings_; |
159 mojo::BindingSet<mojom::TestDisplayController> test_bindings_; | 159 mojo::BindingSet<mojom::TestDisplayController> test_bindings_; |
160 | 160 |
161 DISALLOW_COPY_AND_ASSIGN(PlatformScreenOzone); | 161 DISALLOW_COPY_AND_ASSIGN(PlatformScreenOzone); |
162 }; | 162 }; |
163 | 163 |
164 } // namespace display | 164 } // namespace display |
165 | 165 |
166 #endif // SERVICES_UI_DISPLAY_PLATFORM_SCREEN_OZONE_H_ | 166 #endif // SERVICES_UI_DISPLAY_PLATFORM_SCREEN_OZONE_H_ |
OLD | NEW |