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

Unified Diff: third_party/WebKit/Source/core/dom/AccessibleNode.h

Issue 2864493005: Accessibility Object Model: remove reflection (Closed)
Patch Set: Rebase Created 3 years, 7 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: third_party/WebKit/Source/core/dom/AccessibleNode.h
diff --git a/third_party/WebKit/Source/core/dom/AccessibleNode.h b/third_party/WebKit/Source/core/dom/AccessibleNode.h
index d082d346a6899db6ff4ab554edbcf8e4ee906460..333d5ef119739b521d2f826fe1423755d8ef3a48 100644
--- a/third_party/WebKit/Source/core/dom/AccessibleNode.h
+++ b/third_party/WebKit/Source/core/dom/AccessibleNode.h
@@ -49,9 +49,13 @@ class CORE_EXPORT AccessibleNode
explicit AccessibleNode(Element*);
virtual ~AccessibleNode();
+ // Returns the given string property if the Element has an AccessibleNode.
+ static const AtomicString& GetProperty(Element*, AOMStringProperty);
+
// Returns the given string property if the Element has an AccessibleNode,
// otherwise returns the equivalent ARIA attribute.
- static const AtomicString& GetProperty(Element*, AOMStringProperty);
+ static const AtomicString& GetPropertyOrARIAAttribute(Element*,
+ AOMStringProperty);
AtomicString autocomplete() const;
void setAutocomplete(const AtomicString&);
« no previous file with comments | « third_party/WebKit/LayoutTests/accessibility/aom.html ('k') | third_party/WebKit/Source/core/dom/AccessibleNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698