| Index: ui/views/widget/desktop_aura/desktop_factory_ozone_wayland.cc
|
| diff --git a/ui/views/widget/desktop_aura/desktop_factory_ozone_wayland.cc b/ui/views/widget/desktop_aura/desktop_factory_ozone_wayland.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..066b8007245268d6b2d55516653c4295f4f3333e
|
| --- /dev/null
|
| +++ b/ui/views/widget/desktop_aura/desktop_factory_ozone_wayland.cc
|
| @@ -0,0 +1,29 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "ui/views/widget/desktop_aura/desktop_factory_ozone_wayland.h"
|
| +
|
| +#include <stdio.h>
|
| +
|
| +#include "ui/views/widget/desktop_aura/desktop_screen_wayland.h"
|
| +#include "ui/views/widget/desktop_aura/desktop_window_tree_host_wayland.h"
|
| +
|
| +namespace views {
|
| +
|
| +DesktopWindowTreeHost* DesktopFactoryOzoneWayland::CreateWindowTreeHost(
|
| + internal::NativeWidgetDelegate* native_widget_delegate,
|
| + DesktopNativeWidgetAura* desktop_native_widget_aura) {
|
| + return new DesktopWindowTreeHostWayland(native_widget_delegate,
|
| + desktop_native_widget_aura);
|
| +}
|
| +
|
| +display::Screen* DesktopFactoryOzoneWayland::CreateDesktopScreen() {
|
| + return new DesktopScreenWayland;
|
| +}
|
| +
|
| +views::DesktopFactoryOzone* CreateDesktopFactoryOzoneWayland() {
|
| + return new views::DesktopFactoryOzoneWayland;
|
| +}
|
| +
|
| +} // namespace views
|
|
|