| 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> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/callback.h" | 13 #include "base/callback.h" |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "mojo/public/cpp/bindings/binding_set.h" | 15 #include "mojo/public/cpp/bindings/binding_set.h" |
| 16 #include "services/service_manager/public/cpp/connection.h" | 16 #include "services/service_manager/public/cpp/connection.h" |
| 17 #include "services/service_manager/public/cpp/interface_factory.h" | 17 #include "services/service_manager/public/cpp/interface_factory.h" |
| 18 #include "services/ui/display/platform_screen.h" | 18 #include "services/ui/display/platform_screen.h" |
| 19 #include "services/ui/display/viewport_metrics.h" | 19 #include "services/ui/display/viewport_metrics.h" |
| 20 #include "services/ui/public/interfaces/display/display_controller.mojom.h" | 20 #include "services/ui/public/interfaces/display/display_controller.mojom.h" |
| 21 #include "services/ui/public/interfaces/display/test_display_controller.mojom.h" | 21 #include "services/ui/public/interfaces/display/test_display_controller.mojom.h" |
| 22 #include "ui/display/chromeos/display_configurator.h" | |
| 23 #include "ui/display/display.h" | 22 #include "ui/display/display.h" |
| 23 #include "ui/display/manager/chromeos/display_configurator.h" |
| 24 #include "ui/display/types/display_constants.h" | 24 #include "ui/display/types/display_constants.h" |
| 25 #include "ui/display/types/fake_display_controller.h" | 25 #include "ui/display/types/fake_display_controller.h" |
| 26 | 26 |
| 27 namespace display { | 27 namespace display { |
| 28 | 28 |
| 29 // PlatformScreenOzone provides the necessary functionality to configure all | 29 // PlatformScreenOzone provides the necessary functionality to configure all |
| 30 // attached physical displays on the ozone platform. | 30 // attached physical displays on the ozone platform. |
| 31 class PlatformScreenOzone | 31 class PlatformScreenOzone |
| 32 : public PlatformScreen, | 32 : public PlatformScreen, |
| 33 public ui::DisplayConfigurator::Observer, | 33 public ui::DisplayConfigurator::Observer, |
| (...skipping 123 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 |