1 // Copyright 2013 Intel Corporation. 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.
5 #ifndef OZONE_IMPL_DESKTOP_FACTORY_WAYLAND_H_
6 #define OZONE_IMPL_DESKTOP_FACTORY_WAYLAND_H_
8 #include "base/compiler_specific.h"
9 #include "ui/views/views_export.h"
10 #include "ui/views/widget/desktop_aura/desktop_factory_ozone.h"
14 // Desktop support for wayland
16 // TODO(spang): Chromium needs to move desktop support into ui/base so we don't
17 // reference views from ozone platform code. This module has an undeclared
18 // dependency on views.
19 class VIEWS_EXPORT DesktopFactoryWayland
20 : public DesktopFactoryOzone {
22 DesktopFactoryWayland();
23 virtual ~DesktopFactoryWayland();
25 // views::DesktopFactoryOzone
26 virtual DesktopWindowTreeHost* CreateWindowTreeHost(
27 internal::NativeWidgetDelegate* native_widget_delegate,
28 DesktopNativeWidgetAura* desktop_native_widget_aura) OVERRIDE;
33 #endif // OZONE_IMPL_DESKTOP_FACTORY_WAYLAND_H_