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_WS_PLATFORM_SCREEN_IMPL_OZONE_H_ | 5 #ifndef SERVICES_UI_DISPLAY_PLATFORM_SCREEN_IMPL_OZONE_H_ |
6 #define SERVICES_UI_WS_PLATFORM_SCREEN_IMPL_OZONE_H_ | 6 #define SERVICES_UI_DISPLAY_PLATFORM_SCREEN_IMPL_OZONE_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "services/ui/ws/platform_screen.h" | 14 #include "services/ui/display/platform_screen.h" |
15 #include "ui/display/chromeos/display_configurator.h" | 15 #include "ui/display/chromeos/display_configurator.h" |
16 | 16 |
17 namespace ui { | 17 namespace ui { |
18 namespace ws { | 18 namespace display { |
19 | 19 |
20 // PlatformScreenImplOzone provides the necessary functionality to configure all | 20 // PlatformScreenImplOzone provides the necessary functionality to configure all |
21 // attached physical displays on the ozone platform. | 21 // attached physical displays on the ozone platform. |
22 class PlatformScreenImplOzone : public PlatformScreen, | 22 class PlatformScreenImplOzone : public PlatformScreen, |
23 public ui::DisplayConfigurator::Observer { | 23 public ui::DisplayConfigurator::Observer { |
24 public: | 24 public: |
25 PlatformScreenImplOzone(); | 25 PlatformScreenImplOzone(); |
26 ~PlatformScreenImplOzone() override; | 26 ~PlatformScreenImplOzone() override; |
27 | 27 |
28 private: | 28 private: |
(...skipping 11 matching lines...) Expand all Loading... |
40 MultipleDisplayState failed_new_state) override; | 40 MultipleDisplayState failed_new_state) override; |
41 | 41 |
42 ui::DisplayConfigurator display_configurator_; | 42 ui::DisplayConfigurator display_configurator_; |
43 | 43 |
44 // Callback to called when new displays are configured. | 44 // Callback to called when new displays are configured. |
45 ConfiguredDisplayCallback callback_; | 45 ConfiguredDisplayCallback callback_; |
46 | 46 |
47 DISALLOW_COPY_AND_ASSIGN(PlatformScreenImplOzone); | 47 DISALLOW_COPY_AND_ASSIGN(PlatformScreenImplOzone); |
48 }; | 48 }; |
49 | 49 |
50 } // namespace ws | 50 } // namespace display |
51 } // namespace ui | 51 } // namespace ui |
52 | 52 |
53 #endif // SERVICES_UI_WS_PLATFORM_SCREEN_IMPL_OZONE_H_ | 53 #endif // SERVICES_UI_DISPLAY_PLATFORM_SCREEN_IMPL_OZONE_H_ |
OLD | NEW |