Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Side by Side Diff: services/ui/ws/drag_controller.cc

Issue 2786983003: [aura-mus] Add ui::CursorData, with mojo serialization. (Closed)
Patch Set: everybody comments Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « services/ui/ws/drag_controller.h ('k') | services/ui/ws/drag_controller_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « services/ui/ws/drag_controller.h ('k') | services/ui/ws/drag_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698