Implementation of containsText for AXIsolatedObjects.
authorandresg_22@apple.com <andresg_22@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 7 Jan 2020 13:15:42 +0000 (13:15 +0000)
committerandresg_22@apple.com <andresg_22@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 7 Jan 2020 13:15:42 +0000 (13:15 +0000)
commit99f87a9b5594457a101fc461c70a85ce5179b292
treec5f279327cc0f92e6e5e3e22cd0c359639113477
parent59fc522773e1d05d1f68ffd0b9e45cd96dd737d6
Implementation of containsText for AXIsolatedObjects.
https://bugs.webkit.org/show_bug.cgi?id=205847

Reviewed by Chris Fleizach.

No new tests, no new functionality.

- Moved implementation of containsText from AccessibilityObject to
AXCoreObject to be re-used by AXIsolatedObject.
- Implemented AXIsolatedObject::stringValue.
- AXIsolatedObject::isTable must return false because it is used in the
SPECIALIZE_TYPE_TRAITS_ACCESSIBILITY macro.

* accessibility/AccessibilityObject.cpp:
(WebCore::AccessibilityObject::containsText const): Moved to AXCoreObject.
* accessibility/AccessibilityObject.h:
* accessibility/AccessibilityObjectInterface.h:
(WebCore::AXCoreObject::containsText const):
* accessibility/isolatedtree/AXIsolatedTreeNode.cpp:
(WebCore::AXIsolatedObject::initializeAttributeData):
(WebCore::AXIsolatedObject::containsText const): Implementation in base class AXCoreObject.
(WebCore::AXIsolatedObject::stringValue const): Deleted.
* accessibility/isolatedtree/AXIsolatedTreeNode.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@254123 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/accessibility/AccessibilityObject.cpp
Source/WebCore/accessibility/AccessibilityObject.h
Source/WebCore/accessibility/AccessibilityObjectInterface.h
Source/WebCore/accessibility/isolatedtree/AXIsolatedTreeNode.cpp
Source/WebCore/accessibility/isolatedtree/AXIsolatedTreeNode.h