Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / ozone / impl / desktop_factory_wayland.h
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.
4
5 #ifndef OZONE_IMPL_DESKTOP_FACTORY_WAYLAND_H_
6 #define OZONE_IMPL_DESKTOP_FACTORY_WAYLAND_H_
7
8 #include "base/compiler_specific.h"
9 #include "ui/views/views_export.h"
10 #include "ui/views/widget/desktop_aura/desktop_factory_ozone.h"
11
12 namespace views {
13
14 // Desktop support for wayland
15 //
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 {
21  public:
22   DesktopFactoryWayland();
23   virtual ~DesktopFactoryWayland();
24
25   // views::DesktopFactoryOzone
26   virtual DesktopWindowTreeHost* CreateWindowTreeHost(
27       internal::NativeWidgetDelegate* native_widget_delegate,
28       DesktopNativeWidgetAura* desktop_native_widget_aura) OVERRIDE;
29 };
30
31 }  // namespace views
32
33 #endif  //  OZONE_IMPL_DESKTOP_FACTORY_WAYLAND_H_