Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / ozone / impl / ozone_display.h
index 229ca2c..eca8fb9 100644 (file)
@@ -5,6 +5,7 @@
 #ifndef OZONE_IMPL_OZONE_DISPLAY_H_
 #define OZONE_IMPL_OZONE_DISPLAY_H_
 
+#include "ozone/platform/ozone_export_wayland.h"
 #include "ozone/ui/events/output_change_observer.h"
 #include "ui/gfx/native_widget_types.h"
 
@@ -12,16 +13,19 @@ namespace gfx {
 class Screen;
 }
 
+namespace views {
+class DesktopScreenWayland;
+}
+
 namespace ozonewayland {
 
-class DesktopScreenWayland;
 class EventConverterOzoneWayland;
 class OzoneDisplayChannel;
 class OzoneDisplayChannelHost;
 class WaylandDisplay;
 class WaylandWindow;
 
-class OzoneDisplay : public OutputChangeObserver {
+class OZONE_WAYLAND_EXPORT OzoneDisplay : public OutputChangeObserver {
  public:
   static OzoneDisplay* GetInstance();
 
@@ -34,7 +38,7 @@ class OzoneDisplay : public OutputChangeObserver {
   intptr_t GetNativeDisplay();
 
   gfx::Screen* CreateDesktopScreen();
-  const DesktopScreenWayland* GetPrimaryScreen() const;
+  const views::DesktopScreenWayland* GetPrimaryScreen() const;
 
   gfx::AcceleratedWidget GetAcceleratedWidget();
   gfx::AcceleratedWidget RealizeAcceleratedWidget(gfx::AcceleratedWidget w);
@@ -49,7 +53,7 @@ class OzoneDisplay : public OutputChangeObserver {
 
   static void DelayedInitialization(OzoneDisplay* display);
 
-  DesktopScreenWayland* desktop_screen_;
+  views::DesktopScreenWayland* desktop_screen_;
   WaylandDisplay* display_;
   OzoneDisplayChannel* channel_;
   OzoneDisplayChannelHost* host_;