gecko-dev/dom/events
Emilio Cobos Álvarez 255763ef57 Bug 1773070 - Unify Gecko and Servo EventState/ElementState bits. r=smaug
Add a dom/base/rust crate called just "dom" where we can share these.

Most of the changes are automatic:

  s/mozilla::EventStates/mozilla::dom::ElementState/
  s/EventStates/ElementState/
  s/NS_EVENT_STATE_/ElementState::/
  s/NS_DOCUMENT_STATE_/DocumentState::/

And so on. This requires a new cbindgen version to avoid ugly casts for
large shifts.

Differential Revision: https://phabricator.services.mozilla.com/D148537
2022-06-07 23:09:52 +00:00
..
crashtests Bug 1692068 - Disable broken crashtests on tsan. r=necko-reviewers,decoder,dragana 2021-05-25 01:15:49 +00:00
test Bug 1771554, part 2 - Test XUL stuff in test_bug547996-3.xhtml and not -2.xhtml. r=smaug 2022-05-30 13:36:07 +00:00
AnimationEvent.cpp
AnimationEvent.h Bug 1768189 - Part 9: Apply modernize-concat-nested-namespaces to dom/debugger/DebuggerNotification.h ... r=andi 2022-05-09 20:41:06 +00:00
AsyncEventDispatcher.cpp Bug 1455514 - part 1: Add accessors and static helper methods to retrieve `nsINode` or its concrete classes from `EventTarget` r=smaug 2021-11-02 13:03:43 +00:00
AsyncEventDispatcher.h
BeforeUnloadEvent.cpp
BeforeUnloadEvent.h Bug 1768189 - Part 9: Apply modernize-concat-nested-namespaces to dom/debugger/DebuggerNotification.h ... r=andi 2022-05-09 20:41:06 +00:00
Clipboard.cpp Bug 1472338: part 2) Change `clipboard.readText()` to read from the clipboard asynchronously when called from content. r=NeilDeakin,mccr8 2022-02-25 09:35:46 +00:00
Clipboard.h Bug 1768189 - Part 9: Apply modernize-concat-nested-namespaces to dom/debugger/DebuggerNotification.h ... r=andi 2022-05-09 20:41:06 +00:00
ClipboardEvent.cpp
ClipboardEvent.h Bug 1768189 - Part 9: Apply modernize-concat-nested-namespaces to dom/debugger/DebuggerNotification.h ... r=andi 2022-05-09 20:41:06 +00:00
ClipboardItem.cpp
ClipboardItem.h
CommandEvent.cpp
CommandEvent.h Bug 1768189 - Part 9: Apply modernize-concat-nested-namespaces to dom/debugger/DebuggerNotification.h ... r=andi 2022-05-09 20:41:06 +00:00
CompositionEvent.cpp
CompositionEvent.h Bug 1768189 - Part 9: Apply modernize-concat-nested-namespaces to dom/debugger/DebuggerNotification.h ... r=andi 2022-05-09 20:41:06 +00:00
ConstructibleEventTarget.cpp
ConstructibleEventTarget.h Bug 1768189 - Part 9: Apply modernize-concat-nested-namespaces to dom/debugger/DebuggerNotification.h ... r=andi 2022-05-09 20:41:06 +00:00
ContentEventHandler.cpp Bug 1770133 - part 5: Make `ContentEventHandler` store root node as `Element*` rather than `nsIContent*` r=m_kato 2022-05-26 07:03:20 +00:00
ContentEventHandler.h Bug 1770133 - part 5: Make `ContentEventHandler` store root node as `Element*` rather than `nsIContent*` r=m_kato 2022-05-26 07:03:20 +00:00
CustomEvent.cpp Bug 1712725 - Stop clearing JS things when calling mozilla::DropJSObjects. r=mccr8 2021-05-27 08:35:40 +00:00
CustomEvent.h Bug 1768189 - Part 9: Apply modernize-concat-nested-namespaces to dom/debugger/DebuggerNotification.h ... r=andi 2022-05-09 20:41:06 +00:00
DOMEventTargetHelper.cpp Bug 1754767 - Remove duplicate includes r=media-playback-reviewers,padenot 2022-02-11 10:01:15 +00:00
DOMEventTargetHelper.h Bug 1745950 - Remove the string-based KeepAliveIfHasListenersFor() implementation and convert all callers to use the atoms-based one instead r=smaug 2021-12-14 16:54:50 +00:00
DataTransfer.cpp Bug 1768597 - Part 3: Use utility function to convert IPCDataTransferItem into nsIVariant; r=NeilDeakin 2022-05-17 08:12:04 +00:00
DataTransfer.h Bug 1760560 - Remove directory upload API; r=smaug 2022-04-04 09:54:34 +00:00
DataTransferItem.cpp Backed out changeset 00f6bd7aa727 (bug 1755481) for causing multiple clipboard related failures CLOSED TREE 2022-02-16 12:14:58 +02:00
DataTransferItem.h Bug 1472338: part 2) Change `clipboard.readText()` to read from the clipboard asynchronously when called from content. r=NeilDeakin,mccr8 2022-02-25 09:35:46 +00:00
DataTransferItemList.cpp Bug 1737041 - DataTransfer.types should include 'Files'. r=masayuki 2021-11-11 09:59:42 +00:00
DataTransferItemList.h Bug 1768189 - Part 9: Apply modernize-concat-nested-namespaces to dom/debugger/DebuggerNotification.h ... r=andi 2022-05-09 20:41:06 +00:00
DeviceMotionEvent.cpp
DeviceMotionEvent.h Bug 1768189 - Part 9: Apply modernize-concat-nested-namespaces to dom/debugger/DebuggerNotification.h ... r=andi 2022-05-09 20:41:06 +00:00
DragEvent.cpp
DragEvent.h Bug 1768189 - Part 9: Apply modernize-concat-nested-namespaces to dom/debugger/DebuggerNotification.h ... r=andi 2022-05-09 20:41:06 +00:00
Event.cpp Bug 1757929 - Remove a bunch of IPC headers from gfxFont and co. r=jfkthame,layout-reviewers 2022-05-05 11:37:51 +00:00
Event.h Bug 1659025 - Implement [Transferable] for ReadableStream r=smaug,sfink 2022-05-19 11:54:31 +00:00
EventDispatcher.cpp Bug 1758752 - Describe the event target in DOMEvent profiler markers, r=mstange. 2022-03-11 07:49:03 +00:00
EventDispatcher.h Bug 1539884 - Part 38: Mark EventDispatcher::Dispatch as CAN_RUN_SCRIPT r=masayuki 2021-12-23 16:27:26 +00:00
EventListenerManager.cpp Bug 1763586 - Remove Element from LoadScript and child classes; r=jonco 2022-04-21 09:53:34 +00:00
EventListenerManager.h Bug 1735745 - Make `SelectionChangeEventDispatcher` dispatch `select` event and `selectchange` event only when there may be corresponding event listeners r=smaug 2021-11-25 07:09:23 +00:00
EventListenerService.cpp Bug 1757635 - Part 2: Use NS_IMPL_CYCLE_COLLECTION_WITH_JS_MEMBERS where applicable r=smaug 2022-05-25 23:41:26 +00:00
EventListenerService.h Bug 1720574 - Add a way to disable event listeners, r=edgar,Honza 2021-07-16 12:04:37 +00:00
EventNameList.h Bug 1744315 - P1: Introduce chrome-only MozMouseExploreByTouch event. r=botond 2021-12-28 20:41:22 +00:00
EventStateManager.cpp Bug 1773070 - Unify Gecko and Servo EventState/ElementState bits. r=smaug 2022-06-07 23:09:52 +00:00
EventStateManager.h Bug 1773070 - Unify Gecko and Servo EventState/ElementState bits. r=smaug 2022-06-07 23:09:52 +00:00
EventTarget.cpp Bug 1455514 - part 2: Add accessors and static helper methods to retrieve `nsPIDOMWindowInner`, `nsPIDOMWindowOuter` and `nsPIWindowRoot` r=smaug 2021-11-02 13:03:43 +00:00
EventTarget.h Bug 1743439 - Part 5: Mark callers in dom/events and dom/html as MOZ_CAN_RUN_SCRIPT_BOUNDARY r=masayuki 2021-12-09 19:56:09 +00:00
FocusEvent.cpp
FocusEvent.h Bug 1768189 - Part 9: Apply modernize-concat-nested-namespaces to dom/debugger/DebuggerNotification.h ... r=andi 2022-05-09 20:41:06 +00:00
GlobalKeyListener.cpp Bug 1771448 - part 4: Rename `HTMLEditor::GetActiveEditingHost` to `ComputeEditingHost` r=m_kato 2022-05-31 03:41:01 +00:00
GlobalKeyListener.h
IMEContentObserver.cpp Bug 1770133 - part 4: Make `IMEContentObserver` use `dom::Element` instead of `nsIContent` for root r=m_kato 2022-05-26 07:03:20 +00:00
IMEContentObserver.h Bug 1770133 - part 4: Make `IMEContentObserver` use `dom::Element` instead of `nsIContent` for root r=m_kato 2022-05-26 07:03:20 +00:00
IMEStateManager.cpp Bug 1773070 - Unify Gecko and Servo EventState/ElementState bits. r=smaug 2022-06-07 23:09:52 +00:00
IMEStateManager.h Bug 1770133 - part 4: Make `IMEContentObserver` use `dom::Element` instead of `nsIContent` for root r=m_kato 2022-05-26 07:03:20 +00:00
ImageCaptureError.cpp
ImageCaptureError.h Bug 1768189 - Part 9: Apply modernize-concat-nested-namespaces to dom/debugger/DebuggerNotification.h ... r=andi 2022-05-09 20:41:06 +00:00
InputEvent.cpp Bug 1725145 - header files fixes in the hybrid build env. r=valentin 2021-08-22 10:21:55 +00:00
InputEvent.h Bug 1768189 - Part 9: Apply modernize-concat-nested-namespaces to dom/debugger/DebuggerNotification.h ... r=andi 2022-05-09 20:41:06 +00:00
InputEventOptions.h
InputTypeList.h
InternalMutationEvent.h
JSEventHandler.cpp
JSEventHandler.h
KeyEventHandler.cpp Bug 1455514 - part 2: Add accessors and static helper methods to retrieve `nsPIDOMWindowInner`, `nsPIDOMWindowOuter` and `nsPIWindowRoot` r=smaug 2021-11-02 13:03:43 +00:00
KeyEventHandler.h
KeyNameList.h
KeyboardEvent.cpp Bug 1450398: Apply finer-grained RFP checks to Keyboard Event r=tjr 2021-10-05 13:57:36 +00:00
KeyboardEvent.h Bug 1768189 - Part 9: Apply modernize-concat-nested-namespaces to dom/debugger/DebuggerNotification.h ... r=andi 2022-05-09 20:41:06 +00:00
MessageEvent.cpp Bug 1712725 - Stop clearing JS things when calling mozilla::DropJSObjects. r=mccr8 2021-05-27 08:35:40 +00:00
MessageEvent.h Bug 1659025 - Implement [Transferable] for ReadableStream r=smaug,sfink 2022-05-19 11:54:31 +00:00
MouseEvent.cpp Bug 1760807: encapsulate return type of `Event::GetScreenCoords` in a `Maybe<>`. r=edgar 2022-03-23 09:19:03 +00:00
MouseEvent.h Bug 1756323 - Cleanup mouse event coord code. r=jfkthame 2022-02-21 11:53:02 +00:00
MouseScrollEvent.cpp
MouseScrollEvent.h Bug 1768189 - Part 9: Apply modernize-concat-nested-namespaces to dom/debugger/DebuggerNotification.h ... r=andi 2022-05-09 20:41:06 +00:00
MutationEvent.cpp
MutationEvent.h Bug 1768189 - Part 9: Apply modernize-concat-nested-namespaces to dom/debugger/DebuggerNotification.h ... r=andi 2022-05-09 20:41:06 +00:00
NotifyPaintEvent.cpp Bug 1754037 - Part 3c: Automatically update all ParamTraits implementations, r=ipc-reviewers,media-playback-reviewers,bryce,mccr8 2022-03-04 15:39:41 +00:00
NotifyPaintEvent.h Bug 1768189 - Part 9: Apply modernize-concat-nested-namespaces to dom/debugger/DebuggerNotification.h ... r=andi 2022-05-09 20:41:06 +00:00
PaintRequest.cpp Bug 1754579 - Don't keep so much alive when returning DOMRects & co. r=smaug 2022-02-10 00:38:45 +00:00
PaintRequest.h Bug 1768189 - Part 10: Apply modernize-concat-nested-namespaces to dom/events/PaintRequest.h ... r=andi 2022-05-09 20:41:07 +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 1750994 - PointerEvent.constructor should not modify the target of the events which are passed as coalesced or predicted events, r=edgar 2022-01-20 09:09:47 +00:00
PointerEvent.h Bug 1768189 - Part 10: Apply modernize-concat-nested-namespaces to dom/events/PaintRequest.h ... r=andi 2022-05-09 20:41:07 +00:00
PointerEventHandler.cpp Bug 1455514 - part 1: Add accessors and static helper methods to retrieve `nsINode` or its concrete classes from `EventTarget` r=smaug 2021-11-02 13:03:43 +00:00
PointerEventHandler.h Bug 1511231 - Part 2: Make PointerEventHandler::InitPointerEventFromTouch take references; r=smaug 2021-08-19 13:27:12 +00:00
RemoteDragStartData.cpp Bug 1768597 - Part 3: Use utility function to convert IPCDataTransferItem into nsIVariant; r=NeilDeakin 2022-05-17 08:12:04 +00:00
RemoteDragStartData.h Bug 1768189 - Part 10: Apply modernize-concat-nested-namespaces to dom/events/PaintRequest.h ... r=andi 2022-05-09 20:41:07 +00:00
ScrollAreaEvent.cpp Bug 1757929 - Remove a bunch of IPC headers from gfxFont and co. r=jfkthame,layout-reviewers 2022-05-05 11:37:51 +00:00
ScrollAreaEvent.h Bug 1768189 - Part 10: Apply modernize-concat-nested-namespaces to dom/events/PaintRequest.h ... r=andi 2022-05-09 20:41:07 +00:00
ShortcutKeyDefinitions.cpp Bug 1376091 - For MOZ_WIDGET_GTK, change shortcut for `cmd_selectAll` from Alt+A to Ctrl+A. r=masayuki 2021-11-23 18:37:41 +00:00
ShortcutKeys.cpp
ShortcutKeys.h Bug 1723050 - Part 9: Replace typedef by using in dom/events/ r=masayuki 2021-08-07 10:36:35 +00:00
SimpleGestureEvent.cpp
SimpleGestureEvent.h Bug 1768189 - Part 10: Apply modernize-concat-nested-namespaces to dom/events/PaintRequest.h ... r=andi 2022-05-09 20:41:07 +00:00
SpeechRecognitionError.cpp
SpeechRecognitionError.h Bug 1768189 - Part 10: Apply modernize-concat-nested-namespaces to dom/events/PaintRequest.h ... r=andi 2022-05-09 20:41:07 +00:00
StorageEvent.cpp
StorageEvent.h Bug 1768189 - Part 10: Apply modernize-concat-nested-namespaces to dom/events/PaintRequest.h ... r=andi 2022-05-09 20:41:07 +00:00
TextClause.cpp
TextClause.h Bug 1768189 - Part 10: Apply modernize-concat-nested-namespaces to dom/events/PaintRequest.h ... r=andi 2022-05-09 20:41:07 +00:00
TextComposition.cpp Bug 1770133 - part 4: Make `IMEContentObserver` use `dom::Element` instead of `nsIContent` for root r=m_kato 2022-05-26 07:03:20 +00:00
TextComposition.h Bug 1758420 - part 2: Clean up update timing of `TextComposition` r=m_kato 2022-04-21 03:37:56 +00:00
Touch.cpp Bug 1760807: encapsulate return type of `Event::GetScreenCoords` in a `Maybe<>`. r=edgar 2022-03-23 09:19:03 +00:00
Touch.h Bug 1768189 - Part 10: Apply modernize-concat-nested-namespaces to dom/events/PaintRequest.h ... r=andi 2022-05-09 20:41:07 +00:00
TouchEvent.cpp Bug 1757929 - Remove a bunch of IPC headers from gfxFont and co. r=jfkthame,layout-reviewers 2022-05-05 11:37:51 +00:00
TouchEvent.h Bug 1768189 - Part 10: Apply modernize-concat-nested-namespaces to dom/events/PaintRequest.h ... r=andi 2022-05-09 20:41:07 +00:00
TransitionEvent.cpp
TransitionEvent.h Bug 1768189 - Part 10: Apply modernize-concat-nested-namespaces to dom/events/PaintRequest.h ... r=andi 2022-05-09 20:41:07 +00:00
UIEvent.cpp Bug 1757929 - Remove a bunch of IPC headers from gfxFont and co. r=jfkthame,layout-reviewers 2022-05-05 11:37:51 +00:00
UIEvent.h Bug 1768189 - Part 10: Apply modernize-concat-nested-namespaces to dom/events/PaintRequest.h ... r=andi 2022-05-09 20:41:07 +00:00
VirtualKeyCodeList.h
WheelEvent.cpp Bug 1708829 - Make sure that delta* getters account for scroll speed override correctly. r=masayuki 2021-05-14 17:44:29 +00:00
WheelEvent.h Bug 1768189 - Part 10: Apply modernize-concat-nested-namespaces to dom/events/PaintRequest.h ... r=andi 2022-05-09 20:41:07 +00:00
WheelHandlingHelper.cpp Bug 1708829 - Make sure that delta* getters account for scroll speed override correctly. r=masayuki 2021-05-14 17:44:29 +00:00
WheelHandlingHelper.h Bug 1708829 - Make sure that delta* getters account for scroll speed override correctly. r=masayuki 2021-05-14 17:44:29 +00:00
XULCommandEvent.cpp Bug 1704948 - Give XULCommandEvent a button property. r=smaug,preferences-reviewers 2021-04-20 17:44:16 +00:00
XULCommandEvent.h Bug 1768189 - Part 10: Apply modernize-concat-nested-namespaces to dom/events/PaintRequest.h ... r=andi 2022-05-09 20:41:07 +00:00
moz.build Bug 1773070 - Unify Gecko and Servo EventState/ElementState bits. r=smaug 2022-06-07 23:09:52 +00:00
nsIEventListenerService.idl Bug 1539884 - Part 7: Mark nsIEventListenerService::getEventTargetChainFor as can_run_script r=masayuki 2021-12-16 17:17:06 +00:00