Lines Matching refs:context
39 static JSValueRef allAttributesCallback(JSContextRef context, JSObjectRef function, JSObjectRef thi… in allAttributesCallback() argument
42 return JSValueMakeString(context, attributes.get()); in allAttributesCallback()
45 static JSValueRef attributesOfLinkedUIElementsCallback(JSContextRef context, JSObjectRef function, … in attributesOfLinkedUIElementsCallback() argument
48 return JSValueMakeString(context, linkedUIDescription.get()); in attributesOfLinkedUIElementsCallback()
51 static JSValueRef attributesOfDocumentLinksCallback(JSContextRef context, JSObjectRef function, JSO… in attributesOfDocumentLinksCallback() argument
54 return JSValueMakeString(context, linkedUIDescription.get()); in attributesOfDocumentLinksCallback()
57 static JSValueRef attributesOfChildrenCallback(JSContextRef context, JSObjectRef function, JSObject… in attributesOfChildrenCallback() argument
60 return JSValueMakeString(context, childrenDescription.get()); in attributesOfChildrenCallback()
63 static JSValueRef parameterizedAttributeNamesCallback(JSContextRef context, JSObjectRef function, J… in parameterizedAttributeNamesCallback() argument
66 return JSValueMakeString(context, parameterizedAttributeNames.get()); in parameterizedAttributeNamesCallback()
69 static JSValueRef attributesOfColumnHeadersCallback(JSContextRef context, JSObjectRef function, JSO… in attributesOfColumnHeadersCallback() argument
72 return JSValueMakeString(context, attributesOfColumnHeaders.get()); in attributesOfColumnHeadersCallback()
75 static JSValueRef attributesOfRowHeadersCallback(JSContextRef context, JSObjectRef function, JSObje… in attributesOfRowHeadersCallback() argument
78 return JSValueMakeString(context, attributesOfRowHeaders.get()); in attributesOfRowHeadersCallback()
81 static JSValueRef attributesOfColumnsCallback(JSContextRef context, JSObjectRef function, JSObjectR… in attributesOfColumnsCallback() argument
84 return JSValueMakeString(context, attributesOfColumns.get()); in attributesOfColumnsCallback()
87 static JSValueRef attributesOfRowsCallback(JSContextRef context, JSObjectRef function, JSObjectRef … in attributesOfRowsCallback() argument
90 return JSValueMakeString(context, attributesOfRows.get()); in attributesOfRowsCallback()
93 static JSValueRef attributesOfVisibleCellsCallback(JSContextRef context, JSObjectRef function, JSOb… in attributesOfVisibleCellsCallback() argument
96 return JSValueMakeString(context, attributesOfVisibleCells.get()); in attributesOfVisibleCellsCallback()
99 static JSValueRef attributesOfHeaderCallback(JSContextRef context, JSObjectRef function, JSObjectRe… in attributesOfHeaderCallback() argument
102 return JSValueMakeString(context, attributesOfHeader.get()); in attributesOfHeaderCallback()
105 static JSValueRef indexInTableCallback(JSContextRef context, JSObjectRef function, JSObjectRef this… in indexInTableCallback() argument
107 return JSValueMakeNumber(context, toAXElement(thisObject)->indexInTable()); in indexInTableCallback()
110 static JSValueRef rowIndexRangeCallback(JSContextRef context, JSObjectRef function, JSObjectRef thi… in rowIndexRangeCallback() argument
113 return JSValueMakeString(context, rowIndexRange.get()); in rowIndexRangeCallback()
116 static JSValueRef columnIndexRangeCallback(JSContextRef context, JSObjectRef function, JSObjectRef … in columnIndexRangeCallback() argument
119 return JSValueMakeString(context, columnIndexRange.get()); in columnIndexRangeCallback()
122 static JSValueRef lineForIndexCallback(JSContextRef context, JSObjectRef function, JSObjectRef this… in lineForIndexCallback() argument
126 indexNumber = JSValueToNumber(context, arguments[0], exception); in lineForIndexCallback()
128 return JSValueMakeNumber(context, toAXElement(thisObject)->lineForIndex(indexNumber)); in lineForIndexCallback()
131 static JSValueRef rangeForLineCallback(JSContextRef context, JSObjectRef function, JSObjectRef this… in rangeForLineCallback() argument
135 indexNumber = JSValueToNumber(context, arguments[0], exception); in rangeForLineCallback()
138 return JSValueMakeString(context, rangeLine.get()); in rangeForLineCallback()
141 static JSValueRef boundsForRangeCallback(JSContextRef context, JSObjectRef function, JSObjectRef th… in boundsForRangeCallback() argument
145 location = JSValueToNumber(context, arguments[0], exception); in boundsForRangeCallback()
146 length = JSValueToNumber(context, arguments[1], exception); in boundsForRangeCallback()
150 return JSValueMakeString(context, boundsDescription.get()); in boundsForRangeCallback()
153 static JSValueRef stringForRangeCallback(JSContextRef context, JSObjectRef function, JSObjectRef th… in stringForRangeCallback() argument
157 location = JSValueToNumber(context, arguments[0], exception); in stringForRangeCallback()
158 length = JSValueToNumber(context, arguments[1], exception); in stringForRangeCallback()
162 return JSValueMakeString(context, stringDescription.get()); in stringForRangeCallback()
165 static JSValueRef attributedStringForRangeCallback(JSContextRef context, JSObjectRef function, JSOb… in attributedStringForRangeCallback() argument
169 location = JSValueToNumber(context, arguments[0], exception); in attributedStringForRangeCallback()
170 length = JSValueToNumber(context, arguments[1], exception); in attributedStringForRangeCallback()
174 return JSValueMakeString(context, stringDescription.get()); in attributedStringForRangeCallback()
177 static JSValueRef attributedStringRangeIsMisspelledCallback(JSContextRef context, JSObjectRef funct… in attributedStringRangeIsMisspelledCallback() argument
181 location = JSValueToNumber(context, arguments[0], exception); in attributedStringRangeIsMisspelledCallback()
182 length = JSValueToNumber(context, arguments[1], exception); in attributedStringRangeIsMisspelledCallback()
185 …return JSValueMakeBoolean(context, toAXElement(thisObject)->attributedStringRangeIsMisspelled(loca… in attributedStringRangeIsMisspelledCallback()
188 static JSValueRef indexOfChildCallback(JSContextRef context, JSObjectRef function, JSObjectRef this… in indexOfChildCallback() argument
193 JSObjectRef otherElement = JSValueToObject(context, arguments[0], exception); in indexOfChildCallback()
195 return JSValueMakeNumber(context, (double)toAXElement(thisObject)->indexOfChild(childElement)); in indexOfChildCallback()
198 static JSValueRef childAtIndexCallback(JSContextRef context, JSObjectRef function, JSObjectRef this… in childAtIndexCallback() argument
202 indexNumber = JSValueToNumber(context, arguments[0], exception); in childAtIndexCallback()
204 …return AccessibilityUIElement::makeJSAccessibilityUIElement(context, toAXElement(thisObject)->getC… in childAtIndexCallback()
207 static JSValueRef selectedChildAtIndexCallback(JSContextRef context, JSObjectRef function, JSObject… in selectedChildAtIndexCallback() argument
211 indexNumber = JSValueToNumber(context, arguments[0], exception); in selectedChildAtIndexCallback()
213 …return AccessibilityUIElement::makeJSAccessibilityUIElement(context, toAXElement(thisObject)->sele… in selectedChildAtIndexCallback()
216 static JSValueRef linkedUIElementAtIndexCallback(JSContextRef context, JSObjectRef function, JSObje… in linkedUIElementAtIndexCallback() argument
220 indexNumber = JSValueToNumber(context, arguments[0], exception); in linkedUIElementAtIndexCallback()
222 …return AccessibilityUIElement::makeJSAccessibilityUIElement(context, toAXElement(thisObject)->link… in linkedUIElementAtIndexCallback()
225 static JSValueRef disclosedRowAtIndexCallback(JSContextRef context, JSObjectRef function, JSObjectR… in disclosedRowAtIndexCallback() argument
229 indexNumber = JSValueToNumber(context, arguments[0], exception); in disclosedRowAtIndexCallback()
231 …return AccessibilityUIElement::makeJSAccessibilityUIElement(context, toAXElement(thisObject)->disc… in disclosedRowAtIndexCallback()
234 static JSValueRef ariaOwnsElementAtIndexCallback(JSContextRef context, JSObjectRef function, JSObje… in ariaOwnsElementAtIndexCallback() argument
238 indexNumber = JSValueToNumber(context, arguments[0], exception); in ariaOwnsElementAtIndexCallback()
240 …return AccessibilityUIElement::makeJSAccessibilityUIElement(context, toAXElement(thisObject)->aria… in ariaOwnsElementAtIndexCallback()
243 static JSValueRef ariaFlowToElementAtIndexCallback(JSContextRef context, JSObjectRef function, JSOb… in ariaFlowToElementAtIndexCallback() argument
247 indexNumber = JSValueToNumber(context, arguments[0], exception); in ariaFlowToElementAtIndexCallback()
249 …return AccessibilityUIElement::makeJSAccessibilityUIElement(context, toAXElement(thisObject)->aria… in ariaFlowToElementAtIndexCallback()
252 static JSValueRef selectedRowAtIndexCallback(JSContextRef context, JSObjectRef function, JSObjectRe… in selectedRowAtIndexCallback() argument
256 indexNumber = JSValueToNumber(context, arguments[0], exception); in selectedRowAtIndexCallback()
258 …return AccessibilityUIElement::makeJSAccessibilityUIElement(context, toAXElement(thisObject)->sele… in selectedRowAtIndexCallback()
261 static JSValueRef isEqualCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObjec… in isEqualCallback() argument
265 otherElement = JSValueToObject(context, arguments[0], exception); in isEqualCallback()
267 return JSValueMakeBoolean(context, false); in isEqualCallback()
269 return JSValueMakeBoolean(context, toAXElement(thisObject)->isEqual(toAXElement(otherElement))); in isEqualCallback()
272 static JSValueRef setSelectedChildCallback(JSContextRef context, JSObjectRef function, JSObjectRef … in setSelectedChildCallback() argument
276 element = JSValueToObject(context, arguments[0], exception); in setSelectedChildCallback()
280 return JSValueMakeUndefined(context); in setSelectedChildCallback()
283 static JSValueRef elementAtPointCallback(JSContextRef context, JSObjectRef function, JSObjectRef th… in elementAtPointCallback() argument
288 x = JSValueToNumber(context, arguments[0], exception); in elementAtPointCallback()
289 y = JSValueToNumber(context, arguments[1], exception); in elementAtPointCallback()
292 …return AccessibilityUIElement::makeJSAccessibilityUIElement(context, toAXElement(thisObject)->elem… in elementAtPointCallback()
295 static JSValueRef isAttributeSupportedCallback(JSContextRef context, JSObjectRef function, JSObject… in isAttributeSupportedCallback() argument
299 attribute = JSValueToStringCopy(context, arguments[0], exception); in isAttributeSupportedCallback()
300 …JSValueRef result = JSValueMakeBoolean(context, toAXElement(thisObject)->isAttributeSupported(attr… in isAttributeSupportedCallback()
306 static JSValueRef isAttributeSettableCallback(JSContextRef context, JSObjectRef function, JSObjectR… in isAttributeSettableCallback() argument
310 attribute = JSValueToStringCopy(context, arguments[0], exception); in isAttributeSettableCallback()
311 …JSValueRef result = JSValueMakeBoolean(context, toAXElement(thisObject)->isAttributeSettable(attri… in isAttributeSettableCallback()
318 static JSValueRef isActionSupportedCallback(JSContextRef context, JSObjectRef function, JSObjectRef… in isActionSupportedCallback() argument
322 action = JSValueToStringCopy(context, arguments[0], exception); in isActionSupportedCallback()
323 …JSValueRef result = JSValueMakeBoolean(context, toAXElement(thisObject)->isActionSupported(action)… in isActionSupportedCallback()
329 static JSValueRef boolAttributeValueCallback(JSContextRef context, JSObjectRef function, JSObjectRe… in boolAttributeValueCallback() argument
333 attribute = JSValueToStringCopy(context, arguments[0], exception); in boolAttributeValueCallback()
335 JSValueRef result = JSValueMakeBoolean(context, val); in boolAttributeValueCallback()
341 static JSValueRef stringAttributeValueCallback(JSContextRef context, JSObjectRef function, JSObject… in stringAttributeValueCallback() argument
345 attribute = JSValueToStringCopy(context, arguments[0], exception); in stringAttributeValueCallback()
347 JSValueRef result = JSValueMakeString(context, stringAttributeValue.get()); in stringAttributeValueCallback()
353 static JSValueRef cellForColumnAndRowCallback(JSContextRef context, JSObjectRef function, JSObjectR… in cellForColumnAndRowCallback() argument
357 column = JSValueToNumber(context, arguments[0], exception); in cellForColumnAndRowCallback()
358 row = JSValueToNumber(context, arguments[1], exception); in cellForColumnAndRowCallback()
361 …return AccessibilityUIElement::makeJSAccessibilityUIElement(context, toAXElement(thisObject)->cell… in cellForColumnAndRowCallback()
364 static JSValueRef titleUIElementCallback(JSContextRef context, JSObjectRef function, JSObjectRef th… in titleUIElementCallback() argument
366 …return AccessibilityUIElement::makeJSAccessibilityUIElement(context, toAXElement(thisObject)->titl… in titleUIElementCallback()
369 static JSValueRef parentElementCallback(JSContextRef context, JSObjectRef function, JSObjectRef thi… in parentElementCallback() argument
371 …return AccessibilityUIElement::makeJSAccessibilityUIElement(context, toAXElement(thisObject)->pare… in parentElementCallback()
374 static JSValueRef disclosedByRowCallback(JSContextRef context, JSObjectRef function, JSObjectRef th… in disclosedByRowCallback() argument
376 …return AccessibilityUIElement::makeJSAccessibilityUIElement(context, toAXElement(thisObject)->disc… in disclosedByRowCallback()
379 static JSValueRef setSelectedTextRangeCallback(JSContextRef context, JSObjectRef function, JSObject… in setSelectedTextRangeCallback() argument
383 location = JSValueToNumber(context, arguments[0], exception); in setSelectedTextRangeCallback()
384 length = JSValueToNumber(context, arguments[1], exception); in setSelectedTextRangeCallback()
388 return JSValueMakeUndefined(context); in setSelectedTextRangeCallback()
391 static JSValueRef incrementCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObj… in incrementCallback() argument
394 return JSValueMakeUndefined(context); in incrementCallback()
397 static JSValueRef decrementCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObj… in decrementCallback() argument
400 return JSValueMakeUndefined(context); in decrementCallback()
403 static JSValueRef showMenuCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObje… in showMenuCallback() argument
406 return JSValueMakeUndefined(context); in showMenuCallback()
409 static JSValueRef pressCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject,… in pressCallback() argument
412 return JSValueMakeUndefined(context); in pressCallback()
415 static JSValueRef takeFocusCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObj… in takeFocusCallback() argument
418 return JSValueMakeUndefined(context); in takeFocusCallback()
421 static JSValueRef takeSelectionCallback(JSContextRef context, JSObjectRef function, JSObjectRef thi… in takeSelectionCallback() argument
424 return JSValueMakeUndefined(context); in takeSelectionCallback()
427 static JSValueRef addSelectionCallback(JSContextRef context, JSObjectRef function, JSObjectRef this… in addSelectionCallback() argument
430 return JSValueMakeUndefined(context); in addSelectionCallback()
433 static JSValueRef removeSelectionCallback(JSContextRef context, JSObjectRef function, JSObjectRef t… in removeSelectionCallback() argument
436 return JSValueMakeUndefined(context); in removeSelectionCallback()
439 static JSValueRef textMarkerRangeForElementCallback(JSContextRef context, JSObjectRef function, JSO… in textMarkerRangeForElementCallback() argument
443 uiElement = toAXElement(JSValueToObject(context, arguments[0], exception)); in textMarkerRangeForElementCallback()
445 …return AccessibilityTextMarkerRange::makeJSAccessibilityTextMarkerRange(context, toAXElement(thisO… in textMarkerRangeForElementCallback()
448 static JSValueRef textMarkerRangeLengthCallback(JSContextRef context, JSObjectRef function, JSObjec… in textMarkerRangeLengthCallback() argument
452 range = toTextMarkerRange(JSValueToObject(context, arguments[0], exception)); in textMarkerRangeLengthCallback()
454 return JSValueMakeNumber(context, (int)toAXElement(thisObject)->textMarkerRangeLength(range)); in textMarkerRangeLengthCallback()
457 static JSValueRef textMarkerForPointCallback(JSContextRef context, JSObjectRef function, JSObjectRe… in textMarkerForPointCallback() argument
462 x = JSValueToNumber(context, arguments[0], exception); in textMarkerForPointCallback()
463 y = JSValueToNumber(context, arguments[1], exception); in textMarkerForPointCallback()
466 …return AccessibilityTextMarker::makeJSAccessibilityTextMarker(context, toAXElement(thisObject)->te… in textMarkerForPointCallback()
469 static JSValueRef textMarkerRangeForMarkersCallback(JSContextRef context, JSObjectRef function, JSO… in textMarkerRangeForMarkersCallback() argument
474 startMarker = toTextMarker(JSValueToObject(context, arguments[0], exception)); in textMarkerRangeForMarkersCallback()
475 endMarker = toTextMarker(JSValueToObject(context, arguments[1], exception)); in textMarkerRangeForMarkersCallback()
478 …return AccessibilityTextMarkerRange::makeJSAccessibilityTextMarkerRange(context, toAXElement(thisO… in textMarkerRangeForMarkersCallback()
481 static JSValueRef startTextMarkerForTextMarkerRangeCallback(JSContextRef context, JSObjectRef funct… in startTextMarkerForTextMarkerRangeCallback() argument
485 markerRange = toTextMarkerRange(JSValueToObject(context, arguments[0], exception)); in startTextMarkerForTextMarkerRangeCallback()
487 …return AccessibilityTextMarker::makeJSAccessibilityTextMarker(context, toAXElement(thisObject)->st… in startTextMarkerForTextMarkerRangeCallback()
490 static JSValueRef endTextMarkerForTextMarkerRangeCallback(JSContextRef context, JSObjectRef functio… in endTextMarkerForTextMarkerRangeCallback() argument
494 markerRange = toTextMarkerRange(JSValueToObject(context, arguments[0], exception)); in endTextMarkerForTextMarkerRangeCallback()
496 …return AccessibilityTextMarker::makeJSAccessibilityTextMarker(context, toAXElement(thisObject)->en… in endTextMarkerForTextMarkerRangeCallback()
499 static JSValueRef accessibilityElementForTextMarkerCallback(JSContextRef context, JSObjectRef funct… in accessibilityElementForTextMarkerCallback() argument
503 marker = toTextMarker(JSValueToObject(context, arguments[0], exception)); in accessibilityElementForTextMarkerCallback()
505 …return AccessibilityUIElement::makeJSAccessibilityUIElement(context, toAXElement(thisObject)->acce… in accessibilityElementForTextMarkerCallback()
510 static JSValueRef getARIADropEffectsCallback(JSContextRef context, JSObjectRef thisObject, JSString… in getARIADropEffectsCallback() argument
513 return JSValueMakeString(context, dropEffects.get()); in getARIADropEffectsCallback()
516 static JSValueRef getARIAIsGrabbedCallback(JSContextRef context, JSObjectRef thisObject, JSStringRe… in getARIAIsGrabbedCallback() argument
518 return JSValueMakeBoolean(context, toAXElement(thisObject)->ariaIsGrabbed()); in getARIAIsGrabbedCallback()
521 static JSValueRef getIsValidCallback(JSContextRef context, JSObjectRef thisObject, JSStringRef prop… in getIsValidCallback() argument
525 return JSValueMakeBoolean(context, false); in getIsValidCallback()
529 return JSValueMakeBoolean(context, true); in getIsValidCallback()
532 static JSValueRef getRoleCallback(JSContextRef context, JSObjectRef thisObject, JSStringRef propert… in getRoleCallback() argument
535 return JSValueMakeString(context, role.get()); in getRoleCallback()
538 static JSValueRef getSubroleCallback(JSContextRef context, JSObjectRef thisObject, JSStringRef prop… in getSubroleCallback() argument
541 return JSValueMakeString(context, role.get()); in getSubroleCallback()
544 static JSValueRef getRoleDescriptionCallback(JSContextRef context, JSObjectRef thisObject, JSString… in getRoleDescriptionCallback() argument
547 return JSValueMakeString(context, roleDesc.get()); in getRoleDescriptionCallback()
550 static JSValueRef getTitleCallback(JSContextRef context, JSObjectRef thisObject, JSStringRef proper… in getTitleCallback() argument
553 return JSValueMakeString(context, title.get()); in getTitleCallback()
556 static JSValueRef getDescriptionCallback(JSContextRef context, JSObjectRef thisObject, JSStringRef … in getDescriptionCallback() argument
559 return JSValueMakeString(context, description.get()); in getDescriptionCallback()
562 static JSValueRef getStringValueCallback(JSContextRef context, JSObjectRef thisObject, JSStringRef … in getStringValueCallback() argument
565 return JSValueMakeString(context, stringValue.get()); in getStringValueCallback()
568 static JSValueRef getLanguageCallback(JSContextRef context, JSObjectRef thisObject, JSStringRef pro… in getLanguageCallback() argument
571 return JSValueMakeString(context, language.get()); in getLanguageCallback()
574 static JSValueRef getHelpTextCallback(JSContextRef context, JSObjectRef thisObject, JSStringRef pro… in getHelpTextCallback() argument
577 return JSValueMakeString(context, language.get()); in getHelpTextCallback()
580 static JSValueRef getOrientationCallback(JSContextRef context, JSObjectRef thisObject, JSStringRef … in getOrientationCallback() argument
583 return JSValueMakeString(context, orientation.get()); in getOrientationCallback()
586 static JSValueRef getChildrenCountCallback(JSContextRef context, JSObjectRef thisObject, JSStringRe… in getChildrenCountCallback() argument
588 return JSValueMakeNumber(context, toAXElement(thisObject)->childrenCount()); in getChildrenCountCallback()
591 static JSValueRef rowCountCallback(JSContextRef context, JSObjectRef thisObject, JSStringRef proper… in rowCountCallback() argument
593 return JSValueMakeNumber(context, toAXElement(thisObject)->rowCount()); in rowCountCallback()
596 static JSValueRef columnCountCallback(JSContextRef context, JSObjectRef thisObject, JSStringRef pro… in columnCountCallback() argument
598 return JSValueMakeNumber(context, toAXElement(thisObject)->columnCount()); in columnCountCallback()
601 static JSValueRef getXCallback(JSContextRef context, JSObjectRef thisObject, JSStringRef propertyNa… in getXCallback() argument
603 return JSValueMakeNumber(context, toAXElement(thisObject)->x()); in getXCallback()
606 static JSValueRef getYCallback(JSContextRef context, JSObjectRef thisObject, JSStringRef propertyNa… in getYCallback() argument
608 return JSValueMakeNumber(context, toAXElement(thisObject)->y()); in getYCallback()
611 static JSValueRef getWidthCallback(JSContextRef context, JSObjectRef thisObject, JSStringRef proper… in getWidthCallback() argument
613 return JSValueMakeNumber(context, toAXElement(thisObject)->width()); in getWidthCallback()
616 static JSValueRef getHeightCallback(JSContextRef context, JSObjectRef thisObject, JSStringRef prope… in getHeightCallback() argument
618 return JSValueMakeNumber(context, toAXElement(thisObject)->height()); in getHeightCallback()
621 static JSValueRef getClickPointXCallback(JSContextRef context, JSObjectRef thisObject, JSStringRef … in getClickPointXCallback() argument
623 return JSValueMakeNumber(context, toAXElement(thisObject)->clickPointX()); in getClickPointXCallback()
626 static JSValueRef getClickPointYCallback(JSContextRef context, JSObjectRef thisObject, JSStringRef … in getClickPointYCallback() argument
628 return JSValueMakeNumber(context, toAXElement(thisObject)->clickPointY()); in getClickPointYCallback()
631 static JSValueRef getIntValueCallback(JSContextRef context, JSObjectRef thisObject, JSStringRef pro… in getIntValueCallback() argument
633 return JSValueMakeNumber(context, toAXElement(thisObject)->intValue()); in getIntValueCallback()
636 static JSValueRef getMinValueCallback(JSContextRef context, JSObjectRef thisObject, JSStringRef pro… in getMinValueCallback() argument
638 return JSValueMakeNumber(context, toAXElement(thisObject)->minValue()); in getMinValueCallback()
641 static JSValueRef getMaxValueCallback(JSContextRef context, JSObjectRef thisObject, JSStringRef pro… in getMaxValueCallback() argument
643 return JSValueMakeNumber(context, toAXElement(thisObject)->maxValue()); in getMaxValueCallback()
646 static JSValueRef getInsertionPointLineNumberCallback(JSContextRef context, JSObjectRef thisObject,… in getInsertionPointLineNumberCallback() argument
648 return JSValueMakeNumber(context, toAXElement(thisObject)->insertionPointLineNumber()); in getInsertionPointLineNumberCallback()
651 static JSValueRef getSelectedTextRangeCallback(JSContextRef context, JSObjectRef thisObject, JSStri… in getSelectedTextRangeCallback() argument
654 return JSValueMakeString(context, selectedTextRange.get()); in getSelectedTextRangeCallback()
657 static JSValueRef getIsEnabledCallback(JSContextRef context, JSObjectRef thisObject, JSStringRef pr… in getIsEnabledCallback() argument
659 return JSValueMakeBoolean(context, toAXElement(thisObject)->isEnabled()); in getIsEnabledCallback()
662 static JSValueRef getIsRequiredCallback(JSContextRef context, JSObjectRef thisObject, JSStringRef, … in getIsRequiredCallback() argument
664 return JSValueMakeBoolean(context, toAXElement(thisObject)->isRequired()); in getIsRequiredCallback()
667 static JSValueRef getIsFocusedCallback(JSContextRef context, JSObjectRef thisObject, JSStringRef, J… in getIsFocusedCallback() argument
669 return JSValueMakeBoolean(context, toAXElement(thisObject)->isFocused()); in getIsFocusedCallback()
672 static JSValueRef getIsFocusableCallback(JSContextRef context, JSObjectRef thisObject, JSStringRef,… in getIsFocusableCallback() argument
674 return JSValueMakeBoolean(context, toAXElement(thisObject)->isFocusable()); in getIsFocusableCallback()
677 static JSValueRef getIsSelectedCallback(JSContextRef context, JSObjectRef thisObject, JSStringRef, … in getIsSelectedCallback() argument
679 return JSValueMakeBoolean(context, toAXElement(thisObject)->isSelected()); in getIsSelectedCallback()
682 static JSValueRef getIsSelectableCallback(JSContextRef context, JSObjectRef thisObject, JSStringRef… in getIsSelectableCallback() argument
684 return JSValueMakeBoolean(context, toAXElement(thisObject)->isSelectable()); in getIsSelectableCallback()
687 static JSValueRef getIsMultiSelectableCallback(JSContextRef context, JSObjectRef thisObject, JSStri… in getIsMultiSelectableCallback() argument
689 return JSValueMakeBoolean(context, toAXElement(thisObject)->isMultiSelectable()); in getIsMultiSelectableCallback()
692 static JSValueRef getIsExpandedCallback(JSContextRef context, JSObjectRef thisObject, JSStringRef, … in getIsExpandedCallback() argument
694 return JSValueMakeBoolean(context, toAXElement(thisObject)->isExpanded()); in getIsExpandedCallback()
697 static JSValueRef getIsCheckedCallback(JSContextRef context, JSObjectRef thisObject, JSStringRef, J… in getIsCheckedCallback() argument
699 return JSValueMakeBoolean(context, toAXElement(thisObject)->isChecked()); in getIsCheckedCallback()
702 static JSValueRef getIsVisibleCallback(JSContextRef context, JSObjectRef thisObject, JSStringRef, J… in getIsVisibleCallback() argument
704 return JSValueMakeBoolean(context, toAXElement(thisObject)->isVisible()); in getIsVisibleCallback()
707 static JSValueRef getIsOffScreenCallback(JSContextRef context, JSObjectRef thisObject, JSStringRef,… in getIsOffScreenCallback() argument
709 return JSValueMakeBoolean(context, toAXElement(thisObject)->isOffScreen()); in getIsOffScreenCallback()
712 static JSValueRef getIsCollapsedCallback(JSContextRef context, JSObjectRef thisObject, JSStringRef,… in getIsCollapsedCallback() argument
714 return JSValueMakeBoolean(context, toAXElement(thisObject)->isCollapsed()); in getIsCollapsedCallback()
717 static JSValueRef isIgnoredCallback(JSContextRef context, JSObjectRef thisObject, JSStringRef, JSVa… in isIgnoredCallback() argument
719 return JSValueMakeBoolean(context, toAXElement(thisObject)->isIgnored()); in isIgnoredCallback()
722 static JSValueRef speakCallback(JSContextRef context, JSObjectRef thisObject, JSStringRef, JSValueR… in speakCallback() argument
725 return JSValueMakeString(context, speakString.get()); in speakCallback()
728 static JSValueRef selectedChildrenCountCallback(JSContextRef context, JSObjectRef thisObject, JSStr… in selectedChildrenCountCallback() argument
730 return JSValueMakeNumber(context, toAXElement(thisObject)->selectedChildrenCount()); in selectedChildrenCountCallback()
733 static JSValueRef getHasPopupCallback(JSContextRef context, JSObjectRef thisObject, JSStringRef, JS… in getHasPopupCallback() argument
735 return JSValueMakeBoolean(context, toAXElement(thisObject)->hasPopup()); in getHasPopupCallback()
738 static JSValueRef hierarchicalLevelCallback(JSContextRef context, JSObjectRef thisObject, JSStringR… in hierarchicalLevelCallback() argument
740 return JSValueMakeNumber(context, toAXElement(thisObject)->hierarchicalLevel()); in hierarchicalLevelCallback()
743 static JSValueRef getValueDescriptionCallback(JSContextRef context, JSObjectRef thisObject, JSStrin… in getValueDescriptionCallback() argument
746 return JSValueMakeString(context, valueDescription.get()); in getValueDescriptionCallback()
749 static JSValueRef getAccessibilityValueCallback(JSContextRef context, JSObjectRef thisObject, JSStr… in getAccessibilityValueCallback() argument
752 return JSValueMakeString(context, accessibilityValue.get()); in getAccessibilityValueCallback()
755 static JSValueRef getDocumentEncodingCallback(JSContextRef context, JSObjectRef thisObject, JSStrin… in getDocumentEncodingCallback() argument
758 return JSValueMakeString(context, documentEncoding.get()); in getDocumentEncodingCallback()
761 static JSValueRef getDocumentURICallback(JSContextRef context, JSObjectRef thisObject, JSStringRef … in getDocumentURICallback() argument
764 return JSValueMakeString(context, documentURI.get()); in getDocumentURICallback()
767 static JSValueRef getURLCallback(JSContextRef context, JSObjectRef thisObject, JSStringRef property… in getURLCallback() argument
770 return JSValueMakeString(context, url.get()); in getURLCallback()
773 static JSValueRef addNotificationListenerCallback(JSContextRef context, JSObjectRef function, JSObj… in addNotificationListenerCallback() argument
776 return JSValueMakeBoolean(context, false); in addNotificationListenerCallback()
778 JSObjectRef callback = JSValueToObject(context, arguments[0], exception); in addNotificationListenerCallback()
780 return JSValueMakeBoolean(context, succeeded); in addNotificationListenerCallback()
783 static JSValueRef removeNotificationListenerCallback(JSContextRef context, JSObjectRef function, JS… in removeNotificationListenerCallback() argument
786 return JSValueMakeUndefined(context); in removeNotificationListenerCallback()
855 JSObjectRef AccessibilityUIElement::makeJSAccessibilityUIElement(JSContextRef context, const Access… in makeJSAccessibilityUIElement() argument
857 …return JSObjectMake(context, AccessibilityUIElement::getJSClass(), new AccessibilityUIElement(elem… in makeJSAccessibilityUIElement()