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 20 matching lines...) Loading... |
31 #include "platform/Timer.h" | 31 #include "platform/Timer.h" |
32 #include "wtf/Forward.h" | 32 #include "wtf/Forward.h" |
33 #include "wtf/HashMap.h" | 33 #include "wtf/HashMap.h" |
34 #include "wtf/HashSet.h" | 34 #include "wtf/HashSet.h" |
35 #include "wtf/RefPtr.h" | 35 #include "wtf/RefPtr.h" |
36 | 36 |
37 namespace blink { | 37 namespace blink { |
38 | 38 |
39 class AbstractInlineTextBox; | 39 class AbstractInlineTextBox; |
40 class HTMLAreaElement; | 40 class HTMLAreaElement; |
41 class ScrollView; | 41 class FrameView; |
42 class Widget; | 42 class Widget; |
43 | 43 |
44 struct TextMarkerData { | 44 struct TextMarkerData { |
45 AXID axID; | 45 AXID axID; |
46 Node* node; | 46 Node* node; |
47 int offset; | 47 int offset; |
48 EAffinity affinity; | 48 EAffinity affinity; |
49 }; | 49 }; |
50 | 50 |
51 class AXComputedObjectAttributeCache { | 51 class AXComputedObjectAttributeCache { |
(...skipping 68 matching lines...) Loading... |
120 // Called when a node has just been attached, so we can make sure we have th
e right subclass of AXObject. | 120 // Called when a node has just been attached, so we can make sure we have th
e right subclass of AXObject. |
121 void updateCacheAfterNodeIsAttached(Node*); | 121 void updateCacheAfterNodeIsAttached(Node*); |
122 | 122 |
123 void handleActiveDescendantChanged(Node*); | 123 void handleActiveDescendantChanged(Node*); |
124 void handleAriaRoleChanged(Node*); | 124 void handleAriaRoleChanged(Node*); |
125 void handleFocusedUIElementChanged(Node* oldFocusedNode, Node* newFocusedNod
e); | 125 void handleFocusedUIElementChanged(Node* oldFocusedNode, Node* newFocusedNod
e); |
126 void handleScrolledToAnchor(const Node* anchorNode); | 126 void handleScrolledToAnchor(const Node* anchorNode); |
127 void handleAriaExpandedChange(Node*); | 127 void handleAriaExpandedChange(Node*); |
128 | 128 |
129 // Called when scroll bars are added / removed (as the view resizes). | 129 // Called when scroll bars are added / removed (as the view resizes). |
130 void handleScrollbarUpdate(ScrollView*); | 130 void handleScrollbarUpdate(FrameView*); |
131 | 131 |
132 void handleLayoutComplete(RenderObject*); | 132 void handleLayoutComplete(RenderObject*); |
133 | 133 |
134 // Called when the scroll offset changes. | 134 // Called when the scroll offset changes. |
135 void handleScrollPositionChanged(ScrollView*); | 135 void handleScrollPositionChanged(FrameView*); |
136 void handleScrollPositionChanged(RenderObject*); | 136 void handleScrollPositionChanged(RenderObject*); |
137 | 137 |
138 void handleAttributeChanged(const QualifiedName& attrName, Element*); | 138 void handleAttributeChanged(const QualifiedName& attrName, Element*); |
139 void recomputeIsIgnored(RenderObject* renderer); | 139 void recomputeIsIgnored(RenderObject* renderer); |
140 | 140 |
141 void inlineTextBoxesUpdated(RenderObject* renderer); | 141 void inlineTextBoxesUpdated(RenderObject* renderer); |
142 | 142 |
143 bool accessibilityEnabled(); | 143 bool accessibilityEnabled(); |
144 bool inlineTextBoxAccessibilityEnabled(); | 144 bool inlineTextBoxAccessibilityEnabled(); |
145 | 145 |
(...skipping 81 matching lines...) Loading... |
227 Settings* settings(); | 227 Settings* settings(); |
228 }; | 228 }; |
229 | 229 |
230 bool nodeHasRole(Node*, const String& role); | 230 bool nodeHasRole(Node*, const String& role); |
231 // This will let you know if aria-hidden was explicitly set to false. | 231 // This will let you know if aria-hidden was explicitly set to false. |
232 bool isNodeAriaVisible(Node*); | 232 bool isNodeAriaVisible(Node*); |
233 | 233 |
234 } | 234 } |
235 | 235 |
236 #endif | 236 #endif |
OLD | NEW |