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

Unified Diff: services/ui/public/interfaces/window_tree.mojom

Issue 2455963006: Wires up drag/drop for aura-mus (Closed)
Patch Set: twweaks Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/web_contents/web_contents_view_aura.cc ('k') | services/ui/ws/drag_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/public/interfaces/window_tree.mojom
diff --git a/services/ui/public/interfaces/window_tree.mojom b/services/ui/public/interfaces/window_tree.mojom
index 0565b367a12fd1f4ba742bd4b6ffc498f8c67aff..354c3c25eba2cb5674d7bb8cdafe7cb2689d2006 100644
--- a/services/ui/public/interfaces/window_tree.mojom
+++ b/services/ui/public/interfaces/window_tree.mojom
@@ -447,18 +447,18 @@ interface WindowTreeClient {
// Called when the mouse cursor enters a window that has opted into
// accepting drags through SetAcceptsDrags(), providing a list
// of available mime types. Returns a bitmask of the supported
- // operations.
+ // operations. |screen_position| is in screen coordinates.
OnDragEnter(uint32 window,
uint32 key_state,
- gfx.mojom.Point position,
+ gfx.mojom.Point screen_position,
uint32 effect_bitmask) => (uint32 supported_op_bitmask);
// Called when the pointer moves over the window after the initial
// DragEnter. Returns a bitmask of the supported operations at this
- // location.
+ // location. |screen_position| is in screen coordinates.
OnDragOver(uint32 window,
uint32 key_state,
- gfx.mojom.Point position,
+ gfx.mojom.Point screen_position,
uint32 effect_bitmask) => (uint32 supported_op_bitmask);
// Called when the pointer leaves a window or if the drop is
@@ -466,10 +466,10 @@ interface WindowTreeClient {
OnDragLeave(uint32 window);
// Called when the drop occurs on a window. Returns the action
- // taken.
+ // taken. |screen_position| is in screen coordinates.
OnCompleteDrop(uint32 window,
uint32 key_state,
- gfx.mojom.Point position,
+ gfx.mojom.Point screen_position,
uint32 effect_bitmask) => (uint32 action_taken);
// Called on the client that requested PerformDragDrop() to return which drag
« no previous file with comments | « content/browser/web_contents/web_contents_view_aura.cc ('k') | services/ui/ws/drag_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698