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 #include "ui/views/widget/desktop_aura/desktop_factory_ozone_wayland.h" |
| 6 |
| 7 #include <stdio.h> |
| 8 |
| 9 #include "ui/views/widget/desktop_aura/desktop_screen_wayland.h" |
| 10 #include "ui/views/widget/desktop_aura/desktop_window_tree_host_wayland.h" |
| 11 |
| 12 namespace views { |
| 13 |
| 14 DesktopWindowTreeHost* DesktopFactoryOzoneWayland::CreateWindowTreeHost( |
| 15 internal::NativeWidgetDelegate* native_widget_delegate, |
| 16 DesktopNativeWidgetAura* desktop_native_widget_aura) { |
| 17 return new DesktopWindowTreeHostWayland(native_widget_delegate, |
| 18 desktop_native_widget_aura); |
| 19 } |
| 20 |
| 21 display::Screen* DesktopFactoryOzoneWayland::CreateDesktopScreen() { |
| 22 return new DesktopScreenWayland; |
| 23 } |
| 24 |
| 25 views::DesktopFactoryOzone* CreateDesktopFactoryOzoneWayland() { |
| 26 return new views::DesktopFactoryOzoneWayland; |
| 27 } |
| 28 |
| 29 } // namespace views |
OLD | NEW |