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

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

Issue 2024953007: Make DesktopFactoryOzone instances to respect --ozone-platform (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make DesktopFactoryOzone instances to respect --ozone-platform Created 4 years, 6 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..8f8e494a5656c2e5cd5024a563f31cb1f02e776f
--- /dev/null
+++ b/ui/views/widget/desktop_aura/desktop_factory_ozone_wayland.cc
@@ -0,0 +1,24 @@
+// 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>
+
+namespace views {
+
+DesktopWindowTreeHost* DesktopFactoryOzoneWayland::CreateWindowTreeHost(
+ internal::NativeWidgetDelegate* native_widget_delegate,
+ DesktopNativeWidgetAura* desktop_native_widget_aura) {
+ return nullptr;
+}
+
+display::Screen* DesktopFactoryOzoneWayland::CreateDesktopScreen() {
+ return nullptr;
+}
+
+views::DesktopFactoryOzone* CreateDesktopFactoryOzoneWayland() {
+ return new views::DesktopFactoryOzoneWayland;
+}
+
+} // namespace views

Powered by Google App Engine
This is Rietveld 408576698