AX: Support solution to handle invalid ax text marker
[WebKit-https.git] / Tools / DumpRenderTree / AccessibilityUIElement.h
index bfbef684fde025a15ea87ccd1848e26e272d37b4..8354d250a73195a1855e463ea231feb00cc5d287 100644 (file)
@@ -217,7 +217,10 @@ public:
     JSStringRef stringForTextMarkerRange(AccessibilityTextMarkerRange*);
     int textMarkerRangeLength(AccessibilityTextMarkerRange*);
     bool attributedStringForTextMarkerRangeContainsAttribute(JSStringRef, AccessibilityTextMarkerRange*);
-
+    int indexForTextMarker(AccessibilityTextMarker*);
+    bool isTextMarkerValid(AccessibilityTextMarker*);
+    AccessibilityTextMarker textMarkerForIndex(int);
+    
     void scrollToMakeVisible();
     void scrollToMakeVisibleWithSubFocus(int x, int y, int width, int height);
     void scrollToGlobalPoint(int x, int y);