| 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 COMPONENTS_MUS_WS_PLATFORM_SCREEN_IMPL_H_ | 5 #ifndef SERVICES_UI_WS_PLATFORM_SCREEN_IMPL_H_ |
| 6 #define COMPONENTS_MUS_WS_PLATFORM_SCREEN_IMPL_H_ | 6 #define SERVICES_UI_WS_PLATFORM_SCREEN_IMPL_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| 11 #include "components/mus/ws/platform_screen.h" | 11 #include "services/ui/ws/platform_screen.h" |
| 12 | 12 |
| 13 namespace gfx { | 13 namespace gfx { |
| 14 class Rect; | 14 class Rect; |
| 15 } | 15 } |
| 16 | 16 |
| 17 namespace mus { | 17 namespace mus { |
| 18 namespace ws { | 18 namespace ws { |
| 19 | 19 |
| 20 // PlatformScreenImpl provides the necessary functionality to configure all | 20 // PlatformScreenImpl provides the necessary functionality to configure all |
| 21 // attached physical displays on non-ozone platforms. | 21 // attached physical displays on non-ozone platforms. |
| 22 class PlatformScreenImpl : public PlatformScreen { | 22 class PlatformScreenImpl : public PlatformScreen { |
| 23 public: | 23 public: |
| 24 PlatformScreenImpl(); | 24 PlatformScreenImpl(); |
| 25 ~PlatformScreenImpl() override; | 25 ~PlatformScreenImpl() override; |
| 26 | 26 |
| 27 private: | 27 private: |
| 28 // PlatformScreen. | 28 // PlatformScreen. |
| 29 void Init() override; | 29 void Init() override; |
| 30 void ConfigurePhysicalDisplay( | 30 void ConfigurePhysicalDisplay( |
| 31 const PlatformScreen::ConfiguredDisplayCallback& callback) override; | 31 const PlatformScreen::ConfiguredDisplayCallback& callback) override; |
| 32 | 32 |
| 33 DISALLOW_COPY_AND_ASSIGN(PlatformScreenImpl); | 33 DISALLOW_COPY_AND_ASSIGN(PlatformScreenImpl); |
| 34 }; | 34 }; |
| 35 | 35 |
| 36 } // namespace ws | 36 } // namespace ws |
| 37 } // namespace mus | 37 } // namespace mus |
| 38 | 38 |
| 39 #endif // COMPONENTS_MUS_WS_PLATFORM_SCREEN_IMPL_H_ | 39 #endif // SERVICES_UI_WS_PLATFORM_SCREEN_IMPL_H_ |
| OLD | NEW |