OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright (C) 2008, 2009, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008, 2009, 2011 Apple Inc. All rights reserved. |
3 * Copyright (C) 2008 Nuanti Ltd. | 3 * Copyright (C) 2008 Nuanti Ltd. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
119 MathElementRole, | 119 MathElementRole, |
120 MathRole, | 120 MathRole, |
121 MatteRole, | 121 MatteRole, |
122 MenuBarRole, | 122 MenuBarRole, |
123 MenuButtonRole, | 123 MenuButtonRole, |
124 MenuItemRole, | 124 MenuItemRole, |
125 MenuListOptionRole, | 125 MenuListOptionRole, |
126 MenuListPopupRole, | 126 MenuListPopupRole, |
127 MenuRole, | 127 MenuRole, |
128 NavigationRole, | 128 NavigationRole, |
129 NoneRole, | |
129 NoteRole, | 130 NoteRole, |
130 OutlineRole, | 131 OutlineRole, |
131 ParagraphRole, | 132 ParagraphRole, |
132 PopUpButtonRole, | 133 PopUpButtonRole, |
133 PresentationalRole, | 134 PresentationalRole, |
134 ProgressIndicatorRole, | 135 ProgressIndicatorRole, |
135 RadioButtonRole, | 136 RadioButtonRole, |
136 RadioGroupRole, | 137 RadioGroupRole, |
137 RegionRole, | 138 RegionRole, |
138 RootWebAreaRole, | 139 RootWebAreaRole, |
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
427 virtual void ariaFlowToElements(AccessibilityChildrenVector&) const { } | 428 virtual void ariaFlowToElements(AccessibilityChildrenVector&) const { } |
428 virtual void ariaControlsElements(AccessibilityChildrenVector&) const { } | 429 virtual void ariaControlsElements(AccessibilityChildrenVector&) const { } |
429 virtual void ariaDescribedbyElements(AccessibilityChildrenVector& describedb y) const { }; | 430 virtual void ariaDescribedbyElements(AccessibilityChildrenVector& describedb y) const { }; |
430 virtual void ariaLabelledbyElements(AccessibilityChildrenVector& labelledby) const { }; | 431 virtual void ariaLabelledbyElements(AccessibilityChildrenVector& labelledby) const { }; |
431 virtual void ariaOwnsElements(AccessibilityChildrenVector& owns) const { }; | 432 virtual void ariaOwnsElements(AccessibilityChildrenVector& owns) const { }; |
432 virtual bool ariaHasPopup() const { return false; } | 433 virtual bool ariaHasPopup() const { return false; } |
433 bool ariaIsMultiline() const; | 434 bool ariaIsMultiline() const; |
434 virtual String ariaLabeledByAttribute() const { return String(); } | 435 virtual String ariaLabeledByAttribute() const { return String(); } |
435 bool ariaPressedIsPresent() const; | 436 bool ariaPressedIsPresent() const; |
436 virtual AccessibilityRole ariaRoleAttribute() const { return UnknownRole; } | 437 virtual AccessibilityRole ariaRoleAttribute() const { return UnknownRole; } |
437 virtual bool ariaRoleHasPresentationalChildren() const { return false; } | 438 virtual bool ariaRoleHasNoneOrPresentationalChildren() const { return false; } |
shreeramk
2014/09/20 12:39:36
Should I go ahead with above modified function nam
dmazzoni
2014/09/22 06:12:23
My vote is to leave it alone - ariaRoleHasPresenta
| |
438 virtual bool isARIAGrabbed() { return false; } | 439 virtual bool isARIAGrabbed() { return false; } |
439 virtual bool isPresentationalChildOfAriaRole() const { return false; } | 440 virtual bool isNoneOrPresentationalChildOfAriaRole() const { return false; } |
shreeramk
2014/09/20 12:39:36
Should I go ahead with above modified function nam
| |
440 virtual bool shouldFocusActiveDescendant() const { return false; } | 441 virtual bool shouldFocusActiveDescendant() const { return false; } |
441 bool supportsARIAAttributes() const; | 442 bool supportsARIAAttributes() const; |
442 virtual bool supportsARIADragging() const { return false; } | 443 virtual bool supportsARIADragging() const { return false; } |
443 virtual bool supportsARIADropping() const { return false; } | 444 virtual bool supportsARIADropping() const { return false; } |
444 virtual bool supportsARIAFlowTo() const { return false; } | 445 virtual bool supportsARIAFlowTo() const { return false; } |
445 virtual bool supportsARIAOwns() const { return false; } | 446 virtual bool supportsARIAOwns() const { return false; } |
446 bool supportsRangeValue() const; | 447 bool supportsRangeValue() const; |
447 | 448 |
448 // ARIA trees. | 449 // ARIA trees. |
449 // Used by an ARIA tree to get all its rows. | 450 // Used by an ARIA tree to get all its rows. |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
576 | 577 |
577 bool m_detached; | 578 bool m_detached; |
578 }; | 579 }; |
579 | 580 |
580 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ | 581 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ |
581 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred icate) | 582 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred icate) |
582 | 583 |
583 } // namespace blink | 584 } // namespace blink |
584 | 585 |
585 #endif // AXObject_h | 586 #endif // AXObject_h |
OLD | NEW |