| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2003, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights
reserved. | 2 * Copyright (C) 2003, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights
reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 void selectedChildrenChanged(RenderObject*); | 118 void selectedChildrenChanged(RenderObject*); |
| 119 void selectionChanged(Node*); | 119 void selectionChanged(Node*); |
| 120 // Called by a node when text or a text equivalent (e.g. alt) attribute is c
hanged. | 120 // Called by a node when text or a text equivalent (e.g. alt) attribute is c
hanged. |
| 121 void textChanged(Node*); | 121 void textChanged(Node*); |
| 122 void textChanged(RenderObject*); | 122 void textChanged(RenderObject*); |
| 123 // Called when a node has just been attached, so we can make sure we have th
e right subclass of AXObject. | 123 // Called when a node has just been attached, so we can make sure we have th
e right subclass of AXObject. |
| 124 void updateCacheAfterNodeIsAttached(Node*); | 124 void updateCacheAfterNodeIsAttached(Node*); |
| 125 | 125 |
| 126 void handleActiveDescendantChanged(Node*); | 126 void handleActiveDescendantChanged(Node*); |
| 127 void handleAriaRoleChanged(Node*); | 127 void handleAriaRoleChanged(Node*); |
| 128 void handleFocusedUIElementChanged(Node* oldFocusedNode, Node* newFocusedNod
e); | 128 void handleFocusedUIElementChanged(const Document&); |
| 129 void handleScrolledToAnchor(const Node* anchorNode); | 129 void handleScrolledToAnchor(const Node* anchorNode); |
| 130 void handleAriaExpandedChange(Node*); | 130 void handleAriaExpandedChange(Node*); |
| 131 void handleScrollbarUpdate(ScrollView*); | 131 void handleScrollbarUpdate(ScrollView*); |
| 132 | 132 |
| 133 void handleAttributeChanged(const QualifiedName& attrName, Element*); | 133 void handleAttributeChanged(const QualifiedName& attrName, Element*); |
| 134 void recomputeIsIgnored(RenderObject* renderer); | 134 void recomputeIsIgnored(RenderObject* renderer); |
| 135 | 135 |
| 136 static void enableAccessibility() { gAccessibilityEnabled = true; } | 136 static void enableAccessibility() { gAccessibilityEnabled = true; } |
| 137 static bool accessibilityEnabled() { return gAccessibilityEnabled; } | 137 static bool accessibilityEnabled() { return gAccessibilityEnabled; } |
| 138 static void setInlineTextBoxAccessibility(bool flag) { gInlineTextBoxAccessi
bility = flag; } | 138 static void setInlineTextBoxAccessibility(bool flag) { gInlineTextBoxAccessi
bility = flag; } |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 AXID getAXID(AXObject*); | 226 AXID getAXID(AXObject*); |
| 227 }; | 227 }; |
| 228 | 228 |
| 229 bool nodeHasRole(Node*, const String& role); | 229 bool nodeHasRole(Node*, const String& role); |
| 230 // This will let you know if aria-hidden was explicitly set to false. | 230 // This will let you know if aria-hidden was explicitly set to false. |
| 231 bool isNodeAriaVisible(Node*); | 231 bool isNodeAriaVisible(Node*); |
| 232 | 232 |
| 233 } | 233 } |
| 234 | 234 |
| 235 #endif | 235 #endif |
| OLD | NEW |