OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef UI_OZONE_PLATFORM_WAYLAND_DESKTOP_FACTORY_OZONE_WAYLAND_H_ |
| 6 #define UI_OZONE_PLATFORM_WAYLAND_DESKTOP_FACTORY_OZONE_WAYLAND_H_ |
| 7 |
| 8 #include "ui/views/views_export.h" |
| 9 #include "ui/views/widget/desktop_aura/desktop_factory_ozone.h" |
| 10 |
| 11 namespace display { |
| 12 class Screen; |
| 13 } |
| 14 |
| 15 namespace views { |
| 16 class DesktopNativeWidgetAura; |
| 17 class DesktopWindowTreeHost; |
| 18 |
| 19 namespace internal { |
| 20 class NativeWidgetDelegate; |
| 21 } |
| 22 |
| 23 class VIEWS_EXPORT DesktopFactoryOzoneWayland : public DesktopFactoryOzone { |
| 24 public: |
| 25 |
| 26 // Delegates implementation of DesktopWindowTreeHost::Create externally to |
| 27 // Ozone implementation. |
| 28 DesktopWindowTreeHost* CreateWindowTreeHost( |
| 29 internal::NativeWidgetDelegate* native_widget_delegate, |
| 30 DesktopNativeWidgetAura* desktop_native_widget_aura) override; |
| 31 |
| 32 // Delegates implementation of DesktopScreen externally to |
| 33 // Ozone implementation. |
| 34 display::Screen* CreateDesktopScreen() override; |
| 35 }; |
| 36 |
| 37 views::DesktopFactoryOzone* CreateDesktopFactoryOzoneWayland(); |
| 38 |
| 39 } // namespace views |
| 40 |
| 41 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_FACTORY_OZONE_H_ |
OLD | NEW |