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

Issue 2909853002: Forward BrowserAccessibility get_accRole to AXPlatformNode. (Closed)

Created:
3 years, 6 months ago by dougt
Modified:
3 years, 6 months ago
Reviewers:
dmazzoni
CC:
chromium-reviews, aboxhall+watch_chromium.org, nektar+watch_chromium.org, jam, yuzo+watch_chromium.org, dougt+watch_chromium.org, darin-cc_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, je_julie
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Forward BrowserAccessibility get_accRole to AXPlatformNode. This is another migration from BrowserAccessibility to AXPlatformNodeWin. In this installment, we're converting get_accRole. I have updated the AXPlatformNodeWin::MSAARole() to include many of the missing roles that the BrowserAccessibility code had. I also introduced a new method that allows get_accRole to return a string (overriding the default type value that MSAARole() returns). I have not dug into why we need to return the various values instead of just using the role number or html element name. Instead, I just added todos for me to follow up on. BUG=703369 Review-Url: https://codereview.chromium.org/2909853002 Cr-Commit-Position: refs/heads/master@{#475757} Committed: https://chromium.googlesource.com/chromium/src/+/ebe52af6c0285feef6f776dfd95669123315e525

Patch Set 1 #

Patch Set 2 : Add default cases to switch stmt #

Total comments: 7

Patch Set 3 : rebase #

Patch Set 4 : some of dmazzoni's comments addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+343 lines, -41 lines) Patch
M content/browser/accessibility/browser_accessibility_com_win.cc View 1 2 1 chunk +1 line, -15 lines 0 comments Download
M ui/accessibility/platform/ax_platform_node_win.h View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/accessibility/platform/ax_platform_node_win.cc View 1 2 3 2 chunks +340 lines, -26 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 23 (17 generated)
dougt
Hi dmazzoni, please take a look.
3 years, 6 months ago (2017-05-29 02:31:13 UTC) #8
dmazzoni
lgtm https://codereview.chromium.org/2909853002/diff/20001/ui/accessibility/platform/ax_platform_node_win.cc File ui/accessibility/platform/ax_platform_node_win.cc (right): https://codereview.chromium.org/2909853002/diff/20001/ui/accessibility/platform/ax_platform_node_win.cc#newcode503 ui/accessibility/platform/ax_platform_node_win.cc:503: // Some MSAA roles require us to return ...
3 years, 6 months ago (2017-05-30 15:17:34 UTC) #11
dougt
I'd like to fix the todo's in a follow up. My reasoning is that I ...
3 years, 6 months ago (2017-05-31 02:05:14 UTC) #15
dougt
On 2017/05/31 02:05:14, dougt wrote: > I'd like to fix the todo's in a follow ...
3 years, 6 months ago (2017-05-31 02:45:31 UTC) #16
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/2909853002/80001
3 years, 6 months ago (2017-05-31 02:46:18 UTC) #20
commit-bot: I haz the power
3 years, 6 months ago (2017-05-31 02:51:06 UTC) #23
Message was sent while issue was closed.
Committed patchset #4 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/ebe52af6c0285feef6f776dfd956...

Powered by Google App Engine
This is Rietveld 408576698