Chromium Code Reviews| Index: ui/views/widget/desktop_aura/desktop_factory_wayland.cc |
| diff --git a/ui/views/widget/desktop_aura/desktop_factory_wayland.cc b/ui/views/widget/desktop_aura/desktop_factory_wayland.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..7470ef73b4bfe421abc174414c58cd428e382b1d |
| --- /dev/null |
| +++ b/ui/views/widget/desktop_aura/desktop_factory_wayland.cc |
| @@ -0,0 +1,33 @@ |
| +// 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_wayland.h" |
| + |
| +#include "ui/views/widget/desktop_aura/desktop_screen_wayland.h" |
| +#include "ui/views/widget/desktop_aura/desktop_window_tree_host_wayland.h" |
| + |
| +namespace display { |
| +class Screen; |
| +} |
| + |
| +namespace views { |
| + |
| +DesktopFactoryOzoneWayland::DesktopFactoryOzoneWayland() { |
|
tonikitoo
2016/06/06 15:29:59
For the record, this duplicates https://codereview
joone
2016/06/06 18:22:22
Acknowledged.
|
| +} |
| + |
| +DesktopFactoryOzoneWayland::~DesktopFactoryOzoneWayland() { |
| +} |
| + |
| +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(); |
| +} |
| + |
| +} // namespace views |