Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. 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 UI_VIEWS_WIDGETS_DESKTOP_AURA_DESKTOP_DRAG_DROP_CLIENT_WAYLAND_H_ | |
| 6 #define UI_VIEWS_WIDGETS_DESKTOP_AURA_DESKTOP_DRAG_DROP_CLIENT_WAYLAND_H_ | |
| 7 | |
| 8 #include "base/compiler_specific.h" | |
| 9 #include "ui/views/views_export.h" | |
| 10 #include "ui/wm/public/drag_drop_client.h" | |
| 11 | |
| 12 namespace views { | |
| 13 | |
| 14 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.
| |
| 15 : public aura::client::DragDropClient { | |
| 16 public: | |
| 17 explicit DesktopDragDropClientWayland(aura::Window* root_window); | |
| 18 ~DesktopDragDropClientWayland() override; | |
| 19 | |
| 20 // Overridden from aura::client::DragDropClient: | |
| 21 int StartDragAndDrop(const ui::OSExchangeData& data, | |
| 22 aura::Window* root_window, | |
| 23 aura::Window* source_window, | |
| 24 const gfx::Point& root_location, | |
| 25 int operation, | |
| 26 ui::DragDropTypes::DragEventSource source) override; | |
| 27 void DragUpdate(aura::Window* target, | |
| 28 const ui::LocatedEvent& event) override; | |
| 29 void Drop(aura::Window* target, | |
| 30 const ui::LocatedEvent& event) override; | |
| 31 void DragCancel() override; | |
| 32 bool IsDragDropInProgress() override; | |
| 33 | |
| 34 private: | |
| 35 DISALLOW_COPY_AND_ASSIGN(DesktopDragDropClientWayland); | |
| 36 }; | |
| 37 | |
| 38 } // namespace views | |
| 39 | |
| 40 #endif // UI_VIEWS_WIDGETS_DESKTOP_AURA_DESKTOP_DRAG_DROP_CLIENT_WAYLAND_H_ | |
| OLD | NEW |