Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Unified Diff: ui/views/widget/desktop_aura/desktop_factory_ozone_wayland.cc

Issue 2027943002: [WIP] Make content_shell run under Wayland Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: (09.28.2016)Rebase on master Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
« no previous file with comments | « ui/views/widget/desktop_aura/desktop_factory_ozone_wayland.h ('k') | ui/views/widget/desktop_aura/desktop_screen_wayland.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698