OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef UI_VIEWS_MUS_DRAG_DROP_CLIENT_MUS_H_ | 5 #ifndef UI_VIEWS_MUS_DRAG_DROP_CLIENT_MUS_H_ |
6 #define UI_VIEWS_MUS_DRAG_DROP_CLIENT_MUS_H_ | 6 #define UI_VIEWS_MUS_DRAG_DROP_CLIENT_MUS_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "ui/aura/client/drag_drop_client.h" | 9 #include "ui/aura/client/drag_drop_client.h" |
10 #include "ui/base/dragdrop/drag_drop_types.h" | 10 #include "ui/base/dragdrop/drag_drop_types.h" |
11 | 11 |
12 namespace aura { | 12 namespace aura { |
13 class Window; | 13 class Window; |
14 } | 14 } |
15 | 15 |
16 namespace ui { | 16 namespace ui { |
17 class LocatedEvent; | |
18 class OSExchangeData; | 17 class OSExchangeData; |
19 class Window; | 18 class Window; |
20 } | 19 } |
21 | 20 |
22 namespace views { | 21 namespace views { |
23 | 22 |
24 // An aura client object that translates aura dragging methods to their | 23 // An aura client object that translates aura dragging methods to their |
25 // remote ui::Window equivalents. | 24 // remote ui::Window equivalents. |
26 class DragDropClientMus : public aura::client::DragDropClient { | 25 class DragDropClientMus : public aura::client::DragDropClient { |
27 public: | 26 public: |
(...skipping 20 matching lines...) Expand all Loading... |
48 ui::Window* ui_window_; | 47 ui::Window* ui_window_; |
49 | 48 |
50 base::Closure runloop_quit_closure_; | 49 base::Closure runloop_quit_closure_; |
51 | 50 |
52 DISALLOW_COPY_AND_ASSIGN(DragDropClientMus); | 51 DISALLOW_COPY_AND_ASSIGN(DragDropClientMus); |
53 }; | 52 }; |
54 | 53 |
55 } // namespace views | 54 } // namespace views |
56 | 55 |
57 #endif // UI_VIEWS_MUS_DRAG_DROP_CLIENT_MUS_H_ | 56 #endif // UI_VIEWS_MUS_DRAG_DROP_CLIENT_MUS_H_ |
OLD | NEW |