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

Unified Diff: content/browser/accessibility/browser_accessibility.h

Issue 994373003: Calls BrowserAccessibility::IsCellOrTableHeaderRole() with a correct instance. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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.h
diff --git a/content/browser/accessibility/browser_accessibility.h b/content/browser/accessibility/browser_accessibility.h
index e0b18bd31f5af2d32dd3bf9401efbf230b562193..f3e496bfb9af51734fb064c4b2d366960bde8316 100644
--- a/content/browser/accessibility/browser_accessibility.h
+++ b/content/browser/accessibility/browser_accessibility.h
@@ -245,8 +245,8 @@ class CONTENT_EXPORT BrowserAccessibility {
// 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 a role is an cell or an table header.
+ bool IsCellOrTableHeaderRole(int32 role) const;
// Returns true if this node is an editable text field of any kind.
bool IsEditableText() const;

Powered by Google App Engine
This is Rietveld 408576698