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 #include "services/ui/ws/drag_controller.h" | 5 #include "services/ui/ws/drag_controller.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "services/ui/public/interfaces/cursor.mojom.h" | 10 #include "services/ui/public/interfaces/cursor/cursor.mojom.h" |
11 #include "services/ui/ws/drag_cursor_updater.h" | 11 #include "services/ui/ws/drag_cursor_updater.h" |
12 #include "services/ui/ws/drag_source.h" | 12 #include "services/ui/ws/drag_source.h" |
13 #include "services/ui/ws/drag_target_connection.h" | 13 #include "services/ui/ws/drag_target_connection.h" |
14 #include "services/ui/ws/event_dispatcher.h" | 14 #include "services/ui/ws/event_dispatcher.h" |
15 #include "services/ui/ws/server_window.h" | 15 #include "services/ui/ws/server_window.h" |
16 | 16 |
17 namespace ui { | 17 namespace ui { |
18 namespace ws { | 18 namespace ws { |
19 | 19 |
20 struct DragController::Operation { | 20 struct DragController::Operation { |
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
357 return "LEAVE"; | 357 return "LEAVE"; |
358 case OperationType::DROP: | 358 case OperationType::DROP: |
359 return "DROP"; | 359 return "DROP"; |
360 } | 360 } |
361 NOTREACHED(); | 361 NOTREACHED(); |
362 return std::string(); | 362 return std::string(); |
363 } | 363 } |
364 | 364 |
365 } // namespace ws | 365 } // namespace ws |
366 } // namespace ui | 366 } // namespace ui |
OLD | NEW |