| 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_SCREEN_MANAGER_OZONE_INTERNAL_H_ | 5 #ifndef SERVICES_UI_DISPLAY_SCREEN_MANAGER_OZONE_INTERNAL_H_ |
| 6 #define SERVICES_UI_DISPLAY_SCREEN_MANAGER_OZONE_INTERNAL_H_ | 6 #define SERVICES_UI_DISPLAY_SCREEN_MANAGER_OZONE_INTERNAL_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 public service_manager::InterfaceFactory<mojom::DisplayController>, | 43 public service_manager::InterfaceFactory<mojom::DisplayController>, |
| 44 public service_manager::InterfaceFactory<mojom::OutputProtection>, | 44 public service_manager::InterfaceFactory<mojom::OutputProtection>, |
| 45 public service_manager::InterfaceFactory<mojom::TestDisplayController> { | 45 public service_manager::InterfaceFactory<mojom::TestDisplayController> { |
| 46 public: | 46 public: |
| 47 ScreenManagerOzoneInternal(); | 47 ScreenManagerOzoneInternal(); |
| 48 ~ScreenManagerOzoneInternal() override; | 48 ~ScreenManagerOzoneInternal() override; |
| 49 | 49 |
| 50 void SetPrimaryDisplayId(int64_t display_id); | 50 void SetPrimaryDisplayId(int64_t display_id); |
| 51 | 51 |
| 52 // ScreenManager: | 52 // ScreenManager: |
| 53 void AddInterfaces(service_manager::InterfaceRegistry* registry) override; | 53 void AddInterfaces(service_manager::BinderRegistry* registry) override; |
| 54 void Init(ScreenManagerDelegate* delegate) override; | 54 void Init(ScreenManagerDelegate* delegate) override; |
| 55 void RequestCloseDisplay(int64_t display_id) override; | 55 void RequestCloseDisplay(int64_t display_id) override; |
| 56 | 56 |
| 57 // mojom::TestDisplayController: | 57 // mojom::TestDisplayController: |
| 58 void ToggleAddRemoveDisplay() override; | 58 void ToggleAddRemoveDisplay() override; |
| 59 void ToggleDisplayResolution() override; | 59 void ToggleDisplayResolution() override; |
| 60 | 60 |
| 61 // mojom::DisplayController: | 61 // mojom::DisplayController: |
| 62 void IncreaseInternalDisplayZoom() override; | 62 void IncreaseInternalDisplayZoom() override; |
| 63 void DecreaseInternalDisplayZoom() override; | 63 void DecreaseInternalDisplayZoom() override; |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 | 128 |
| 129 mojo::BindingSet<mojom::DisplayController> controller_bindings_; | 129 mojo::BindingSet<mojom::DisplayController> controller_bindings_; |
| 130 mojo::BindingSet<mojom::TestDisplayController> test_bindings_; | 130 mojo::BindingSet<mojom::TestDisplayController> test_bindings_; |
| 131 | 131 |
| 132 DISALLOW_COPY_AND_ASSIGN(ScreenManagerOzoneInternal); | 132 DISALLOW_COPY_AND_ASSIGN(ScreenManagerOzoneInternal); |
| 133 }; | 133 }; |
| 134 | 134 |
| 135 } // namespace display | 135 } // namespace display |
| 136 | 136 |
| 137 #endif // SERVICES_UI_DISPLAY_SCREEN_MANAGER_OZONE_INTERNAL_H_ | 137 #endif // SERVICES_UI_DISPLAY_SCREEN_MANAGER_OZONE_INTERNAL_H_ |
| OLD | NEW |