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