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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_factory_ozone_wayland.h

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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef UI_OZONE_PLATFORM_WAYLAND_DESKTOP_FACTORY_OZONE_WAYLAND_H_
6 #define UI_OZONE_PLATFORM_WAYLAND_DESKTOP_FACTORY_OZONE_WAYLAND_H_
7
8 #include "ui/views/views_export.h"
9 #include "ui/views/widget/desktop_aura/desktop_factory_ozone.h"
10
11 namespace display {
12 class Screen;
13 }
14
15 namespace views {
16 class DesktopNativeWidgetAura;
17 class DesktopWindowTreeHost;
18
19 namespace internal {
20 class NativeWidgetDelegate;
21 }
22
23 class VIEWS_EXPORT DesktopFactoryOzoneWayland : public DesktopFactoryOzone {
24 public:
25
26 // Delegates implementation of DesktopWindowTreeHost::Create externally to
27 // Ozone implementation.
28 DesktopWindowTreeHost* CreateWindowTreeHost(
29 internal::NativeWidgetDelegate* native_widget_delegate,
30 DesktopNativeWidgetAura* desktop_native_widget_aura) override;
31
32 // Delegates implementation of DesktopScreen externally to
33 // Ozone implementation.
34 display::Screen* CreateDesktopScreen() override;
35 };
36
37 views::DesktopFactoryOzone* CreateDesktopFactoryOzoneWayland();
38
39 } // namespace views
40
41 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_FACTORY_OZONE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698