Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(115)

Issue 2957973003: Automatically fire AX events on Win based on tree changes (Closed)

Created:
3 years, 5 months ago by dmazzoni
Modified:
3 years, 4 months ago
Reviewers:
haraken, nektarios
CC:
aboxhall, aboxhall+watch_chromium.org, aleventhal+watch_chromium.org, blink-reviews, blink-reviews-dom_chromium.org, chromium-reviews, darin-cc_chromium.org, dglazkov+blink, dmazzoni+watch_chromium.org, dmazzoni, dougt+watch_chromium.org, dtseng+watch_chromium.org, eae+blinkwatch, jam, je_julie, mlamouri+watch-content_chromium.org, nektar+watch_chromium.org, rwlbuis, sof, yuzo+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Automatically fire AX events on Win based on tree changes This change uses tree changes to automatically determine which Win AX events to fire, rather than getting the events directly from Blink. The code to fire events from Blink is removed for OS_WIN in this change. A previous change did this for Mac. Subsequent changes will do the same for Linux, Android, and Chrome OS, and then we can delete all of the code that fires specific events from Blink, and just mark AX nodes as dirty instead. BUG=699438 Review-Url: https://codereview.chromium.org/2957973003 Cr-Commit-Position: refs/heads/master@{#490471} Committed: https://chromium.googlesource.com/chromium/src/+/3674d6f0ac52b4c7e3c21aa76f1cf842692ec692

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Audit all events, manually test with JAWS and NVDA #

Unified diffs Side-by-side diffs Delta from patch set Stats (+142 lines, -24 lines) Patch
M content/browser/accessibility/browser_accessibility_event_win.cc View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_manager.cc View 1 2 1 chunk +7 lines, -2 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_manager_win.h View 1 chunk +15 lines, -0 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_manager_win.cc View 1 2 4 chunks +107 lines, -0 lines 0 comments Download
M content/renderer/accessibility/blink_ax_tree_source.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M content/test/data/accessibility/event/aria-combo-box-collapse-expected-win.txt View 1 1 chunk +1 line, -1 line 0 comments Download
M content/test/data/accessibility/event/aria-combo-box-expand-expected-win.txt View 1 1 chunk +1 line, -1 line 0 comments Download
M content/test/data/accessibility/event/aria-combo-box-focus-expected-win.txt View 1 1 chunk +1 line, -1 line 0 comments Download
M content/test/data/accessibility/event/aria-combo-box-next-expected-win.txt View 1 1 chunk +1 line, -1 line 0 comments Download
M content/test/data/accessibility/event/listbox-next-expected-win.txt View 1 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/dom/AccessibleNode.h View 1 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/core/dom/AccessibleNode.cpp View 1 1 chunk +3 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXObject.cpp View 1 1 chunk +1 line, -3 lines 0 comments Download

Messages

Total messages: 25 (16 generated)
dmazzoni
3 years, 5 months ago (2017-06-27 20:58:12 UTC) #3
nektarios
+void BrowserAccessibilityManagerWin::OnNodeDataWillChange( + ui::AXTree* tree, + const ui::AXNodeData& old_node_data, + const ui::AXNodeData& new_node_data) { + ...
3 years, 5 months ago (2017-06-30 21:41:55 UTC) #4
nektarios
lgtm
3 years, 5 months ago (2017-06-30 21:42:01 UTC) #5
dmazzoni
FYI, I'm planning to land this now. I manually audited all of the events and ...
3 years, 4 months ago (2017-07-27 21:47:43 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2957973003/40001
3 years, 4 months ago (2017-07-28 16:51:04 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/502945)
3 years, 4 months ago (2017-07-28 16:58:54 UTC) #19
haraken
core/ LGTM
3 years, 4 months ago (2017-07-28 17:13:12 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2957973003/40001
3 years, 4 months ago (2017-07-28 18:16:18 UTC) #22
commit-bot: I haz the power
3 years, 4 months ago (2017-07-28 18:27:46 UTC) #25
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/3674d6f0ac52b4c7e3c21aa76f1c...

Powered by Google App Engine
This is Rietveld 408576698