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 SERVICES_UI_WS_DRAG_TARGET_CONNECTION_H_ | 5 #ifndef SERVICES_UI_WS_DRAG_TARGET_CONNECTION_H_ |
6 #define SERVICES_UI_WS_DRAG_TARGET_CONNECTION_H_ | 6 #define SERVICES_UI_WS_DRAG_TARGET_CONNECTION_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <unordered_map> | 9 #include <unordered_map> |
10 | 10 |
11 #include "base/bind.h" | 11 #include "base/bind.h" |
12 #include "mojo/public/cpp/bindings/array.h" | |
13 #include "ui/gfx/geometry/point.h" | 12 #include "ui/gfx/geometry/point.h" |
14 | 13 |
15 namespace ui { | 14 namespace ui { |
16 namespace ws { | 15 namespace ws { |
17 | 16 |
18 class ServerWindow; | 17 class ServerWindow; |
19 | 18 |
20 // An abstract connection which can respond to drag/drop target requests. | 19 // An abstract connection which can respond to drag/drop target requests. |
21 // | 20 // |
22 // The methods in this class send drag and drop messages to the client and | 21 // The methods in this class send drag and drop messages to the client and |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 // (Again, we don't send this message to the source window as we didn't send | 82 // (Again, we don't send this message to the source window as we didn't send |
84 // a DragStart message; the client library handles the equivalent at its | 83 // a DragStart message; the client library handles the equivalent at its |
85 // layer.) | 84 // layer.) |
86 virtual void PerformOnDragDropDone() = 0; | 85 virtual void PerformOnDragDropDone() = 0; |
87 }; | 86 }; |
88 | 87 |
89 } // namespace ws | 88 } // namespace ws |
90 } // namespace ui | 89 } // namespace ui |
91 | 90 |
92 #endif // SERVICES_UI_WS_DRAG_TARGET_CONNECTION_H_ | 91 #endif // SERVICES_UI_WS_DRAG_TARGET_CONNECTION_H_ |
OLD | NEW |