-
David Tseng authored
Fixes performance regression by only sending event for non *created* tree changes. Bug: 808061 Original change's description: > Add hooks for AXTreeDelegate when a relation target changes > > > Problem > Suppose a node a has an active descendant b. A page author might change |b| to aria-selected="true" immediately after setting |b| to be the active descendant. > As a result, we have the events and actions: > active descendant changed on |a| > client gets event on |a| and emits output > attribute changed on |b| > client gets attribute changed on |b| but focus remains over |a| > > Solution > > Let the client know about changes in its related nodes. > For example, changes to |b| would cause an event on |a|. > > Bug: 808061 > Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation > Change-Id: I58a3d99d3187db348320223f0bde588015ab6f55 > Reviewed-on: https://chromium-review.googlesource.com/899862 > Commit-Queue: David Tseng <dtseng@chromium.org> > Reviewed-by: Dominic Mazzoni <dmazzoni@chromium.org> > Cr-Commit-Position: refs/heads/master@{#534885} TBR=dmazzoni@chromium.org,dtseng@chromium.org,nektar@chromium.org,aleventhal@chromium.org Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation Change-Id: Iaf04a51602e091f9bb9767a6bb56e4a5177540d3 Reviewed-on: https://chromium-review.googlesource.com/924769Reviewed-by:
David Tseng <dtseng@chromium.org> Commit-Queue: David Tseng <dtseng@chromium.org> Cr-Commit-Position: refs/heads/master@{#537636}
ef6b480d