0
Files
src/ash/quick_insert
Javier Contreras Tenorio (from Dev Box) 6d3f70993e [views-ax] Deprecate View::NotifyAccessibilityEvent
This CL adds "deprecated" to `View::NotifyAccessibilityEvent`.
TLDR: This CL just renames.

In most situations, this function should not be called directly.
There are a lot of events that are already sent automatically by
the setters from ViewAccessibility. Soon, events will be generated
automatically by the AXEventGenerator, using
the AXNodeData cached in the View's ViewAccessibility.
Some specific scenarios currently do require manual event generation,
for example if its an event not being fired by the ViewAccessibility
setters.

In essence, for a lot of the events to be sent, Views authors should
just need to keep the accessibility cache in ViewAccessibility updated
by using the setters found in that class. There are some others that
are not being sent through there currently, and firing them manually
is still allowed. Once ViewsAX is completed though, most events will
be generated through the AXEventGenerator, which just requires Views
authors to keep the accessibility cache up to date.

Bug: 325137417
Change-Id: I7cd2dcd4fa800ebb1ccef02d0c1fefc008ef5bd9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6214895
Reviewed-by: Xiyuan Xia <xiyuan@chromium.org>
Reviewed-by: Benjamin Beaudry <benjamin.beaudry@microsoft.com>
Reviewed-by: Elly FJ <ellyjones@chromium.org>
Reviewed-by: Mitsuru Oshima <oshima@chromium.org>
Reviewed-by: Avi Drissman <avi@chromium.org>
Commit-Queue: Javier Contreras <javiercon@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1416390}
2025-02-05 12:34:22 -08:00
..

Quick Insert

Quick Insert is a feature in Ash that allows users to quickly insert emojis, GIFs, links, images, and more. It is triggered via a dedicated key on the keyboard or a keyboard shortcut. The user can search for something in the Quick Insert window and insert it directly without leaving the input field.

Key Components

  • model/: The data model to be rendered.
  • views/: The UI related code.
  • metrics/: Code for recording metrics.
  • QuickInsertController: Controls the visibility of the Quick Insert window.
  • QuickInsertClient: Used by QuickInsertController to talk to the browser.