• cfleizach@apple.com's avatar
    WAI-ARIA: implement support for ARIA drag and drop · b012c5ea
    cfleizach@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=32007
    
    Reviewed by Darin Adler.
    
    WebCore: 
    
    Test: platform/mac/accessibility/aria-drag-drop.html
    
    * accessibility/AccessibilityObject.h:
    (WebCore::AccessibilityObject::supportsARIADropping):
    (WebCore::AccessibilityObject::supportsARIADragging):
    (WebCore::AccessibilityObject::isARIAGrabbed):
    (WebCore::AccessibilityObject::setARIAGrabbed):
    (WebCore::AccessibilityObject::determineARIADropEffects):
    * accessibility/AccessibilityRenderObject.cpp:
    (WebCore::AccessibilityRenderObject::supportsARIADropping):
    (WebCore::AccessibilityRenderObject::supportsARIADragging):
    (WebCore::AccessibilityRenderObject::isARIAGrabbed):
    (WebCore::AccessibilityRenderObject::setARIAGrabbed):
    (WebCore::AccessibilityRenderObject::determineARIADropEffects):
    * accessibility/AccessibilityRenderObject.h:
    * accessibility/mac/AccessibilityObjectWrapper.mm:
    (-[AccessibilityObjectWrapper additionalAccessibilityAttributeNames]):
    (-[AccessibilityObjectWrapper accessibilityAttributeValue:]):
    (-[AccessibilityObjectWrapper accessibilityIsAttributeSettable:]):
    (-[AccessibilityObjectWrapper accessibilitySetValue:forAttribute:]):
    * html/HTMLAttributeNames.in:
    
    WebKitTools: 
    
    * DumpRenderTree/AccessibilityUIElement.cpp:
    (getARIADropEffectsCallback):
    (getARIAIsGrabbedCallback):
    (AccessibilityUIElement::getJSClass):
    * DumpRenderTree/AccessibilityUIElement.h:
    * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
    (AccessibilityUIElement::ariaIsGrabbed):
    (AccessibilityUIElement::ariaDropEffects):
    
    LayoutTests: 
    
    * platform/mac/accessibility/aria-drag-drop-expected.txt: Added.
    * platform/mac/accessibility/aria-drag-drop.html: Added.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51582 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    b012c5ea
ChangeLog 1.19 MB
The source could not be displayed because it is larger than 1 MB. You can load it anyway or download it instead.