Kartikaya Gupta
b2cab8a5ed
Bug 1147335 - Add support for drag-and-drop via touch (Windows-only, main-process-only). r=smaug
...
This patch adds a new non-DOM event type, "mousetouchdrag". The name is horrible, I
know. The "mouse" comes from the fact that it's a WidgetMouseEvent, and the
"touchdrag" comes from the fact that this event is fired at the start of a touch
gesture for drag-and-drop. Right now this event is only fired from the Windows
widget code, when we receive a touch-source doubleclick event from the OS. This
event is sent to us from the OS when it detects the sequence "touchstart, touchend,
touchstart" within certain time/distance constraints. Eventually we may detect
similar gestures for other platforms in the APZ GestureEventListener and dispatch
the "mousetouchdrag" event for those as well.
The only effect of this event is that it begins tracking a drag gesture in the
EventStateManager. Subsequent touchmove events can begin the actual drag-and-drop
operation by calling ::DoDragDrop. See the discussion in bug 1147335 for some
important caveats about DoDragDrop and how it only works with left-mouse-button
events (real or synthetic).
MozReview-Commit-ID: bGyOk6dRoJ
2017-01-03 10:55:48 -05:00
..
2016-12-23 09:08:37 -08:00
2016-12-29 14:05:11 -05:00
2016-12-02 13:46:53 -08:00
2016-12-30 13:44:55 +13:00
2016-07-14 10:16:42 -06:00
2016-09-05 11:45:39 +08:00
2016-12-20 21:47:31 +09:00
2016-12-19 20:54:16 +11:00
2017-01-03 10:55:48 -05:00
2016-07-14 10:16:42 -06:00
2016-11-16 15:24:44 +01:00
2016-11-30 19:48:02 -05:00
2016-07-19 11:56:07 -07:00
2016-11-07 21:16:52 -05:00
2016-10-12 22:05:09 +09:00
2016-10-12 21:52:01 +09:00
2016-08-03 17:06:10 +09:00
2016-12-16 16:25:22 +09:00
2016-09-15 00:48:47 +09:00
2017-01-03 10:55:48 -05:00
2016-09-21 14:24:26 +08:00
2016-09-21 14:24:26 +08:00
2016-12-20 11:43:45 -05:00
2016-11-21 15:10:11 -05:00
2016-11-03 03:23:46 -07:00
2016-09-21 14:24:26 +08:00
2016-06-28 16:51:59 +09:00
2016-11-07 21:16:52 -05:00
2016-11-07 21:16:52 -05:00
2016-09-24 09:46:01 -04:00
2016-09-29 10:05:25 -04:00
2016-09-29 00:22:32 +01:00
2016-07-26 14:23:47 -04:00
2016-07-26 14:23:47 -04:00
2016-05-12 13:28:31 +09:00
2016-12-20 14:52:23 +01:00
2016-11-21 20:01:15 -05:00
2016-07-12 09:16:45 +10:00
2016-11-21 22:15:07 +09:00
2016-04-25 17:23:21 -07:00
2016-08-11 16:43:32 -04:00
2016-08-11 16:43:32 -04:00
2016-12-23 18:09:44 -05:00
2016-11-28 11:39:22 +00:00
2016-08-24 02:07:21 +03:00
2016-08-24 02:07:21 +03:00
2016-02-05 16:29:33 +00:00
2016-02-05 16:29:33 +00:00
2016-11-30 19:48:02 -05:00
2016-12-19 14:38:19 +11:00
2016-10-16 12:43:56 -07:00
2016-11-15 04:26:00 +01:00
2016-11-15 04:26:00 +01:00
2016-06-20 15:55:00 +02:00
2016-11-15 04:26:00 +01:00
2016-11-15 04:26:00 +01:00
2016-12-01 15:25:25 -05:00
2016-12-01 15:25:25 -05:00
2016-10-19 15:01:39 -04:00
2016-10-18 11:56:20 -07:00
2016-11-15 04:26:00 +01:00
2016-11-15 04:26:00 +01:00
2016-12-16 16:25:22 +09:00
2016-11-02 20:46:53 +09:00
2016-10-16 12:43:56 -07:00
2016-01-30 09:05:36 -08:00
2016-05-12 12:07:45 +12:00
2016-06-03 12:04:22 -04:00
2016-01-30 09:05:36 -08:00
2016-06-20 15:55:00 +02:00
2016-06-10 13:32:01 +01:00
2016-07-04 17:11:52 +02:00
2016-10-18 11:56:20 -07:00
2016-12-23 18:09:44 -05:00
2016-08-24 02:07:21 +03:00
2016-10-16 12:43:56 -07:00
2016-11-21 15:10:11 -05:00
2016-04-19 20:09:37 +09:00
2016-01-30 09:05:36 -08:00
2016-10-28 00:31:14 +01:00
2016-01-05 10:08:57 +00:00
2016-04-06 09:53:00 +02:00
2016-05-16 10:40:54 +01:00
2016-01-22 16:05:19 +00:00
2016-10-03 16:23:23 +08:00
2016-01-12 11:08:33 -06:00
2016-10-26 11:07:16 +09:00
2016-12-19 20:54:16 +11:00
2016-04-13 16:59:15 -04:00
2016-04-13 16:59:15 -04:00
2016-01-30 09:05:36 -08:00
2016-12-30 02:03:29 +11:00
2016-10-20 17:57:55 +13:00
2016-04-21 14:11:14 -04:00
2015-10-20 12:06:27 +03:00
2016-10-28 00:31:14 +01:00
2016-10-28 00:31:14 +01:00
2016-01-05 10:08:57 +00:00
2016-01-05 10:08:57 +00:00
2016-04-06 09:53:00 +02:00
2016-04-06 09:53:00 +02:00
2016-08-24 14:47:04 +08:00
2016-11-09 08:56:27 +13:00
2016-11-09 08:56:27 +13:00
2016-10-26 11:07:16 +09:00
2016-10-16 12:43:56 -07:00
2016-06-20 15:55:00 +02:00
2016-11-24 16:41:59 +01:00
2016-06-09 13:30:44 +02:00
2016-07-19 11:56:07 -07:00
2016-07-01 01:15:16 -07:00
2016-12-16 10:54:11 +11:00
2016-12-16 10:54:11 +11:00
2016-06-03 18:56:04 +09:00
2016-06-03 18:56:04 +09:00
2016-12-16 15:54:49 -05:00
2016-12-19 20:54:16 +11:00
2016-09-29 10:20:52 -04:00
2016-09-29 10:20:52 -04:00
2016-01-30 09:05:36 -08:00
2015-10-26 09:29:54 +09:00
2016-10-06 20:52:03 +09:00
2016-10-06 20:52:03 +09:00
2016-03-16 13:47:48 +09:00
2016-12-16 16:25:22 +09:00
2016-06-20 16:34:40 +09:00
2016-05-14 18:03:50 -07:00
2016-07-19 11:56:07 -07:00
2016-07-19 11:56:07 -07:00
2017-01-03 10:55:48 -05:00
2016-05-27 09:57:38 -07:00
2016-08-24 14:47:04 +08:00
2016-05-19 17:47:49 +09:00
2016-12-01 12:15:58 -05:00
2016-07-14 10:11:46 -04:00
2016-07-14 10:11:46 -04:00