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 2825803002: Expose internal treegrid role, do some cleanup for table/grid/treegrid handling (Closed)

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

Description

When an ARIA grid or treegrid is used, pass that role through while still supporting the table interface. Essentially, the grid/treegrid roles can be understood as a subclass of a table role. Also do some cleanup for table/grid/treegrid handling. BUG=532670 Review-Url: https://codereview.chromium.org/2825803002 Cr-Commit-Position: refs/heads/master@{#465747} Committed: https://chromium.googlesource.com/chromium/src/+/38718938990ffe5438bec707e982be6bcfac962b

Patch Set 1 #

Patch Set 2 : Part 2 #

Patch Set 3 : Fix tests #

Patch Set 4 : Fix Android orientation and tree grid tests #

Patch Set 5 : Expose table properties for <table role=grid> #

Total comments: 4

Patch Set 6 : Fix tests and nice function name #

Patch Set 7 : Fix mac tests #

Patch Set 8 : Fix mac tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -89 lines) Patch
M chrome/test/data/extensions/api_test/automation/tests/tabs/attributes.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/browser/accessibility/browser_accessibility.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M content/browser/accessibility/browser_accessibility.cc View 1 2 3 4 5 3 chunks +4 lines, -4 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_android.cc View 1 2 3 4 5 4 chunks +4 lines, -7 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_auralinux.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_cocoa.mm View 1 2 3 4 5 5 chunks +5 lines, -8 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_manager_mac.mm View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_win.cc View 1 2 3 4 5 5 chunks +9 lines, -16 lines 0 comments Download
M content/browser/accessibility/one_shot_accessibility_tree_search.cc View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M content/renderer/accessibility/blink_ax_tree_source.cc View 1 2 3 4 5 2 chunks +4 lines, -5 lines 0 comments Download
M content/test/data/accessibility/aria/aria-col-attr-expected-blink.txt View 1 chunk +1 line, -1 line 0 comments Download
M content/test/data/accessibility/aria/aria-col-attr-expected-mac.txt View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M content/test/data/accessibility/aria/aria-columnheader-expected-mac.txt View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M content/test/data/accessibility/aria/aria-grid-expected-mac.txt View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M content/test/data/accessibility/aria/aria-gridcell-expected-mac.txt View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M content/test/data/accessibility/aria/aria-orientation-expected-android.txt View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M content/test/data/accessibility/aria/aria-row-attr-expected-blink.txt View 1 chunk +1 line, -1 line 0 comments Download
M content/test/data/accessibility/aria/aria-row-attr-expected-mac.txt View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M content/test/data/accessibility/aria/aria-row-expected-mac.txt View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M content/test/data/accessibility/aria/aria-rowgroup-expected-mac.txt View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M content/test/data/accessibility/aria/aria-rowheader-expected-mac.txt View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M content/test/data/accessibility/aria/aria-sort-aria-grid-expected-mac.txt View 1 2 3 4 5 6 7 10 chunks +10 lines, -10 lines 0 comments Download
M content/test/data/accessibility/aria/aria-treegrid-expected-android.txt View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/accessibility/aria-owns-grid.html View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/accessibility/aria-tables-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/accessibility/table-with-grid-roles.html View 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXARIAGrid.h View 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXARIAGrid.cpp View 1 2 3 4 5 1 chunk +12 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp View 1 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXTable.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 46 (39 generated)
aleventhal
3 years, 8 months ago (2017-04-18 19:27:56 UTC) #9
aleventhal
3 years, 8 months ago (2017-04-18 19:28:00 UTC) #10
dmazzoni
lgtm @aboxhall, this is a fantastic example of where it'd be great if we had ...
3 years, 8 months ago (2017-04-18 21:59:38 UTC) #24
aboxhall
On 2017/04/18 21:59:38, dmazzoni wrote: > lgtm > > @aboxhall, this is a fantastic example ...
3 years, 8 months ago (2017-04-18 22:44:50 UTC) #25
aleventhal
https://codereview.chromium.org/2825803002/diff/70001/content/browser/accessibility/browser_accessibility_android.cc File content/browser/accessibility/browser_accessibility_android.cc (right): https://codereview.chromium.org/2825803002/diff/70001/content/browser/accessibility/browser_accessibility_android.cc#newcode177 content/browser/accessibility/browser_accessibility_android.cc:177: return (IsTableOrGridOrTreeGridRole() || GetRole() == ui::AX_ROLE_LIST || On 2017/04/18 ...
3 years, 8 months ago (2017-04-19 20:24:02 UTC) #38
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/2825803002/130001
3 years, 8 months ago (2017-04-19 21:04:08 UTC) #43
commit-bot: I haz the power
3 years, 8 months ago (2017-04-19 21:14:26 UTC) #46
Message was sent while issue was closed.
Committed patchset #8 (id:130001) as
https://chromium.googlesource.com/chromium/src/+/38718938990ffe5438bec707e982...

Powered by Google App Engine
This is Rietveld 408576698