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

Issue 125763003: Refactor content/renderer/accessibility to use AXTreeSerializer (re-land). (Closed)

Created:
6 years, 11 months ago by dmazzoni
Modified:
6 years, 8 months ago
CC:
chromium-reviews, plundblad+watch_chromium.org, aboxhall+watch_chromium.org, yoshiki+watch_chromium.org, yuzo+watch_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org
Visibility:
Public.

Description

Refactor content/renderer/accessibility to use AXTreeSerializer (re-land). This removes the confusing code in content/renderer/accessibility that serializes updates from Blink's accessibility tree, and replaces it with calls to the new cleaner and fully-unit-tested AXTreeSerializer class. BUG=316726 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=261099 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=261408

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Add missing files #

Patch Set 4 : Little fixes #

Total comments: 13

Patch Set 5 : Address feedback #

Patch Set 6 : Improve impl of GetParent and update renderer ax tests #

Patch Set 7 : Fix win compile #

Patch Set 8 : Rebase #

Patch Set 9 : Merge in aria relationship attributes #

Patch Set 10 : Fix win build #

Patch Set 11 : Rebase #

Patch Set 12 : Fix memory leaks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+282 lines, -973 lines) Patch
M content/browser/accessibility/browser_accessibility_manager.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M content/browser/accessibility/browser_accessibility_manager_unittest.cc View 1 2 3 4 5 6 7 3 chunks +9 lines, -9 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_win_unittest.cc View 1 2 3 4 5 6 4 chunks +7 lines, -7 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -5 lines 0 comments Download
M content/common/accessibility_messages.h View 1 2 3 4 2 chunks +8 lines, -3 lines 0 comments Download
M content/content_renderer.gypi View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download
D content/renderer/accessibility/accessibility_node_serializer.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -23 lines 0 comments Download
D content/renderer/accessibility/accessibility_node_serializer.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -486 lines 0 comments Download
A content/renderer/accessibility/blink_ax_tree_source.h View 1 2 3 4 1 chunk +46 lines, -0 lines 0 comments Download
A + content/renderer/accessibility/blink_ax_tree_source.cc View 1 2 3 4 5 6 7 8 9 10 13 chunks +115 lines, -49 lines 0 comments Download
M content/renderer/accessibility/renderer_accessibility_browsertest.cc View 1 2 3 4 5 6 7 20 chunks +38 lines, -66 lines 0 comments Download
M content/renderer/accessibility/renderer_accessibility_complete.h View 1 2 3 4 5 6 7 5 chunks +9 lines, -38 lines 0 comments Download
M content/renderer/accessibility/renderer_accessibility_complete.cc View 1 2 3 4 5 6 7 8 7 chunks +28 lines, -269 lines 0 comments Download
M content/renderer/accessibility/renderer_accessibility_focus_only.cc View 1 2 3 4 5 6 7 1 chunk +3 lines, -3 lines 0 comments Download
M ui/accessibility/ax_tree_serializer.h View 1 2 3 4 5 6 7 8 9 10 11 6 chunks +12 lines, -11 lines 0 comments Download
M ui/accessibility/ax_tree_source.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 19 (0 generated)
dmazzoni
Depends on the previous change, https://codereview.chromium.org/125783002/
6 years, 11 months ago (2014-01-07 16:29:36 UTC) #1
aboxhall
https://codereview.chromium.org/125763003/diff/190001/content/common/accessibility_messages.h File content/common/accessibility_messages.h (right): https://codereview.chromium.org/125763003/diff/190001/content/common/accessibility_messages.h#newcode49 content/common/accessibility_messages.h:49: IPC_STRUCT_TRAITS_MEMBER(node_id_to_clear) Can we have comments for these too? https://codereview.chromium.org/125763003/diff/190001/content/renderer/accessibility/blink_ax_tree_source.cc ...
6 years, 10 months ago (2014-02-25 17:45:35 UTC) #2
dmazzoni
https://codereview.chromium.org/125763003/diff/190001/content/common/accessibility_messages.h File content/common/accessibility_messages.h (right): https://codereview.chromium.org/125763003/diff/190001/content/common/accessibility_messages.h#newcode49 content/common/accessibility_messages.h:49: IPC_STRUCT_TRAITS_MEMBER(node_id_to_clear) On 2014/02/25 17:45:35, aboxhall wrote: > Can we ...
6 years, 9 months ago (2014-02-27 20:51:43 UTC) #3
aboxhall
lgtm https://codereview.chromium.org/125763003/diff/190001/content/common/accessibility_messages.h File content/common/accessibility_messages.h (right): https://codereview.chromium.org/125763003/diff/190001/content/common/accessibility_messages.h#newcode49 content/common/accessibility_messages.h:49: IPC_STRUCT_TRAITS_MEMBER(node_id_to_clear) On 2014/02/27 20:51:44, dmazzoni wrote: > On ...
6 years, 9 months ago (2014-02-27 20:57:39 UTC) #4
dmazzoni
+jam for content +inferno for *_messages
6 years, 9 months ago (2014-02-28 17:51:55 UTC) #5
jam
lgtm
6 years, 9 months ago (2014-02-28 18:08:34 UTC) #6
aarya
6 years, 9 months ago (2014-03-03 21:14:19 UTC) #7
Tom Sepez
LGTM
6 years, 9 months ago (2014-03-03 21:18:39 UTC) #8
dmazzoni
The CQ bit was checked by dmazzoni@chromium.org
6 years, 8 months ago (2014-04-02 06:06:36 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmazzoni@chromium.org/125763003/400001
6 years, 8 months ago (2014-04-02 06:06:40 UTC) #10
commit-bot: I haz the power
Change committed as 261099
6 years, 8 months ago (2014-04-02 08:38:46 UTC) #11
pfeldman
A revert of this CL has been created in https://codereview.chromium.org/222073002/ by pfeldman@chromium.org. The reason for ...
6 years, 8 months ago (2014-04-02 11:29:44 UTC) #12
dmazzoni
The CQ bit was checked by dmazzoni@chromium.org
6 years, 8 months ago (2014-04-03 05:26:41 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmazzoni@chromium.org/125763003/440001
6 years, 8 months ago (2014-04-03 05:28:20 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-03 08:32:33 UTC) #15
commit-bot: I haz the power
Commit queue rejected this change because the description was changed between the time the change ...
6 years, 8 months ago (2014-04-03 08:32:34 UTC) #16
dmazzoni
The CQ bit was checked by dmazzoni@chromium.org
6 years, 8 months ago (2014-04-03 15:15:37 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmazzoni@chromium.org/125763003/440001
6 years, 8 months ago (2014-04-03 15:15:53 UTC) #18
commit-bot: I haz the power
6 years, 8 months ago (2014-04-03 15:25:32 UTC) #19
Message was sent while issue was closed.
Change committed as 261408

Powered by Google App Engine
This is Rietveld 408576698