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

Unified Diff: Source/modules/accessibility/AXNodeObject.cpp

Issue 1186523002: Clean up unused AX APIs. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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
« no previous file with comments | « Source/modules/accessibility/AXNodeObject.h ('k') | Source/modules/accessibility/AXObject.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/accessibility/AXNodeObject.cpp
diff --git a/Source/modules/accessibility/AXNodeObject.cpp b/Source/modules/accessibility/AXNodeObject.cpp
index 72003a91aef163a21e51dd164b5275f054b5a375..f1f402d6f86ebaee1adb1c13bbd2f62209568126 100644
--- a/Source/modules/accessibility/AXNodeObject.cpp
+++ b/Source/modules/accessibility/AXNodeObject.cpp
@@ -1476,19 +1476,6 @@ String AXNodeObject::stringValue() const
return String();
}
-
-const AtomicString& AXNodeObject::textInputType() const
-{
- Node* node = this->node();
- if (!isHTMLInputElement(node))
- return nullAtom;
-
- HTMLInputElement& input = toHTMLInputElement(*node);
- if (input.isTextField())
- return input.type();
- return nullAtom;
-}
-
String AXNodeObject::ariaDescribedByAttribute() const
{
WillBeHeapVector<RawPtrWillBeMember<Element>> elements;
@@ -1497,11 +1484,6 @@ String AXNodeObject::ariaDescribedByAttribute() const
return accessibilityDescriptionForElements(elements);
}
-const AtomicString& AXNodeObject::ariaDropEffect() const
-{
- return getAttribute(aria_dropeffectAttr);
-}
-
String AXNodeObject::ariaLabeledByAttribute() const
{
WillBeHeapVector<RawPtrWillBeMember<Element>> elements;
@@ -1515,17 +1497,6 @@ AccessibilityRole AXNodeObject::ariaRoleAttribute() const
return m_ariaRole;
}
-AccessibilityOptionalBool AXNodeObject::isAriaGrabbed() const
-{
- const AtomicString& grabbed = getAttribute(aria_grabbedAttr);
- if (equalIgnoringCase(grabbed, "true"))
- return OptionalBoolTrue;
- if (equalIgnoringCase(grabbed, "false"))
- return OptionalBoolFalse;
-
- return OptionalBoolUndefined;
-}
-
// When building the textUnderElement for an object, determine whether or not
// we should include the inner text of this given descendant object or skip it.
static bool shouldUseAccessibilityObjectInnerText(AXObject* obj)
« no previous file with comments | « Source/modules/accessibility/AXNodeObject.h ('k') | Source/modules/accessibility/AXObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698