Add a helper function, ,IsCellOrTableHeaderRole(), for ax table header
and update test results with the ax role of the table header.
The ax role for table header was updated with blink cl,
crrev.com/816423003.
This patch updates test results according to ax role from it.
BUG=435081
Review URL: https://codereview.chromium.org/837183002
Cr-Commit-Position: refs/heads/master@{#311035}
diff --git a/content/browser/accessibility/browser_accessibility.h b/content/browser/accessibility/browser_accessibility.h
index 6b6361d..e399b86 100644
--- a/content/browser/accessibility/browser_accessibility.h
+++ b/content/browser/accessibility/browser_accessibility.h
@@ -241,6 +241,9 @@
// Returns true if the bit corresponding to the given state enum is 1.
bool HasState(ui::AXState state_enum) const;
+ // Returns true if this node is an cell or an table header.
+ bool IsCellOrTableHeaderRole() const;
+
// Returns true if this node is an editable text field of any kind.
bool IsEditableText() const;