gecko-dev/accessible/base
James Teh cbf1bc1704 Bug 1790317 part 1: Make LocalAccessible::ID return 0 for the document. r=eeejay
For IPC, we use id 0 to refer to the document.
However, LocalAccessible::UniqueID doesn't return 0 for documents.
This meant that when sending IPC messages, we hitherto had to special case the document in each case.

We don't want to mess with LocalAccessible::UniqueID, but since Accessible::ID was only introduced recently, we can set new expectations there.
Thus, this patch changes LocalAccessible::ID to return 0 for documents.
This means that in future, we can just use Accessible::ID when sending IPC messages.
nsAccUtils::GetAccessibleByID has also been updated to handle this.

Differential Revision: https://phabricator.services.mozilla.com/D157081
2022-10-04 06:13:51 +00:00
..
ARIAMap.cpp Bug 1732280 - Implement mappings for sub, sup elements and subscript, superscript roles, r=Jamie 2022-08-31 16:48:56 +00:00
ARIAMap.h Bug 1760739 part 4: Normalize aria-row/colcount/index as integers. r=eeejay 2022-06-16 06:25:51 +00:00
ARIAStateMap.cpp
ARIAStateMap.h
AccAttributes.cpp Bug 1757121 part 5: Expose live region attributes on cached RemoteAccessibles. r=morgan 2022-07-12 02:45:58 +00:00
AccAttributes.h Bug 1772006 - Part 5: Simplify and move the string searching APIs from ns[T]StringObsolete, r=xpcom-reviewers,necko-reviewers,eeejay,dragana,barret 2022-07-30 00:12:48 +00:00
AccEvent.cpp Bug 1713050 - P2: Add granularity to a11y caret move events. r=morgan 2022-03-16 05:56:25 +00:00
AccEvent.h Bug 1789903: Remove unused member-var AccMutationEvent::mNode. r=morgan 2022-09-08 19:04:10 +00:00
AccGroupInfo.cpp Bug 1760739 part 6: Add unified GroupPosition and TotalItemCount support for aria-row/colcount/index. r=eeejay 2022-06-16 06:25:52 +00:00
AccGroupInfo.h Bug 1737944 - P9: Make AccGroupInfo use Accessible. r=Jamie 2022-01-04 21:01:38 +00:00
AccIterator.cpp Bug 1782172: [Part 1] Support creating a Relation with a RemoteAccessible r=Jamie 2022-08-15 20:43:54 +00:00
AccIterator.h Bug 1782172: [Part 1] Support creating a Relation with a RemoteAccessible r=Jamie 2022-08-15 20:43:54 +00:00
AccTypes.h Bug 1747835 - P1: Add eHTMLDateTimeFieldType AccType and IsDateTimeField checker. r=morgan 2022-01-05 22:30:52 +00:00
Asserts.cpp
CacheConstants.h Bug 1787282: [Part 2] Cache LINKS_TO relation information r=Jamie 2022-09-06 19:27:17 +00:00
CachedTableAccessible.cpp Bug 1726124: [Part 1] Generalise nsAccUtils::TableFor for table parts r=Jamie 2022-08-30 23:12:18 +00:00
CachedTableAccessible.h Bug 1735970 part 12: Implement selection setter methods in CachedTableAccessible for LocalAccessibles. r=morgan 2022-04-01 09:50:00 +00:00
DocManager.cpp Bug 1757257: Don't assert for a null frame in TextAttrsMgr::GetAttributes. r=morgan 2022-03-01 21:16:43 +00:00
DocManager.h
EmbeddedObjCollector.cpp
EmbeddedObjCollector.h
EventQueue.cpp Bug 1781536 part 1: Support base Accessible in Relation. r=morgan 2022-08-03 23:58:50 +00:00
EventQueue.h Bug 1192108: Fire focus events after mutation events but before any other events. r=eeejay 2022-05-06 23:59:43 +00:00
EventTree.cpp Bug 1725145 - fixes for linking in the hybrid build env. r=valentin 2021-08-22 10:21:56 +00:00
EventTree.h
Filters.cpp
Filters.h
FocusManager.cpp
FocusManager.h
HTMLMarkupMap.h Bug 1732280 - Implement mappings for sub, sup elements and subscript, superscript roles, r=Jamie 2022-08-31 16:48:56 +00:00
IDSet.h
Logging.cpp Bug 1741148 - part 4: Add `nsINode::ComputeIndexInParentNode()` and `nsINode::ComputeIndexInParentContent()` r=smaug 2021-12-09 12:03:00 +00:00
Logging.h Bug 1729061 - Introduce cache verification logging. r=Jamie 2021-09-28 21:55:41 +00:00
MathMLMarkupMap.h Bug 1791245 - More cleanup for the <mfenced> element. r=emilio 2022-09-20 03:53:50 +00:00
NotificationController.cpp Bug 1788879: Return early from potentially long-running a11y tasks if a content process has been asked to shut down. r=eeejay 2022-10-04 02:25:10 +00:00
NotificationController.h Bug 1774197 part 1: Move sending of the viewport cache to ProcessQueuedCacheUpdates. r=morgan 2022-06-23 04:57:04 +00:00
Pivot.cpp Bug 1755383 - P1: Move SelectAccessible methods to Accessible. r=morgan 2022-02-16 18:42:53 +00:00
Pivot.h Bug 1755383 - P1: Move SelectAccessible methods to Accessible. r=morgan 2022-02-16 18:42:53 +00:00
Platform.h Bug 1780788 - Use abstract strings as in-arguments for ipdl. r=nika,necko-reviewers,media-playback-reviewers,alwu,dragana 2022-07-25 20:19:48 +00:00
Relation.h Bug 1782172: [Part 1] Support creating a Relation with a RemoteAccessible r=Jamie 2022-08-15 20:43:54 +00:00
RelationType.h Bug 1710751: Create LINKS_TO relation to track anchors and their corresponding elements r=eeejay 2021-05-26 21:31:42 +00:00
RelationTypeMap.h Bug 1710751: Create LINKS_TO relation to track anchors and their corresponding elements r=eeejay 2021-05-26 21:31:42 +00:00
Role.h Bug 1791245 - More cleanup for the <mfenced> element. r=emilio 2022-09-20 03:53:50 +00:00
RoleMap.h Bug 1791245 - More cleanup for the <mfenced> element. r=emilio 2022-09-20 03:53:50 +00:00
SelectionManager.cpp Bug 1770878: Don't fire collapsed selection events on the container of a focused text field. r=morgan 2022-07-14 00:50:38 +00:00
SelectionManager.h Bug 1771736 part 1: Update cached spelling errors when a spelling error is removed. r=morgan,smaug 2022-06-01 00:35:26 +00:00
States.h Bug 1738032 part 2: Push a11y state in the initial cache push. r=eeejay 2021-11-02 23:56:35 +00:00
Statistics.h
StyleInfo.cpp Bug 1723921 - Cleanup nsComputedDOMStyle and related APIs. r=layout-reviewers,jfkthame 2021-08-07 09:47:15 +00:00
StyleInfo.h Bug 1771564 - Constify ComputedStyle usage in nsComputedDOMStyle. r=dholbert 2022-05-28 01:04:24 +00:00
TextAttrs.cpp Bug 1732280 - Implement mappings for sub, sup elements and subscript, superscript roles, r=Jamie 2022-08-31 16:48:56 +00:00
TextAttrs.h Bug 1732280 - Implement mappings for sub, sup elements and subscript, superscript roles, r=Jamie 2022-08-31 16:48:56 +00:00
TextLeafRange.cpp Bug 1788116 - Introduce TextLeafRange iterator. r=Jamie 2022-08-31 20:34:18 +00:00
TextLeafRange.h Bug 1788132 - Introduce TextLeafPoint::IsParagraphStart. r=Jamie 2022-08-31 20:52:46 +00:00
TextRange-inl.h Bug 1741793 part 2: Update TextPoint/Range to use base Accessible. r=eeejay 2022-02-26 23:01:54 +00:00
TextRange.cpp Bug 1756528: Fix cropping of siblings in TextRange::Crop. r=eeejay 2022-02-26 23:01:56 +00:00
TextRange.h Bug 1741793 part 2: Update TextPoint/Range to use base Accessible. r=eeejay 2022-02-26 23:01:54 +00:00
TextUpdater.cpp Bug 1773996: Don't queue a11y cache updates if we're never going to send them. r=morgan 2022-06-14 22:10:37 +00:00
TextUpdater.h
TreeWalker.cpp Bug 1731526 - Fix non-unified build errors in accessible/. r=eeejay 2021-09-22 01:41:40 +00:00
TreeWalker.h
XULMap.h
moz.build Bug 1735970 part 4: Introduce CachedTableAccessible and CachedTableCellAccessible. r=morgan 2022-04-01 09:49:57 +00:00
nsAccCache.h
nsAccUtils.cpp Bug 1790317 part 1: Make LocalAccessible::ID return 0 for the document. r=eeejay 2022-10-04 06:13:51 +00:00
nsAccUtils.h Bug 1757121 part 3: Normalize true/false/mixed ARIA tokens to atoms. r=morgan 2022-07-12 02:45:57 +00:00
nsAccessibilityService.cpp Bug 1689816 - Implement <tabpanels> and <deck> without XUL layout. r=Gijs,Jamie,morgan,preferences-reviewers,mconley,TYLin 2022-09-27 04:18:16 +00:00
nsAccessibilityService.h Bug 1689816 - Implement <tabpanels> and <deck> without XUL layout. r=Gijs,Jamie,morgan,preferences-reviewers,mconley,TYLin 2022-09-27 04:18:16 +00:00
nsAccessiblePivot.cpp Bug 1733268: Cache states::OPAQUE1, update state on style change r=eeejay 2022-03-15 18:46:46 +00:00
nsAccessiblePivot.h
nsCoreUtils.cpp Bug 1763191: Add suppport for cached remote accessibles in coordinate conversion functions r=eeejay 2022-04-28 16:58:19 +00:00
nsCoreUtils.h Bug 1763191: Add suppport for cached remote accessibles in coordinate conversion functions r=eeejay 2022-04-28 16:58:19 +00:00
nsEventShell.cpp Bug 1727373 - Add state change info in event logging. r=morgan 2021-08-24 23:49:59 +00:00
nsEventShell.h Bug 1714390 - P2: Use AccAttributes for accessible and text attributes. r=Jamie 2021-06-10 23:07:05 +00:00
nsTextEquivUtils.cpp Bug 1550644: nsTextEquivUtils: Add space for block elements when we encounter them. r=eeejay,adw 2022-03-24 00:06:15 +00:00
nsTextEquivUtils.h Bug 1746833 - P3: Make GetTextEquivFromSubtree take Accessible. r=Jamie 2022-02-18 18:21:00 +00:00