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

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

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.h
diff --git a/ui/views/widget/desktop_aura/desktop_factory_wayland.h b/ui/views/widget/desktop_aura/desktop_factory_wayland.h
new file mode 100644
index 0000000000000000000000000000000000000000..dd15dd67cde97f5ce7617251358c96630836de4e
--- /dev/null
+++ b/ui/views/widget/desktop_aura/desktop_factory_wayland.h
@@ -0,0 +1,40 @@
+// 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.
+
+#ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_FACTORY_OZONE_WAYLAND_H_
+#define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_FACTORY_OZONE_WAYLAND_H_
+
+#include "ui/views/widget/desktop_aura/desktop_factory_ozone.h"
+
+namespace display {
+class Screen;
+}
+
+namespace gfx {
+class Rect;
+}
+
+namespace views {
+class DesktopNativeWidgetAura;
+class DesktopWindowTreeHost;
+
+namespace internal {
+class NativeWidgetDelegate;
+}
+
+class VIEWS_EXPORT DesktopFactoryOzoneWayland : public DesktopFactoryOzone {
tonikitoo 2016/06/06 15:29:59 For the record, it duplicates https://codereview.c
+ public:
+ DesktopFactoryOzoneWayland();
+ ~DesktopFactoryOzoneWayland() override;
+
+ DesktopWindowTreeHost* CreateWindowTreeHost(
+ internal::NativeWidgetDelegate* native_widget_delegate,
+ DesktopNativeWidgetAura* desktop_native_widget_aura) override;
+
+ display::Screen* CreateDesktopScreen() override;
+};
+
+} // namespace views
+
+#endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_FACTORY_OZONE_WAYLAND_H_

Powered by Google App Engine
This is Rietveld 408576698