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

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

Issue 2027943002: [WIP] Make content_shell run under Wayland Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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_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

Powered by Google App Engine
This is Rietveld 408576698