OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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_SCREEN_MANAGER_OZONE_EXTERNAL_H_ | 5 #ifndef SERVICES_UI_DISPLAY_SCREEN_MANAGER_OZONE_EXTERNAL_H_ |
6 #define SERVICES_UI_DISPLAY_SCREEN_MANAGER_OZONE_EXTERNAL_H_ | 6 #define SERVICES_UI_DISPLAY_SCREEN_MANAGER_OZONE_EXTERNAL_H_ |
7 | 7 |
8 #include "services/ui/display/screen_manager.h" | 8 #include "services/ui/display/screen_manager.h" |
9 | 9 |
10 namespace display { | 10 namespace display { |
(...skipping 10 matching lines...) Expand all Loading... |
21 ScreenManagerOzoneExternal(); | 21 ScreenManagerOzoneExternal(); |
22 ~ScreenManagerOzoneExternal() override; | 22 ~ScreenManagerOzoneExternal() override; |
23 | 23 |
24 private: | 24 private: |
25 // ScreenManager. | 25 // ScreenManager. |
26 void AddInterfaces(service_manager::InterfaceRegistry* registry) override; | 26 void AddInterfaces(service_manager::InterfaceRegistry* registry) override; |
27 void Init(ScreenManagerDelegate* delegate) override; | 27 void Init(ScreenManagerDelegate* delegate) override; |
28 int64_t GetPrimaryDisplayId() const override; | 28 int64_t GetPrimaryDisplayId() const override; |
29 void RequestCloseDisplay(int64_t display_id) override; | 29 void RequestCloseDisplay(int64_t display_id) override; |
30 | 30 |
| 31 ScreenManagerDelegate* delegate_ = nullptr; |
| 32 |
31 DISALLOW_COPY_AND_ASSIGN(ScreenManagerOzoneExternal); | 33 DISALLOW_COPY_AND_ASSIGN(ScreenManagerOzoneExternal); |
32 }; | 34 }; |
33 | 35 |
34 } // namespace display | 36 } // namespace display |
35 | 37 |
36 #endif // SERVICES_UI_DISPLAY_SCREEN_MANAGER_OZONE_EXTERNAL_H_ | 38 #endif // SERVICES_UI_DISPLAY_SCREEN_MANAGER_OZONE_EXTERNAL_H_ |
OLD | NEW |