Index: ui/views/widget/desktop_aura/desktop_drag_drop_client_wayland.h |
diff --git a/ui/views/widget/desktop_aura/desktop_drag_drop_client_wayland.h b/ui/views/widget/desktop_aura/desktop_drag_drop_client_wayland.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7efe123ba424c44ca4514553f3e219c9d779b4c1 |
--- /dev/null |
+++ b/ui/views/widget/desktop_aura/desktop_drag_drop_client_wayland.h |
@@ -0,0 +1,40 @@ |
+// Copyright 2016 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef UI_VIEWS_WIDGETS_DESKTOP_AURA_DESKTOP_DRAG_DROP_CLIENT_WAYLAND_H_ |
+#define UI_VIEWS_WIDGETS_DESKTOP_AURA_DESKTOP_DRAG_DROP_CLIENT_WAYLAND_H_ |
+ |
+#include "base/compiler_specific.h" |
+#include "ui/views/views_export.h" |
+#include "ui/wm/public/drag_drop_client.h" |
+ |
+namespace views { |
+ |
+class VIEWS_EXPORT DesktopDragDropClientWayland |
tonikitoo
2016/06/06 15:29:59
I believe we should start with the basis at this t
joone
2016/06/06 18:22:22
Ok, I will add DesktopDragDropClientWayland later.
|
+ : public aura::client::DragDropClient { |
+ public: |
+ explicit DesktopDragDropClientWayland(aura::Window* root_window); |
+ ~DesktopDragDropClientWayland() override; |
+ |
+ // Overridden from aura::client::DragDropClient: |
+ int StartDragAndDrop(const ui::OSExchangeData& data, |
+ aura::Window* root_window, |
+ aura::Window* source_window, |
+ const gfx::Point& root_location, |
+ int operation, |
+ ui::DragDropTypes::DragEventSource source) override; |
+ void DragUpdate(aura::Window* target, |
+ const ui::LocatedEvent& event) override; |
+ void Drop(aura::Window* target, |
+ const ui::LocatedEvent& event) override; |
+ void DragCancel() override; |
+ bool IsDragDropInProgress() override; |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(DesktopDragDropClientWayland); |
+}; |
+ |
+} // namespace views |
+ |
+#endif // UI_VIEWS_WIDGETS_DESKTOP_AURA_DESKTOP_DRAG_DROP_CLIENT_WAYLAND_H_ |