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_DRAG_DROP_CLIENT_WAYLAND_H_
6 #define OZONE_IMPL_DESKTOP_DRAG_DROP_CLIENT_WAYLAND_H_
8 #include "base/compiler_specific.h"
9 #include "ui/aura/client/drag_drop_client.h"
10 #include "ui/views/views_export.h"
14 class VIEWS_EXPORT DesktopDragDropClientWayland
15 : public aura::client::DragDropClient {
17 explicit DesktopDragDropClientWayland(aura::Window* root_window);
18 virtual ~DesktopDragDropClientWayland();
20 // Overridden from aura::client::DragDropClient:
21 virtual int StartDragAndDrop(
22 const ui::OSExchangeData& data,
23 aura::Window* root_window,
24 aura::Window* source_window,
25 const gfx::Point& root_location,
27 ui::DragDropTypes::DragEventSource source) OVERRIDE;
28 virtual void DragUpdate(aura::Window* target,
29 const ui::LocatedEvent& event) OVERRIDE;
30 virtual void Drop(aura::Window* target,
31 const ui::LocatedEvent& event) OVERRIDE;
32 virtual void DragCancel() OVERRIDE;
33 virtual bool IsDragDropInProgress() OVERRIDE;
36 DISALLOW_COPY_AND_ASSIGN(DesktopDragDropClientWayland);
41 #endif // OZONE_IMPL_DESKTOP_DRAG_DROP_CLIENT_WAYLAND_H_