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

Issue 2795843002: Move implementation of accessibility actions to views::View (Closed)

Created:
3 years, 8 months ago by dmazzoni
Modified:
3 years, 8 months ago
Reviewers:
tapted
CC:
chromium-reviews, sadrul, aboxhall+watch_chromium.org, tfarina, nektar+watch_chromium.org, yuzo+watch_chromium.org, dougt+watch_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, kalyank, je_julie, Patti Lor, dougt
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Move implementation of accessibility actions to views::View We had two parallel, nearly identical implementations of accessible actions for Views, one in NativeViewAccessibilityBase (used on Windows and macOS), and one in AXViewObjWrapper (used on Chrome OS). Remove the duplication and push all of those handlers to View. While there were some tiny logic differences between the two that are now merged, in effect this should be a pure refactoring change with no user-visible impact. BUG=699617 Review-Url: https://codereview.chromium.org/2795843002 Cr-Commit-Position: refs/heads/master@{#461624} Committed: https://chromium.googlesource.com/chromium/src/+/59016e60a48d96c7b7d9bf71cf61307ea1df0903

Patch Set 1 #

Patch Set 2 : Fix auralinux compile #

Patch Set 3 : Fix native_view_accessibility_unittest too #

Total comments: 10

Patch Set 4 : Fix WritableFocus test #

Patch Set 5 : Address remaining feedback #

Patch Set 6 : Fix win compile #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -192 lines) Patch
M chrome/browser/ui/ash/accessibility/ax_tree_source_aura_unittest.cc View 3 chunks +9 lines, -2 lines 0 comments Download
M chrome/browser/ui/aura/accessibility/automation_manager_aura.cc View 1 chunk +1 line, -49 lines 0 comments Download
M chrome/browser/ui/aura/accessibility/ax_tree_source_aura.h View 1 chunk +1 line, -6 lines 0 comments Download
M chrome/browser/ui/aura/accessibility/ax_tree_source_aura.cc View 1 chunk +13 lines, -31 lines 0 comments Download
M content/browser/accessibility/browser_accessibility.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/accessibility/browser_accessibility.cc View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
M ui/accessibility/platform/ax_platform_node_delegate.h View 1 2 3 4 1 chunk +2 lines, -6 lines 0 comments Download
M ui/accessibility/platform/ax_platform_node_win.cc View 1 2 3 4 5 1 chunk +5 lines, -2 lines 0 comments Download
M ui/accessibility/platform/test_ax_node_wrapper.h View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M ui/accessibility/platform/test_ax_node_wrapper.cc View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
M ui/views/accessibility/ax_aura_obj_wrapper.h View 1 chunk +0 lines, -5 lines 0 comments Download
M ui/views/accessibility/ax_view_obj_wrapper.h View 1 chunk +0 lines, -5 lines 0 comments Download
M ui/views/accessibility/ax_view_obj_wrapper.cc View 1 chunk +0 lines, -28 lines 0 comments Download
M ui/views/accessibility/native_view_accessibility_auralinux.cc View 1 1 chunk +0 lines, -2 lines 0 comments Download
M ui/views/accessibility/native_view_accessibility_base.h View 2 chunks +0 lines, -4 lines 0 comments Download
M ui/views/accessibility/native_view_accessibility_base.cc View 2 chunks +1 line, -41 lines 0 comments Download
M ui/views/accessibility/native_view_accessibility_unittest.cc View 1 2 2 chunks +10 lines, -3 lines 0 comments Download
M ui/views/view.cc View 1 2 3 4 3 chunks +37 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (24 generated)
dmazzoni
@tapted: please review this, should make things cleaner. dougt, patricialor: FYI
3 years, 8 months ago (2017-04-03 20:29:33 UTC) #4
tapted
looks neat - just a few minor things https://codereview.chromium.org/2795843002/diff/40001/ui/accessibility/platform/ax_platform_node_delegate.h File ui/accessibility/platform/ax_platform_node_delegate.h (left): https://codereview.chromium.org/2795843002/diff/40001/ui/accessibility/platform/ax_platform_node_delegate.h#oldcode90 ui/accessibility/platform/ax_platform_node_delegate.h:90: virtual ...
3 years, 8 months ago (2017-04-03 23:28:23 UTC) #13
dmazzoni
https://codereview.chromium.org/2795843002/diff/40001/ui/accessibility/platform/ax_platform_node_delegate.h File ui/accessibility/platform/ax_platform_node_delegate.h (left): https://codereview.chromium.org/2795843002/diff/40001/ui/accessibility/platform/ax_platform_node_delegate.h#oldcode90 ui/accessibility/platform/ax_platform_node_delegate.h:90: virtual void DoDefaultAction() = 0; On 2017/04/03 23:28:23, tapted ...
3 years, 8 months ago (2017-04-03 23:55:16 UTC) #18
tapted
lgtm
3 years, 8 months ago (2017-04-04 00:17:10 UTC) #19
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/2795843002/100001
3 years, 8 months ago (2017-04-04 03:32:46 UTC) #27
commit-bot: I haz the power
3 years, 8 months ago (2017-04-04 04:01:51 UTC) #30
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/59016e60a48d96c7b7d9bf71cf61...

Powered by Google App Engine
This is Rietveld 408576698