Closed Bug 1831035 Opened 2 years ago Closed 1 year ago

[CTW] Unify PDocAccessible, DocAccessibleChild and RemoteAccessible

Categories

(Core :: Disability Access APIs, task)

task

Tracking

()

RESOLVED FIXED
116 Branch
Tracking Status
firefox116 --- fixed

People

(Reporter: Jamie, Assigned: Jamie)

References

Details

(Whiteboard: [ctw-postship])

Attachments

(7 files)

Once we no longer support sync IPDL or COM for RemoteAccessible queries, we can unify ipc/other and ipc/win into just ipc. This means we will have a single PDocAccessible, DocAccessibleChild and RemoteAccessible across all platforms. These will subsume DocAccessibleChildBase and RemoteAccessibleBase, so those Base classes will no longer exist separately.

For a time, there may still be a small amount of platform specific stuff in PDocAccessible. IPDL now supports ifdefs, so this isn't a problem like it was previously.

We'll need to decide what to do about the remaining methods in Android's PDocAccessiblePlatformExt: either ifdef them or unify them.

Assignee: nobody → jteh
Depends on: 1834874

I neglected to remove this in bug 1821956

There are now only small differences across platforms and even those will probably go away eventually.
Rather than having separate ipdls with a lot of duplicate content, we now have a single ipdl with ifdefs.

This involved moving ApplyCache from the .h into the .cpp because now that the class is no longer a template, forward declaration of DocAccessibleParent is not sufficient.

The sync IPDL RemoteAccessible::AddToSelection was removed in bug 1811092, but the DocAccessibleChildBase method remained.
This is no longer used, so remove it.

Attachment #9340641 - Attachment description: Bug 1831035 part 2: Unify PDocAccessible. → Bug 1831035 part 3: Unify PDocAccessible.
Attachment #9340642 - Attachment description: Bug 1831035 part 3: Move platform specific methods into DocAccessibleChildBase. → Bug 1831035 part 4: Move platform specific methods into DocAccessibleChildBase.
Attachment #9340643 - Attachment description: Bug 1831035 part 4: Remove the (now empty) platform specific DocAccessibleChild classes and rename DocAccessibleChildBase to DocAccessibleChild. → Bug 1831035 part 5: Remove the (now empty) platform specific DocAccessibleChild classes and rename DocAccessibleChildBase to DocAccessibleChild.
Attachment #9340644 - Attachment description: Bug 1831035 part 5: Move platform specific methods into RemoteAccessibleBase. → Bug 1831035 part 6: Move platform specific methods into RemoteAccessibleBase.
Attachment #9340645 - Attachment description: Bug 1831035 part 6: Remove (now empty) platform specific RemoteAccessible classes and rename RemoteAccessibleBase to RemoteAccessible. → Bug 1831035 part 7: Remove (now empty) platform specific RemoteAccessible classes and rename RemoteAccessibleBase to RemoteAccessible.
Attachment #9340640 - Attachment description: Bug 1831035 part 1: Remove PDocAccessible::SyncTextChange. → Bug 1831035 part 1: Remove PDocAccessible::SyncTextChangeEvent.
Blocks: 1840295
Blocks: 1840298
Pushed by jteh@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1b9567f148f5 part 1: Remove PDocAccessible::SyncTextChangeEvent. r=nlapre,ipc-reviewers,mccr8 https://hg.mozilla.org/integration/autoland/rev/357079405d41 part 2: Remove DocAccessibleChild::RecvAddToSelection. r=eeejay,ipc-reviewers,mccr8 https://hg.mozilla.org/integration/autoland/rev/580af9bf2a56 part 3: Unify PDocAccessible. r=eeejay https://hg.mozilla.org/integration/autoland/rev/00bab65c5c2d part 4: Move platform specific methods into DocAccessibleChildBase. r=eeejay https://hg.mozilla.org/integration/autoland/rev/9069ac980e68 part 5: Remove the (now empty) platform specific DocAccessibleChild classes and rename DocAccessibleChildBase to DocAccessibleChild. r=eeejay https://hg.mozilla.org/integration/autoland/rev/3e4e49583afb part 6: Move platform specific methods into RemoteAccessibleBase. r=eeejay https://hg.mozilla.org/integration/autoland/rev/5c3d85e00cdb part 7: Remove (now empty) platform specific RemoteAccessible classes and rename RemoteAccessibleBase to RemoteAccessible. r=eeejay
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: