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

Unified Diff: content/browser/accessibility/browser_accessibility_win.cc

Issue 837183002: Add a helper function and update test results with ax role of table header. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update TC Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/accessibility/browser_accessibility_win.cc
diff --git a/content/browser/accessibility/browser_accessibility_win.cc b/content/browser/accessibility/browser_accessibility_win.cc
index 328f46afbdb66c0f92431677f64f6ee7115222c3..56eafde1c2f57dad47a0847b9133af2320319b36 100644
--- a/content/browser/accessibility/browser_accessibility_win.cc
+++ b/content/browser/accessibility/browser_accessibility_win.cc
@@ -2963,7 +2963,8 @@ void BrowserAccessibilityWin::OnDataChanged() {
}
// Expose table cell index.
- if (ia_role_ == ROLE_SYSTEM_CELL) {
+ if (ia_role_ == ROLE_SYSTEM_CELL || ia_role_ == ROLE_SYSTEM_ROWHEADER ||
+ ia_role_ == ROLE_SYSTEM_COLUMNHEADER) {
dmazzoni 2015/01/08 18:11:25 Same here - it sounds like the helper should be in
je_julie(Not used) 2015/01/09 16:47:37 Done.
BrowserAccessibility* table = GetParent();
while (table && table->GetRole() != ui::AX_ROLE_TABLE)
table = table->GetParent();

Powered by Google App Engine
This is Rietveld 408576698