WebCore headers should not be included relatively within dependent projects
[WebKit-https.git] / Tools / WebKitTestRunner / InjectedBundle / wpe / AccessibilityUIElementWPE.cpp
1 /*
2  * Copyright (C) 2017 Igalia, S.L.
3  *
4  *  This library is free software; you can redistribute it and/or
5  *  modify it under the terms of the GNU Lesser General Public
6  *  License as published by the Free Software Foundation; either
7  *  version 2 of the License, or (at your option) any later version.
8  *
9  *  This library is distributed in the hope that it will be useful,
10  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  *  Lesser General Public License for more details.
13  *
14  *  You should have received a copy of the GNU Lesser General Public
15  *  License along with this library; if not, write to the Free Software
16  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
17  */
18
19 #include "config.h"
20 #include "AccessibilityUIElement.h"
21
22 #if HAVE(ACCESSIBILITY)
23
24 #include <WebCore/NotImplemented.h>
25
26 namespace WTR {
27
28 AccessibilityUIElement::AccessibilityUIElement(PlatformUIElement)
29 {
30     notImplemented();
31 }
32
33 AccessibilityUIElement::AccessibilityUIElement(const AccessibilityUIElement&)
34 {
35     notImplemented();
36 }
37
38 AccessibilityUIElement::~AccessibilityUIElement()
39 {
40     notImplemented();
41 }
42
43 bool AccessibilityUIElement::isEqual(AccessibilityUIElement*)
44 {
45     notImplemented();
46     return false;
47 }
48
49 void AccessibilityUIElement::getChildren(Vector<RefPtr<AccessibilityUIElement>>&)
50 {
51     notImplemented();
52 }
53
54 void AccessibilityUIElement::getChildrenWithRange(Vector<RefPtr<AccessibilityUIElement>>&, unsigned, unsigned)
55 {
56     notImplemented();
57 }
58
59 int AccessibilityUIElement::childrenCount()
60 {
61     notImplemented();
62     return 0;
63 }
64
65 RefPtr<AccessibilityUIElement> AccessibilityUIElement::elementAtPoint(int, int)
66 {
67     notImplemented();
68     return nullptr;
69 }
70
71 unsigned AccessibilityUIElement::indexOfChild(AccessibilityUIElement*)
72 {
73     notImplemented();
74     return 0;
75 }
76
77
78 RefPtr<AccessibilityUIElement> AccessibilityUIElement::childAtIndex(unsigned)
79 {
80     notImplemented();
81     return nullptr;
82 }
83
84 RefPtr<AccessibilityUIElement> AccessibilityUIElement::linkedUIElementAtIndex(unsigned)
85 {
86     notImplemented();
87     return nullptr;
88 }
89
90 RefPtr<AccessibilityUIElement> AccessibilityUIElement::ariaOwnsElementAtIndex(unsigned)
91 {
92     notImplemented();
93     return nullptr;
94 }
95
96 RefPtr<AccessibilityUIElement> AccessibilityUIElement::ariaFlowToElementAtIndex(unsigned)
97 {
98     notImplemented();
99     return nullptr;
100 }
101
102 RefPtr<AccessibilityUIElement> AccessibilityUIElement::ariaControlsElementAtIndex(unsigned)
103 {
104     notImplemented();
105     return nullptr;
106 }
107
108 RefPtr<AccessibilityUIElement> AccessibilityUIElement::disclosedRowAtIndex(unsigned)
109 {
110     notImplemented();
111     return nullptr;
112 }
113
114 RefPtr<AccessibilityUIElement> AccessibilityUIElement::rowAtIndex(unsigned)
115 {
116     notImplemented();
117     return nullptr;
118 }
119
120 RefPtr<AccessibilityUIElement> AccessibilityUIElement::selectedChildAtIndex(unsigned) const
121 {
122     notImplemented();
123     return nullptr;
124 }
125
126 unsigned AccessibilityUIElement::selectedChildrenCount() const
127 {
128     notImplemented();
129     return 0;
130 }
131
132 RefPtr<AccessibilityUIElement> AccessibilityUIElement::selectedRowAtIndex(unsigned)
133 {
134     notImplemented();
135     return nullptr;
136 }
137
138 RefPtr<AccessibilityUIElement> AccessibilityUIElement::titleUIElement()
139 {
140     notImplemented();
141     return nullptr;
142 }
143
144 RefPtr<AccessibilityUIElement> AccessibilityUIElement::parentElement()
145 {
146     notImplemented();
147     return nullptr;
148 }
149
150 RefPtr<AccessibilityUIElement> AccessibilityUIElement::disclosedByRow()
151 {
152     notImplemented();
153     return nullptr;
154 }
155
156 JSRetainPtr<JSStringRef> AccessibilityUIElement::attributesOfLinkedUIElements()
157 {
158     notImplemented();
159     return nullptr;
160 }
161
162 JSRetainPtr<JSStringRef> AccessibilityUIElement::attributesOfDocumentLinks()
163 {
164     notImplemented();
165     return nullptr;
166 }
167
168 JSRetainPtr<JSStringRef> AccessibilityUIElement::attributesOfChildren()
169 {
170     notImplemented();
171     return nullptr;
172 }
173
174 JSRetainPtr<JSStringRef> AccessibilityUIElement::allAttributes()
175 {
176     notImplemented();
177     return nullptr;
178 }
179
180 JSRetainPtr<JSStringRef> AccessibilityUIElement::stringAttributeValue(JSStringRef)
181 {
182     notImplemented();
183     return nullptr;
184 }
185
186 double AccessibilityUIElement::numberAttributeValue(JSStringRef attribute)
187 {
188     notImplemented();
189     return 0.0;
190 }
191
192 JSValueRef AccessibilityUIElement::uiElementArrayAttributeValue(JSStringRef attribute) const
193 {
194     notImplemented();
195     return nullptr;
196 }
197
198 JSValueRef AccessibilityUIElement::rowHeaders() const
199 {
200     notImplemented();
201     return nullptr;
202 }
203
204 JSValueRef AccessibilityUIElement::columnHeaders() const
205 {
206     notImplemented();
207     return nullptr;
208 }
209
210 RefPtr<AccessibilityUIElement> AccessibilityUIElement::uiElementAttributeValue(JSStringRef attribute) const
211 {
212     notImplemented();
213     return nullptr;
214 }
215
216 bool AccessibilityUIElement::boolAttributeValue(JSStringRef attribute)
217 {
218     notImplemented();
219     return false;
220 }
221
222 bool AccessibilityUIElement::isAttributeSettable(JSStringRef attribute)
223 {
224     notImplemented();
225     return false;
226 }
227
228 bool AccessibilityUIElement::isAttributeSupported(JSStringRef attribute)
229 {
230     notImplemented();
231     return false;
232 }
233
234 JSRetainPtr<JSStringRef> AccessibilityUIElement::parameterizedAttributeNames()
235 {
236     notImplemented();
237     return nullptr;
238 }
239
240 JSRetainPtr<JSStringRef> AccessibilityUIElement::role()
241 {
242     notImplemented();
243     return nullptr;
244 }
245
246 JSRetainPtr<JSStringRef> AccessibilityUIElement::subrole()
247 {
248     notImplemented();
249     return nullptr;
250 }
251
252 JSRetainPtr<JSStringRef> AccessibilityUIElement::roleDescription()
253 {
254     notImplemented();
255     return nullptr;
256 }
257
258 JSRetainPtr<JSStringRef> AccessibilityUIElement::computedRoleString()
259 {
260     notImplemented();
261     return nullptr;
262 }
263
264 JSRetainPtr<JSStringRef> AccessibilityUIElement::title()
265 {
266     notImplemented();
267     return nullptr;
268 }
269
270 JSRetainPtr<JSStringRef> AccessibilityUIElement::description()
271 {
272     notImplemented();
273     return nullptr;
274 }
275
276 JSRetainPtr<JSStringRef> AccessibilityUIElement::orientation() const
277 {
278     notImplemented();
279     return nullptr;
280 }
281
282 JSRetainPtr<JSStringRef> AccessibilityUIElement::stringValue()
283 {
284     notImplemented();
285     return nullptr;
286 }
287
288 JSRetainPtr<JSStringRef> AccessibilityUIElement::language()
289 {
290     notImplemented();
291     return nullptr;
292 }
293
294 JSRetainPtr<JSStringRef> AccessibilityUIElement::helpText() const
295 {
296     notImplemented();
297     return nullptr;
298 }
299
300 double AccessibilityUIElement::x()
301 {
302     notImplemented();
303     return 0.0;
304 }
305
306 double AccessibilityUIElement::y()
307 {
308     notImplemented();
309     return 0.0;
310 }
311
312 double AccessibilityUIElement::width()
313 {
314     notImplemented();
315     return 0.0;
316 }
317
318 double AccessibilityUIElement::height()
319 {
320     notImplemented();
321     return 0.0;
322 }
323
324 double AccessibilityUIElement::clickPointX()
325 {
326     notImplemented();
327     return 0.0;
328 }
329
330 double AccessibilityUIElement::clickPointY()
331 {
332     notImplemented();
333     return 0.0;
334 }
335
336 double AccessibilityUIElement::intValue() const
337 {
338     notImplemented();
339     return 0.0;
340 }
341
342 double AccessibilityUIElement::minValue()
343 {
344     notImplemented();
345     return 0.0;
346 }
347
348 double AccessibilityUIElement::maxValue()
349 {
350     notImplemented();
351     return 0.0;
352 }
353
354 JSRetainPtr<JSStringRef> AccessibilityUIElement::valueDescription()
355 {
356     notImplemented();
357     return nullptr;
358 }
359
360 int AccessibilityUIElement::insertionPointLineNumber()
361 {
362     notImplemented();
363     return 0;
364 }
365
366 bool AccessibilityUIElement::isPressActionSupported()
367 {
368     notImplemented();
369     return false;
370 }
371
372 bool AccessibilityUIElement::isIncrementActionSupported()
373 {
374     notImplemented();
375     return false;
376 }
377
378 bool AccessibilityUIElement::isDecrementActionSupported()
379 {
380     notImplemented();
381     return false;
382 }
383
384 bool AccessibilityUIElement::isEnabled()
385 {
386     notImplemented();
387     return false;
388 }
389
390 bool AccessibilityUIElement::isRequired() const
391 {
392     notImplemented();
393     return false;
394 }
395
396 bool AccessibilityUIElement::isFocused() const
397 {
398     notImplemented();
399     return false;
400 }
401
402 bool AccessibilityUIElement::isSelected() const
403 {
404     notImplemented();
405     return false;
406 }
407
408 bool AccessibilityUIElement::isSelectedOptionActive() const
409 {
410     notImplemented();
411     return false;
412 }
413
414 bool AccessibilityUIElement::isExpanded() const
415 {
416     notImplemented();
417     return false;
418 }
419
420 bool AccessibilityUIElement::isChecked() const
421 {
422     notImplemented();
423     return false;
424 }
425
426 bool AccessibilityUIElement::isIndeterminate() const
427 {
428     notImplemented();
429     return false;
430 }
431
432 int AccessibilityUIElement::hierarchicalLevel() const
433 {
434     notImplemented();
435     return 0;
436 }
437
438 JSRetainPtr<JSStringRef> AccessibilityUIElement::speakAs()
439 {
440     notImplemented();
441     return nullptr;
442 }
443
444 bool AccessibilityUIElement::ariaIsGrabbed() const
445 {
446     notImplemented();
447     return false;
448 }
449
450 JSRetainPtr<JSStringRef> AccessibilityUIElement::ariaDropEffects() const
451 {
452     notImplemented();
453     return nullptr;
454 }
455
456 int AccessibilityUIElement::lineForIndex(int)
457 {
458     notImplemented();
459     return 0;
460 }
461
462 JSRetainPtr<JSStringRef> AccessibilityUIElement::rangeForLine(int)
463 {
464     notImplemented();
465     return nullptr;
466 }
467
468 JSRetainPtr<JSStringRef> AccessibilityUIElement::rangeForPosition(int, int)
469 {
470     notImplemented();
471     return nullptr;
472 }
473
474 JSRetainPtr<JSStringRef> AccessibilityUIElement::boundsForRange(unsigned, unsigned)
475 {
476     notImplemented();
477     return nullptr;
478 }
479
480 JSRetainPtr<JSStringRef> AccessibilityUIElement::stringForRange(unsigned, unsigned)
481 {
482     notImplemented();
483     return nullptr;
484 }
485
486 JSRetainPtr<JSStringRef> AccessibilityUIElement::attributedStringForRange(unsigned, unsigned)
487 {
488     notImplemented();
489     return nullptr;
490 }
491
492 bool AccessibilityUIElement::attributedStringRangeIsMisspelled(unsigned, unsigned)
493 {
494     notImplemented();
495     return false;
496 }
497
498 unsigned AccessibilityUIElement::uiElementCountForSearchPredicate(JSContextRef, AccessibilityUIElement*, bool, JSValueRef, JSStringRef, bool, bool)
499 {
500     notImplemented();
501     return 0;
502 }
503
504 RefPtr<AccessibilityUIElement> AccessibilityUIElement::uiElementForSearchPredicate(JSContextRef, AccessibilityUIElement*, bool, JSValueRef, JSStringRef, bool, bool)
505 {
506     notImplemented();
507     return nullptr;
508 }
509
510 JSRetainPtr<JSStringRef> AccessibilityUIElement::selectTextWithCriteria(JSContextRef, JSStringRef, JSValueRef, JSStringRef, JSStringRef)
511 {
512     notImplemented();
513     return nullptr;
514 }
515
516 JSRetainPtr<JSStringRef> AccessibilityUIElement::attributesOfColumnHeaders()
517 {
518     notImplemented();
519     return nullptr;
520 }
521
522 JSRetainPtr<JSStringRef> AccessibilityUIElement::attributesOfRowHeaders()
523 {
524     notImplemented();
525     return nullptr;
526 }
527
528 JSRetainPtr<JSStringRef> AccessibilityUIElement::attributesOfColumns()
529 {
530     notImplemented();
531     return nullptr;
532 }
533
534 JSRetainPtr<JSStringRef> AccessibilityUIElement::attributesOfRows()
535 {
536     notImplemented();
537     return nullptr;
538 }
539
540 JSRetainPtr<JSStringRef> AccessibilityUIElement::attributesOfVisibleCells()
541 {
542     notImplemented();
543     return nullptr;
544 }
545
546 JSRetainPtr<JSStringRef> AccessibilityUIElement::attributesOfHeader()
547 {
548     notImplemented();
549     return nullptr;
550 }
551
552 int AccessibilityUIElement::rowCount()
553 {
554     notImplemented();
555     return 0;
556 }
557
558 int AccessibilityUIElement::columnCount()
559 {
560     notImplemented();
561     return 0;
562 }
563
564 int AccessibilityUIElement::indexInTable()
565 {
566     notImplemented();
567     return 0;
568 }
569
570 JSRetainPtr<JSStringRef> AccessibilityUIElement::rowIndexRange()
571 {
572     notImplemented();
573     return nullptr;
574 }
575
576 JSRetainPtr<JSStringRef> AccessibilityUIElement::columnIndexRange()
577 {
578     notImplemented();
579     return nullptr;
580 }
581
582 RefPtr<AccessibilityUIElement> AccessibilityUIElement::cellForColumnAndRow(unsigned, unsigned)
583 {
584     notImplemented();
585     return nullptr;
586 }
587
588 RefPtr<AccessibilityUIElement> AccessibilityUIElement::horizontalScrollbar() const
589 {
590     notImplemented();
591     return nullptr;
592 }
593
594 RefPtr<AccessibilityUIElement> AccessibilityUIElement::verticalScrollbar() const
595 {
596     notImplemented();
597     return nullptr;
598 }
599
600 JSRetainPtr<JSStringRef> AccessibilityUIElement::selectedTextRange()
601 {
602     notImplemented();
603     return nullptr;
604 }
605
606 bool AccessibilityUIElement::setSelectedTextRange(unsigned, unsigned)
607 {
608     notImplemented();
609     return false;
610 }
611
612 void AccessibilityUIElement::increment()
613 {
614     notImplemented();
615 }
616
617 void AccessibilityUIElement::decrement()
618 {
619     notImplemented();
620 }
621
622 void AccessibilityUIElement::showMenu()
623 {
624     notImplemented();
625 }
626
627 void AccessibilityUIElement::press()
628 {
629     notImplemented();
630 }
631
632 void AccessibilityUIElement::setSelectedChild(AccessibilityUIElement* element) const
633 {
634     notImplemented();
635 }
636
637 void AccessibilityUIElement::setSelectedChildAtIndex(unsigned index) const
638 {
639     notImplemented();
640 }
641
642 void AccessibilityUIElement::removeSelectionAtIndex(unsigned index) const
643 {
644     notImplemented();
645 }
646
647 void AccessibilityUIElement::clearSelectedChildren() const
648 {
649     notImplemented();
650 }
651
652 JSRetainPtr<JSStringRef> AccessibilityUIElement::accessibilityValue() const
653 {
654     notImplemented();
655     return nullptr;
656 }
657
658 JSRetainPtr<JSStringRef> AccessibilityUIElement::documentEncoding()
659 {
660     notImplemented();
661     return nullptr;
662 }
663
664 JSRetainPtr<JSStringRef> AccessibilityUIElement::documentURI()
665 {
666     notImplemented();
667     return nullptr;
668 }
669
670 JSRetainPtr<JSStringRef> AccessibilityUIElement::url()
671 {
672     notImplemented();
673     return nullptr;
674 }
675
676 bool AccessibilityUIElement::addNotificationListener(JSValueRef functionCallback)
677 {
678     notImplemented();
679     return false;
680 }
681
682 bool AccessibilityUIElement::removeNotificationListener()
683 {
684     notImplemented();
685     return false;
686 }
687
688 bool AccessibilityUIElement::isFocusable() const
689 {
690     notImplemented();
691     return false;
692 }
693
694 bool AccessibilityUIElement::isSelectable() const
695 {
696     notImplemented();
697     return false;
698 }
699
700 bool AccessibilityUIElement::isMultiSelectable() const
701 {
702     notImplemented();
703     return false;
704 }
705
706 bool AccessibilityUIElement::isVisible() const
707 {
708     notImplemented();
709     return false;
710 }
711
712 bool AccessibilityUIElement::isOffScreen() const
713 {
714     notImplemented();
715     return false;
716 }
717
718 bool AccessibilityUIElement::isCollapsed() const
719 {
720     notImplemented();
721     return false;
722 }
723
724 bool AccessibilityUIElement::isIgnored() const
725 {
726     notImplemented();
727     return false;
728 }
729
730 bool AccessibilityUIElement::isSingleLine() const
731 {
732     notImplemented();
733     return false;
734 }
735
736 bool AccessibilityUIElement::isMultiLine() const
737 {
738     notImplemented();
739     return false;
740 }
741
742 bool AccessibilityUIElement::hasPopup() const
743 {
744     notImplemented();
745     return false;
746 }
747
748 void AccessibilityUIElement::takeFocus()
749 {
750     notImplemented();
751 }
752
753 void AccessibilityUIElement::takeSelection()
754 {
755     notImplemented();
756 }
757
758 void AccessibilityUIElement::addSelection()
759 {
760     notImplemented();
761 }
762
763 void AccessibilityUIElement::removeSelection()
764 {
765     notImplemented();
766 }
767
768 RefPtr<AccessibilityTextMarkerRange> AccessibilityUIElement::lineTextMarkerRangeForTextMarker(AccessibilityTextMarker*)
769 {
770     notImplemented();
771     return nullptr;
772 }
773
774 RefPtr<AccessibilityTextMarkerRange> AccessibilityUIElement::textMarkerRangeForElement(AccessibilityUIElement*)
775 {
776     notImplemented();
777     return nullptr;
778 }
779
780 int AccessibilityUIElement::textMarkerRangeLength(AccessibilityTextMarkerRange*)
781 {
782     notImplemented();
783     return 0;
784 }
785
786 RefPtr<AccessibilityTextMarker> AccessibilityUIElement::previousTextMarker(AccessibilityTextMarker*)
787 {
788     notImplemented();
789     return nullptr;
790 }
791
792 RefPtr<AccessibilityTextMarker> AccessibilityUIElement::nextTextMarker(AccessibilityTextMarker*)
793 {
794     notImplemented();
795     return nullptr;
796 }
797
798 JSRetainPtr<JSStringRef> AccessibilityUIElement::stringForTextMarkerRange(AccessibilityTextMarkerRange*)
799 {
800     notImplemented();
801     return nullptr;
802 }
803
804 RefPtr<AccessibilityTextMarkerRange> AccessibilityUIElement::textMarkerRangeForMarkers(AccessibilityTextMarker*, AccessibilityTextMarker*)
805 {
806     notImplemented();
807     return nullptr;
808 }
809
810 RefPtr<AccessibilityTextMarker> AccessibilityUIElement::startTextMarkerForTextMarkerRange(AccessibilityTextMarkerRange*)
811 {
812     notImplemented();
813     return nullptr;
814 }
815
816 RefPtr<AccessibilityTextMarker> AccessibilityUIElement::endTextMarkerForTextMarkerRange(AccessibilityTextMarkerRange*)
817 {
818     notImplemented();
819     return nullptr;
820 }
821
822 RefPtr<AccessibilityTextMarker> AccessibilityUIElement::endTextMarkerForBounds(int, int, int, int)
823 {
824     notImplemented();
825     return nullptr;
826 }
827
828 RefPtr<AccessibilityTextMarker> AccessibilityUIElement::startTextMarkerForBounds(int, int, int, int)
829 {
830     notImplemented();
831     return nullptr;
832 }
833
834 RefPtr<AccessibilityTextMarker> AccessibilityUIElement::textMarkerForPoint(int, int)
835 {
836     notImplemented();
837     return nullptr;
838 }
839
840 RefPtr<AccessibilityUIElement> AccessibilityUIElement::accessibilityElementForTextMarker(AccessibilityTextMarker*)
841 {
842     notImplemented();
843     return nullptr;
844 }
845
846 bool AccessibilityUIElement::attributedStringForTextMarkerRangeContainsAttribute(JSStringRef, AccessibilityTextMarkerRange*)
847 {
848     notImplemented();
849     return false;
850 }
851
852 int AccessibilityUIElement::indexForTextMarker(AccessibilityTextMarker*)
853 {
854     notImplemented();
855     return 0;
856 }
857
858 bool AccessibilityUIElement::isTextMarkerValid(AccessibilityTextMarker*)
859 {
860     notImplemented();
861     return false;
862 }
863
864 RefPtr<AccessibilityTextMarker> AccessibilityUIElement::textMarkerForIndex(int)
865 {
866     notImplemented();
867     return nullptr;
868 }
869
870 RefPtr<AccessibilityTextMarker> AccessibilityUIElement::startTextMarker()
871 {
872     notImplemented();
873     return nullptr;
874 }
875
876 RefPtr<AccessibilityTextMarker> AccessibilityUIElement::endTextMarker()
877 {
878     notImplemented();
879     return nullptr;
880 }
881
882 bool AccessibilityUIElement::setSelectedVisibleTextRange(AccessibilityTextMarkerRange*)
883 {
884     notImplemented();
885     return false;
886 }
887
888 void AccessibilityUIElement::scrollToMakeVisible()
889 {
890     notImplemented();
891 }
892
893 void AccessibilityUIElement::scrollToGlobalPoint(int, int)
894 {
895     notImplemented();
896 }
897
898 void AccessibilityUIElement::scrollToMakeVisibleWithSubFocus(int, int, int, int)
899 {
900     notImplemented();
901 }
902
903 JSRetainPtr<JSStringRef> AccessibilityUIElement::supportedActions() const
904 {
905     notImplemented();
906     return nullptr;
907 }
908
909 JSRetainPtr<JSStringRef> AccessibilityUIElement::pathDescription() const
910 {
911     notImplemented();
912     return nullptr;
913 }
914
915 JSRetainPtr<JSStringRef> AccessibilityUIElement::mathPostscriptsDescription() const
916 {
917     notImplemented();
918     return nullptr;
919 }
920
921 JSRetainPtr<JSStringRef> AccessibilityUIElement::mathPrescriptsDescription() const
922 {
923     notImplemented();
924     return nullptr;
925 }
926
927 JSRetainPtr<JSStringRef> AccessibilityUIElement::classList() const
928 {
929     notImplemented();
930     return nullptr;
931 }
932
933 JSRetainPtr<JSStringRef> AccessibilityUIElement::characterAtOffset(int)
934 {
935     notImplemented();
936     return nullptr;
937 }
938
939 JSRetainPtr<JSStringRef> AccessibilityUIElement::wordAtOffset(int)
940 {
941     notImplemented();
942     return nullptr;
943 }
944
945 JSRetainPtr<JSStringRef> AccessibilityUIElement::lineAtOffset(int)
946 {
947     notImplemented();
948     return nullptr;
949 }
950
951 JSRetainPtr<JSStringRef> AccessibilityUIElement::sentenceAtOffset(int)
952 {
953     notImplemented();
954     return nullptr;
955 }
956
957 } // namespace  WTF
958
959 #endif // HAVE(ACCESSIBILITY)