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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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(Node* oldFocusedNode, Node* newFocusedNod
e); |
129 void handleScrolledToAnchor(const Node* anchorNode); | 129 void handleScrolledToAnchor(const Node* anchorNode); |
130 void handleAriaExpandedChange(Node*); | 130 void handleAriaExpandedChange(Node*); |
131 | 131 |
132 // Called when scroll bars are added / removed (as the view resizes). | 132 // Called when scroll bars are added / removed (as the view resizes). |
133 void handleScrollbarUpdate(ScrollView*); | 133 void handleScrollbarUpdate(ScrollView*); |
134 | 134 |
135 void handleLayoutComplete(RenderObject*); | |
136 | |
137 // Called when the scroll offset changes. | 135 // Called when the scroll offset changes. |
138 void handleScrollPositionChanged(ScrollView*); | 136 void handleScrollPositionChanged(ScrollView*); |
139 void handleScrollPositionChanged(RenderObject*); | 137 void handleScrollPositionChanged(RenderObject*); |
140 | 138 |
141 void handleAttributeChanged(const QualifiedName& attrName, Element*); | 139 void handleAttributeChanged(const QualifiedName& attrName, Element*); |
142 void recomputeIsIgnored(RenderObject* renderer); | 140 void recomputeIsIgnored(RenderObject* renderer); |
143 | 141 |
144 static void enableAccessibility() { gAccessibilityEnabled = true; } | 142 static void enableAccessibility() { gAccessibilityEnabled = true; } |
145 static bool accessibilityEnabled() { return gAccessibilityEnabled; } | 143 static bool accessibilityEnabled() { return gAccessibilityEnabled; } |
146 static void setInlineTextBoxAccessibility(bool flag) { gInlineTextBoxAccessi
bility = flag; } | 144 static void setInlineTextBoxAccessibility(bool flag) { gInlineTextBoxAccessi
bility = flag; } |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 AXID getAXID(AXObject*); | 233 AXID getAXID(AXObject*); |
236 }; | 234 }; |
237 | 235 |
238 bool nodeHasRole(Node*, const String& role); | 236 bool nodeHasRole(Node*, const String& role); |
239 // This will let you know if aria-hidden was explicitly set to false. | 237 // This will let you know if aria-hidden was explicitly set to false. |
240 bool isNodeAriaVisible(Node*); | 238 bool isNodeAriaVisible(Node*); |
241 | 239 |
242 } | 240 } |
243 | 241 |
244 #endif | 242 #endif |
OLD | NEW |