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

Issue 2912243002: Fix todo's in AXPlatformNodeWin::get_accRole related to string results. (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

Fix todo's in AXPlatformNodeWin::get_accRole related to string results. For historical reasons, AXPlatformNodeWin::get_accRole can return a string which can containing the HTML tag name as the MSAA role, rather than a int. In some cases, we special cased roles such that they alway returned a specific string instead of the underlying HTML tag name. For example, AX_ROLE_PARAGRAPH always returned upper case "P". What this CL does is removes some of these special cases in favor of just returning the uppercase of the HTML tag name. This is a follow up from issue 2909853002. BUG=703369 Review-Url: https://codereview.chromium.org/2912243002 Cr-Commit-Position: refs/heads/master@{#477216} Committed: https://chromium.googlesource.com/chromium/src/+/0e42c06947d8e001c30bdc0efafefedd8afa2256

Patch Set 1 #

Patch Set 2 : Uppercase two more tests #

Messages

Total messages: 19 (15 generated)
dougt
Hi dmazzoni, This fixes most of the todo's in StringOverrideForMSAARole(). This leaves AX_ROLE_GENERIC_CONTAINER todo alone. ...
3 years, 6 months ago (2017-05-31 14:20:41 UTC) #12
dmazzoni
lgtm I think it's fine if AX_ROLE_GENERIC_CONTAINER maps to GROUPING on Windows.
3 years, 6 months ago (2017-06-06 04:46:15 UTC) #13
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/2912243002/20001
3 years, 6 months ago (2017-06-06 04:47:59 UTC) #16
commit-bot: I haz the power
3 years, 6 months ago (2017-06-06 06:30:03 UTC) #19
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/0e42c06947d8e001c30bdc0efafe...

Powered by Google App Engine
This is Rietveld 408576698