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

Issue 2474363002: MacViews/a11y: Accessibility actions use AXActionData in AXPlatformNodeDelegate. (Closed)

Created:
4 years, 1 month ago by Patti Lor
Modified:
4 years, 1 month ago
Reviewers:
tapted, dmazzoni, sky
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, tfarina, aboxhall+watch_chromium.org, nektar+watch_chromium.org, jam, yuzo+watch_chromium.org, je_julie, darin-cc_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, mac-reviews_chromium.org, chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MacViews/a11y: Implement AccessibilityPerformAction for NativeViewAccessibility. Refactor AXPlatformNodeMac and NativeViewAccessibility to use AXActionData for all possible accessibility actions. To support 'unfocusing' a control, also add a new ui::AX_ACTION_BLUR to accompany the existing ui::AX_ACTION_SET_FOCUS. Existing accessibility actions which previously had their own methods on AXPlatformNodeDelegate are now consolidated into AccessibilityPerformAction. This follows up r426221, which did the same thing for accessibility actions inside the web contents area. To be consistent, use the same AccessibilityPerformAction method signature. BUG=662064 Committed: https://crrev.com/37cefec501173e1a3c144910f74d17c99c79d5df Cr-Commit-Position: refs/heads/master@{#433717}

Patch Set 1 #

Patch Set 2 : Adjust method signature to match up with BrowserAccessibilityManager. #

Patch Set 3 : Rebase and get rid of a bunch of non-general accessibility action methods on AXPlatformNodeDelegate. #

Patch Set 4 : Fix all of the compile errors. #

Patch Set 5 : Fix Chrome OS. #

Patch Set 6 : Fix Linux. #

Total comments: 8

Patch Set 7 : Review comments. #

Patch Set 8 : Return things to prevent compile errors. #

Total comments: 10

Patch Set 9 : Review comments. #

Total comments: 10

Patch Set 10 : Review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -85 lines) Patch
M chrome/browser/extensions/api/automation_internal/automation_internal_api.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/aura/accessibility/automation_manager_aura.cc View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/accessibility/browser_accessibility_manager.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/accessibility/render_accessibility_impl.cc View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -1 line 0 comments Download
M ui/accessibility/ax_enums.idl View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -1 line 0 comments Download
M ui/accessibility/platform/ax_platform_node_delegate.h View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -14 lines 0 comments Download
M ui/accessibility/platform/ax_platform_node_mac.mm View 1 2 3 4 5 6 7 8 9 3 chunks +12 lines, -6 lines 0 comments Download
M ui/accessibility/platform/ax_platform_node_win.cc View 1 2 3 4 5 6 7 8 9 2 chunks +5 lines, -1 line 0 comments Download
M ui/accessibility/platform/test_ax_node_wrapper.h View 1 2 3 4 5 6 1 chunk +1 line, -4 lines 0 comments Download
M ui/accessibility/platform/test_ax_node_wrapper.cc View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -12 lines 0 comments Download
M ui/views/accessibility/native_view_accessibility.h View 1 2 3 4 5 6 7 8 3 chunks +5 lines, -4 lines 0 comments Download
M ui/views/accessibility/native_view_accessibility.cc View 1 2 3 4 5 6 7 8 9 4 chunks +35 lines, -31 lines 0 comments Download
M ui/views/accessibility/native_view_accessibility_auralinux.cc View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -8 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 73 (62 generated)
Patti Lor
Hey Trent, PTAL! Thanks.
4 years, 1 month ago (2016-11-17 05:52:44 UTC) #37
tapted
Sorry for the delay! https://codereview.chromium.org/2474363002/diff/150001/ui/accessibility/platform/ax_platform_node_delegate.h File ui/accessibility/platform/ax_platform_node_delegate.h (right): https://codereview.chromium.org/2474363002/diff/150001/ui/accessibility/platform/ax_platform_node_delegate.h#newcode93 ui/accessibility/platform/ax_platform_node_delegate.h:93: virtual bool SetFocused(bool focused) = ...
4 years, 1 month ago (2016-11-18 04:45:40 UTC) #40
Patti Lor
Thanks Trent, PTAL. https://codereview.chromium.org/2474363002/diff/150001/ui/accessibility/platform/ax_platform_node_delegate.h File ui/accessibility/platform/ax_platform_node_delegate.h (right): https://codereview.chromium.org/2474363002/diff/150001/ui/accessibility/platform/ax_platform_node_delegate.h#newcode93 ui/accessibility/platform/ax_platform_node_delegate.h:93: virtual bool SetFocused(bool focused) = 0; ...
4 years, 1 month ago (2016-11-21 01:52:36 UTC) #49
tapted
lgtm with a few things also is there a BUG= we can reference? https://codereview.chromium.org/2474363002/diff/190001/chrome/browser/ui/aura/accessibility/automation_manager_aura.cc File ...
4 years, 1 month ago (2016-11-21 02:15:43 UTC) #50
dmazzoni
lgtm https://codereview.chromium.org/2474363002/diff/210001/content/renderer/accessibility/render_accessibility_impl.cc File content/renderer/accessibility/render_accessibility_impl.cc (right): https://codereview.chromium.org/2474363002/diff/210001/content/renderer/accessibility/render_accessibility_impl.cc#newcode454 content/renderer/accessibility/render_accessibility_impl.cc:454: // TODO(dmazzoni): Implement this. It should be as ...
4 years, 1 month ago (2016-11-21 04:53:39 UTC) #56
Patti Lor
Thanks both for the reviews - tapted@ I've referenced https://bugs.chromium.org/p/chromium/issues/detail?id=662064 as this was the original ...
4 years, 1 month ago (2016-11-21 23:24:39 UTC) #63
sky
Normally I would recommend getting a more local OWNER, but the change is trivial, so ...
4 years, 1 month ago (2016-11-22 00:03:24 UTC) #64
Patti Lor
Ah, will keep that in mind for next time. Thanks!
4 years, 1 month ago (2016-11-22 00:38:01 UTC) #65
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/2474363002/230001
4 years, 1 month ago (2016-11-22 00:38:48 UTC) #68
commit-bot: I haz the power
Committed patchset #10 (id:230001)
4 years, 1 month ago (2016-11-22 00:52:11 UTC) #71
commit-bot: I haz the power
4 years, 1 month ago (2016-11-22 00:57:48 UTC) #73
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/37cefec501173e1a3c144910f74d17c99c79d5df
Cr-Commit-Position: refs/heads/master@{#433717}

Powered by Google App Engine
This is Rietveld 408576698