gecko-dev/dom/events
Edgar Chen 6b87b447c5 Bug 1697769 - Apply implicit pointer capture only for pointer events that are generated from the touch events; r=smaug
Pointer capture would override the capturing content set in PresShell for mouse
event, it isn't affect touch event because dispatching touch event would take
the capturing content in PresShell into account, i.e.
https://searchfox.org/mozilla-central/rev/fa48ebee58d59fa846919c3e2c3122b08db57c9c/layout/base/PresShell.cpp#8712-8719

Touch input isn't always generating a touch event, but a compabitility mouse
event with the touch as inputsource, e.g. chrome popup window on Windows platform,
see https://searchfox.org/mozilla-central/rev/3de2db87f3c9001ae478318d47a2ca3427574382/widget/windows/nsWindow.cpp#8130-8134
In such case, we don't apply implicit pointer capture to prevent the capturing
content set in PresShell being overried which could cause the drag to scroll
doesn't work.

Differential Revision: https://phabricator.services.mozilla.com/D111085
2021-04-13 13:14:12 +00:00
..
crashtests Bug 1603074 - part 1: Make `synthesizePlainDragAndDrop()` synthesize drag events without `DataTransfer` object r=smaug 2019-12-21 12:27:06 +00:00
test Bug 1697769 - Apply implicit pointer capture only for pointer events that are generated from the touch events; r=smaug 2021-04-13 13:14:12 +00:00
AnimationEvent.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
AnimationEvent.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/events. r=smaug 2020-02-20 15:56:28 +00:00
AsyncEventDispatcher.cpp Bug 1650145 - Replace all value uses of Empty[C]String by 0-length _ns literals. r=froydnj,geckoview-reviewers,agi 2020-09-23 15:17:15 +00:00
AsyncEventDispatcher.h
BeforeUnloadEvent.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
BeforeUnloadEvent.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/events. r=smaug 2020-02-20 15:56:28 +00:00
Clipboard.cpp Bug 1689836 - Improve clipboard.write error messages and check image decoding more. r=nika 2021-02-24 19:51:05 +00:00
Clipboard.h Bug 1619947 - Reimplement navigator.clipboard.write to use ClipboardItem r=nika 2021-01-24 12:35:46 +00:00
ClipboardEvent.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
ClipboardEvent.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/events. r=smaug 2020-02-20 15:56:28 +00:00
ClipboardItem.cpp Bug 1688279 - Support strings as data in ClipboardItem r=nika 2021-01-29 22:33:55 +00:00
ClipboardItem.h Bug 1688279 - Support strings as data in ClipboardItem r=nika 2021-01-29 22:33:55 +00:00
CommandEvent.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
CommandEvent.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/events. r=smaug 2020-02-20 15:56:28 +00:00
CompositionEvent.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
CompositionEvent.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/events. r=smaug 2020-02-20 15:56:28 +00:00
ConstructibleEventTarget.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
ConstructibleEventTarget.h
ContentEventHandler.cpp Bug 1687239 part 2 - Remove plugin support from layout/. r=emilio 2021-01-25 11:53:49 +00:00
ContentEventHandler.h Bug 1683226 - part 3: Get rid of pathes for handling plugin from `IMEStateManager`, `IMEContentObserver` and `ContentEventHandler` r=smaug 2020-12-21 05:52:49 +00:00
CustomEvent.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
CustomEvent.h Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
DOMEventTargetHelper.cpp Bug 1679204 - Consider to add signal to addEventListener, r=edgar 2020-12-14 15:45:15 +00:00
DOMEventTargetHelper.h Bug 1673931 - Avoid including BindingDeclarations.h from header files. r=nika 2021-03-04 14:32:14 +00:00
DataTransfer.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
DataTransfer.h Bug 1671641 - Make `dom/events` buildable outside of `unified-build` environment. r=sg 2020-10-21 08:00:18 +00:00
DataTransferItem.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
DataTransferItem.h Bug 1679522 - Fix include directives and forward declarations. r=andi,necko-reviewers,jgilbert 2021-03-25 10:19:44 +00:00
DataTransferItemList.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
DataTransferItemList.h Bug 1679522 - Fix include directives and forward declarations. r=andi,necko-reviewers,jgilbert 2021-03-25 10:19:44 +00:00
DeviceMotionEvent.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
DeviceMotionEvent.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/events. r=smaug 2020-02-20 15:56:28 +00:00
DragEvent.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
DragEvent.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/events. r=smaug 2020-02-20 15:56:28 +00:00
Event.cpp Bug 1672330 - Move pointer lock code to PointerLockManager; r=smaug 2021-01-27 16:38:29 +00:00
Event.h Bug 1674080 - Add some required includes to the bindings generator. r=peterv 2021-03-11 13:38:31 +00:00
EventDispatcher.cpp Bug 1698643 - Implement a telemetry probe to collect the input latency from mouseup(followed by a click) to the next composition r=smaug 2021-03-18 14:20:20 +00:00
EventDispatcher.h Bug 1691515 - Add MOZ_KNOWN_LIVE member annotation r=andi 2021-03-05 23:23:03 +00:00
EventListenerManager.cpp Bug 1701789 - Restore UserProximityEvent r=smaug 2021-03-30 20:44:47 +00:00
EventListenerManager.h Bug 1679204 - Consider to add signal to addEventListener, r=edgar 2020-12-14 15:45:15 +00:00
EventListenerService.cpp Bug 1691913 - Rename nsBaseHashtable::GetOrInsert(With) to LookupOrInsert(With). r=xpcom-reviewers,necko-reviewers,jgilbert,dragana,nika 2021-02-26 09:11:45 +00:00
EventListenerService.h Bug 1634281 - Use nsTHashMap for nsBaseHashtable/nsDataHashtable uses with RefPtr data type. r=xpcom-reviewers,nika 2021-03-09 11:39:36 +00:00
EventNameList.h Bug 1697093 - Expose ongamepad[dis]connected IDL attributes r=edgar 2021-04-08 23:25:42 +00:00
EventStateManager.cpp Bug 1699284 - Part 4: Continue to search/try next accesskey target if current target is not focusable; r=masayuki 2021-03-25 16:09:54 +00:00
EventStateManager.h Bug 1699284 - Part 1: Update comment for PerformAccesskey; r=masayuki 2021-03-25 16:09:53 +00:00
EventStates.h Bug 1682030 - Clean up NPAPI plugin fallback behavior. r=jmathies,emilio 2021-04-06 19:28:18 +00:00
EventTarget.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
EventTarget.h Bug 1673931 - Avoid including BindingDeclarations.h from header files. r=nika 2021-03-04 14:32:14 +00:00
FocusEvent.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
FocusEvent.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/events. r=smaug 2020-02-20 15:56:28 +00:00
GlobalKeyListener.cpp Bug 1689034 - part 3: Get rid of keyboard events on plugins r=smaug 2021-01-28 07:48:15 +00:00
GlobalKeyListener.h Bug 1634474. Make `dom/html/` buildable outside of `unified-build` environment. r=farre 2020-05-04 14:29:02 +00:00
IMEContentObserver.cpp Bug 1692052 - Don't notify IMEContext of widget when IMEStateManger doesn't manage this content. r=masayuki 2021-03-15 09:31:58 +00:00
IMEContentObserver.h Bug 1683226 - part 3: Get rid of pathes for handling plugin from `IMEStateManager`, `IMEContentObserver` and `ContentEventHandler` r=smaug 2020-12-21 05:52:49 +00:00
IMEStateManager.cpp Bug 1692052 - Don't notify IMEContext of widget when IMEStateManger doesn't manage this content. r=masayuki 2021-03-15 09:31:58 +00:00
IMEStateManager.h Bug 1683226 - part 3: Get rid of pathes for handling plugin from `IMEStateManager`, `IMEContentObserver` and `ContentEventHandler` r=smaug 2020-12-21 05:52:49 +00:00
ImageCaptureError.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
ImageCaptureError.h
InputEvent.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
InputEvent.h Bug 1449831 - part 1: Add `InputEvent.getTargetRanges()` r=smaug 2020-03-02 07:39:38 +00:00
InputEventOptions.h Bug 1684173 - Add newline character at end of files when missing r=sylvestre,geckoview-reviewers,agi 2021-01-07 08:53:08 +00:00
InputTypeList.h
InternalMutationEvent.h
JSEventHandler.cpp Bug 1600545 - Remove useless inclusions of header files generated from IDL files in dom/ r=Ehsan 2019-12-06 09:24:56 +00:00
JSEventHandler.h
KeyEventHandler.cpp Bug 1510500 - part 1: Add GTest for checking no unexpected changes in `ShortcutKeyDefinitions.cpp` r=edgar 2021-02-07 11:06:26 +00:00
KeyEventHandler.h Bug 1510500 - part 1: Add GTest for checking no unexpected changes in `ShortcutKeyDefinitions.cpp` r=edgar 2021-02-07 11:06:26 +00:00
KeyNameList.h
KeyboardEvent.cpp Bug 1687239 part 2 - Remove plugin support from layout/. r=emilio 2021-01-25 11:53:49 +00:00
KeyboardEvent.h Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
MessageEvent.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
MessageEvent.h Bug 1653229 - Remove unnecessary includes for BindingUtils.h. r=jgilbert 2020-07-22 15:12:10 +00:00
MouseEvent.cpp Bug 1528289 - part 2: Dispatch same events on the web contents when autoscroll is canceled with a click r=Gijs,edgar 2021-03-23 19:22:48 +00:00
MouseEvent.h Bug 1528289 - part 2: Dispatch same events on the web contents when autoscroll is canceled with a click r=Gijs,edgar 2021-03-23 19:22:48 +00:00
MouseScrollEvent.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
MouseScrollEvent.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/events. r=smaug 2020-02-20 15:56:28 +00:00
MutationEvent.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
MutationEvent.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/events. r=smaug 2020-02-20 15:56:28 +00:00
NotifyPaintEvent.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
NotifyPaintEvent.h Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
PaintRequest.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
PaintRequest.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/events. r=smaug 2020-02-20 15:56:28 +00:00
PendingFullscreenEvent.h Bug 1679522 - Fix include directives and forward declarations. r=andi,necko-reviewers,jgilbert 2021-03-25 10:19:44 +00:00
PhysicalKeyCodeNameList.h
PointerEvent.cpp Bug 1702175 - Add dummy getPredictedEvents, r=edgar 2021-04-01 15:19:05 +00:00
PointerEvent.h Bug 1702175 - Add dummy getPredictedEvents, r=edgar 2021-04-01 15:19:05 +00:00
PointerEventHandler.cpp Bug 1697769 - Apply implicit pointer capture only for pointer events that are generated from the touch events; r=smaug 2021-04-13 13:14:12 +00:00
PointerEventHandler.h Bug 1693683 - Make sure DND is disabled only on Windows r=edgar 2021-02-19 17:52:25 +00:00
RemoteDragStartData.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
RemoteDragStartData.h Bug 1641270 - Part 8: Make the Drag&Drop to use the correct cookieJarSettings to download the url. r=smaug,dimi 2020-11-11 11:14:05 +00:00
ScrollAreaEvent.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
ScrollAreaEvent.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/events. r=smaug 2020-02-20 15:56:28 +00:00
ShortcutKeyDefinitions.cpp Bug 1510500 - part 15: Group the other shortcut definitions r=edgar 2021-02-07 11:09:11 +00:00
ShortcutKeys.cpp Bug 1510500 - part 1: Add GTest for checking no unexpected changes in `ShortcutKeyDefinitions.cpp` r=edgar 2021-02-07 11:06:26 +00:00
ShortcutKeys.h Bug 1510500 - part 1: Add GTest for checking no unexpected changes in `ShortcutKeyDefinitions.cpp` r=edgar 2021-02-07 11:06:26 +00:00
SimpleGestureEvent.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
SimpleGestureEvent.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/events. r=smaug 2020-02-20 15:56:28 +00:00
SpeechRecognitionError.cpp Bug 1213512 use UTF8 for MediaMgrError and SpeechRecognitionError message r=jib 2020-11-15 21:59:05 +00:00
SpeechRecognitionError.h Bug 1213512 use UTF8 for MediaMgrError and SpeechRecognitionError message r=jib 2020-11-15 21:59:05 +00:00
StorageEvent.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
StorageEvent.h Bug 1653229 - Remove unnecessary includes for BindingUtils.h. r=jgilbert 2020-07-22 15:12:10 +00:00
TextClause.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
TextClause.h Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
TextComposition.cpp Bug 1682030 - Remove some dead NPAPI code from dom/plugins and related spots. r=jmathies,mconley,ipc-reviewers,mccr8 2021-04-06 19:28:12 +00:00
TextComposition.h Bug 1677684 - part 2: Make `ContentCache` cache character rects in last commit composition string for undoing the commit r=m_kato 2020-11-24 01:31:46 +00:00
Touch.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
Touch.h
TouchEvent.cpp Bug 1606061 - move TouchEventsOverride to BrowsingContext. r=farre,devtools-backward-compat-reviewers 2020-11-10 15:57:30 +00:00
TouchEvent.h Bug 1626570 - Improve handling of copying arrays in dom/events/. r=smaug 2020-05-05 10:16:24 +00:00
TransitionEvent.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
TransitionEvent.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/events. r=smaug 2020-02-20 15:56:28 +00:00
UIEvent.cpp Bug 1672330 - Move pointer lock code to PointerLockManager; r=smaug 2021-01-27 16:38:29 +00:00
UIEvent.h Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
VirtualKeyCodeList.h
WheelEvent.cpp Bug 1684001 - Add a pref-based blocklist to control default deltaMode. r=masayuki 2021-03-09 01:59:43 +00:00
WheelEvent.h Bug 1684001 - Add a pref-based blocklist to control default deltaMode. r=masayuki 2021-03-09 01:59:43 +00:00
WheelHandlingHelper.cpp Bug 1687239 part 2 - Remove plugin support from layout/. r=emilio 2021-01-25 11:53:49 +00:00
WheelHandlingHelper.h Bug 1652017 - Remove unnecessary includes for expensive nsIFrame.h. r=emilio 2020-07-15 13:44:39 +00:00
XULCommandEvent.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
XULCommandEvent.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/events. r=smaug 2020-02-20 15:56:28 +00:00
moz.build Bug 1697769 - Apply implicit pointer capture only for pointer events that are generated from the touch events; r=smaug 2021-04-13 13:14:12 +00:00
nsIEventListenerService.idl