|
Lines 87-103
public:
Source/WebCore/accessibility/AXObjectCache.h_sec1
|
| 87 |
|
87 |
|
| 88 |
void detachWrapper(AccessibilityObject*); |
88 |
void detachWrapper(AccessibilityObject*); |
| 89 |
void attachWrapper(AccessibilityObject*); |
89 |
void attachWrapper(AccessibilityObject*); |
|
|
90 |
void childrenChanged(Node*); |
| 90 |
void childrenChanged(RenderObject*); |
91 |
void childrenChanged(RenderObject*); |
| 91 |
void checkedStateChanged(RenderObject*); |
92 |
void checkedStateChanged(Node*); |
|
|
93 |
void selectedChildrenChanged(Node*); |
| 92 |
void selectedChildrenChanged(RenderObject*); |
94 |
void selectedChildrenChanged(RenderObject*); |
| 93 |
// Called by a node when text or a text equivalent (e.g. alt) attribute is changed. |
95 |
// Called by a node when text or a text equivalent (e.g. alt) attribute is changed. |
|
|
96 |
void contentChanged(Node*); |
| 94 |
void contentChanged(RenderObject*); |
97 |
void contentChanged(RenderObject*); |
| 95 |
|
98 |
|
| 96 |
void handleActiveDescendantChanged(RenderObject*); |
99 |
void handleActiveDescendantChanged(Node*); |
| 97 |
void handleAriaRoleChanged(RenderObject*); |
100 |
void handleAriaRoleChanged(Node*); |
| 98 |
void handleFocusedUIElementChanged(RenderObject* oldFocusedRenderer, RenderObject* newFocusedRenderer); |
101 |
void handleFocusedUIElementChanged(Node* oldFocusedNode, Node* newFocusedNode); |
| 99 |
void handleScrolledToAnchor(const Node* anchorNode); |
102 |
void handleScrolledToAnchor(const Node* anchorNode); |
| 100 |
void handleAriaExpandedChange(RenderObject*); |
103 |
void handleAriaExpandedChange(Node*); |
| 101 |
void handleScrollbarUpdate(ScrollView*); |
104 |
void handleScrollbarUpdate(ScrollView*); |
| 102 |
|
105 |
|
| 103 |
#if HAVE(ACCESSIBILITY) |
106 |
#if HAVE(ACCESSIBILITY) |
|
Lines 119-134
public:
Source/WebCore/accessibility/AXObjectCache.h_sec2
|
| 119 |
|
122 |
|
| 120 |
Element* rootAXEditableElement(Node*); |
123 |
Element* rootAXEditableElement(Node*); |
| 121 |
const Element* rootAXEditableElement(const Node*); |
124 |
const Element* rootAXEditableElement(const Node*); |
| 122 |
bool nodeIsTextControl(const Node*); |
125 |
bool nodeIsTextControl(Node*); |
| 123 |
|
126 |
|
| 124 |
AXID platformGenerateAXID() const; |
127 |
AXID platformGenerateAXID() const; |
| 125 |
AccessibilityObject* objectFromAXID(AXID id) const { return m_objects.get(id).get(); } |
128 |
AccessibilityObject* objectFromAXID(AXID id) const { return m_objects.get(id).get(); } |
| 126 |
|
129 |
|
| 127 |
// This is a weak reference cache for knowing if Nodes used by TextMarkers are valid. |
|
|
| 128 |
void setNodeInUse(Node* n) { m_textMarkerNodes.add(n); } |
| 129 |
void removeNodeForUse(Node* n) { m_textMarkerNodes.remove(n); } |
| 130 |
bool isNodeInUse(Node* n) { return m_textMarkerNodes.contains(n); } |
| 131 |
|
| 132 |
// Text marker utilities. |
130 |
// Text marker utilities. |
| 133 |
void textMarkerDataForVisiblePosition(TextMarkerData&, const VisiblePosition&); |
131 |
void textMarkerDataForVisiblePosition(TextMarkerData&, const VisiblePosition&); |
| 134 |
VisiblePosition visiblePositionForTextMarkerData(TextMarkerData&); |
132 |
VisiblePosition visiblePositionForTextMarkerData(TextMarkerData&); |
|
Lines 155-160
public:
Source/WebCore/accessibility/AXObjectCache.h_sec3
|
| 155 |
}; |
153 |
}; |
| 156 |
|
154 |
|
| 157 |
void postNotification(RenderObject*, AXNotification, bool postToElement, PostType = PostAsynchronously); |
155 |
void postNotification(RenderObject*, AXNotification, bool postToElement, PostType = PostAsynchronously); |
|
|
156 |
void postNotification(Node*, AXNotification, bool postToElement, PostType = PostAsynchronously); |
| 158 |
void postNotification(AccessibilityObject*, Document*, AXNotification, bool postToElement, PostType = PostAsynchronously); |
157 |
void postNotification(AccessibilityObject*, Document*, AXNotification, bool postToElement, PostType = PostAsynchronously); |
| 159 |
|
158 |
|
| 160 |
enum AXTextChange { |
159 |
enum AXTextChange { |
|
Lines 162-168
public:
Source/WebCore/accessibility/AXObjectCache.h_sec4
|
| 162 |
AXTextDeleted, |
161 |
AXTextDeleted, |
| 163 |
}; |
162 |
}; |
| 164 |
|
163 |
|
| 165 |
void nodeTextChangeNotification(RenderObject*, AXTextChange, unsigned offset, const String&); |
164 |
void nodeTextChangeNotification(Node*, AXTextChange, unsigned offset, const String&); |
| 166 |
|
165 |
|
| 167 |
enum AXLoadingEvent { |
166 |
enum AXLoadingEvent { |
| 168 |
AXLoadingStarted, |
167 |
AXLoadingStarted, |
|
Lines 180-185
protected:
Source/WebCore/accessibility/AXObjectCache.h_sec5
|
| 180 |
void nodeTextChangePlatformNotification(AccessibilityObject*, AXTextChange, unsigned offset, const String&); |
179 |
void nodeTextChangePlatformNotification(AccessibilityObject*, AXTextChange, unsigned offset, const String&); |
| 181 |
void frameLoadingEventPlatformNotification(AccessibilityObject*, AXLoadingEvent); |
180 |
void frameLoadingEventPlatformNotification(AccessibilityObject*, AXLoadingEvent); |
| 182 |
|
181 |
|
|
|
182 |
// This is a weak reference cache for knowing if Nodes used by TextMarkers are valid. |
| 183 |
void setNodeInUse(Node* n) { m_textMarkerNodes.add(n); } |
| 184 |
void removeNodeForUse(Node* n) { m_textMarkerNodes.remove(n); } |
| 185 |
bool isNodeInUse(Node* n) { return m_textMarkerNodes.contains(n); } |
| 186 |
|
| 183 |
private: |
187 |
private: |
| 184 |
Document* m_document; |
188 |
Document* m_document; |
| 185 |
HashMap<AXID, RefPtr<AccessibilityObject> > m_objects; |
189 |
HashMap<AXID, RefPtr<AccessibilityObject> > m_objects; |
|
Lines 220-247
inline Element* AXObjectCache::rootAXEdi
Source/WebCore/accessibility/AXObjectCache.h_sec6
|
| 220 |
inline bool nodeHasRole(Node*, const String&) { return false; } |
224 |
inline bool nodeHasRole(Node*, const String&) { return false; } |
| 221 |
inline const Element* AXObjectCache::rootAXEditableElement(const Node*) { return 0; } |
225 |
inline const Element* AXObjectCache::rootAXEditableElement(const Node*) { return 0; } |
| 222 |
inline void AXObjectCache::attachWrapper(AccessibilityObject*) { } |
226 |
inline void AXObjectCache::attachWrapper(AccessibilityObject*) { } |
| 223 |
inline void AXObjectCache::checkedStateChanged(RenderObject*) { } |
227 |
inline void AXObjectCache::checkedStateChanged(Node*) { } |
| 224 |
inline void AXObjectCache::childrenChanged(RenderObject*) { } |
228 |
inline void AXObjectCache::childrenChanged(RenderObject*) { } |
|
|
229 |
inline void AXObjectCache::childrenChanged(Node*) { } |
| 225 |
inline void AXObjectCache::contentChanged(RenderObject*) { } |
230 |
inline void AXObjectCache::contentChanged(RenderObject*) { } |
|
|
231 |
inline void AXObjectCache::contentChanged(Node*) { } |
| 226 |
inline void AXObjectCache::detachWrapper(AccessibilityObject*) { } |
232 |
inline void AXObjectCache::detachWrapper(AccessibilityObject*) { } |
| 227 |
inline void AXObjectCache::frameLoadingEventNotification(Frame*, AXLoadingEvent) { } |
233 |
inline void AXObjectCache::frameLoadingEventNotification(Frame*, AXLoadingEvent) { } |
| 228 |
inline void AXObjectCache::frameLoadingEventPlatformNotification(AccessibilityObject*, AXLoadingEvent) { } |
234 |
inline void AXObjectCache::frameLoadingEventPlatformNotification(AccessibilityObject*, AXLoadingEvent) { } |
| 229 |
inline void AXObjectCache::handleActiveDescendantChanged(RenderObject*) { } |
235 |
inline void AXObjectCache::handleActiveDescendantChanged(Node*) { } |
| 230 |
inline void AXObjectCache::handleAriaExpandedChange(RenderObject*) { } |
236 |
inline void AXObjectCache::handleAriaExpandedChange(Node*) { } |
| 231 |
inline void AXObjectCache::handleAriaRoleChanged(RenderObject*) { } |
237 |
inline void AXObjectCache::handleAriaRoleChanged(Node*) { } |
| 232 |
inline void AXObjectCache::handleFocusedUIElementChanged(RenderObject*, RenderObject*) { } |
238 |
inline void AXObjectCache::handleFocusedUIElementChanged(Node*, Node*) { } |
| 233 |
inline void AXObjectCache::handleScrollbarUpdate(ScrollView*) { } |
239 |
inline void AXObjectCache::handleScrollbarUpdate(ScrollView*) { } |
| 234 |
inline void AXObjectCache::handleScrolledToAnchor(const Node*) { } |
240 |
inline void AXObjectCache::handleScrolledToAnchor(const Node*) { } |
| 235 |
inline void AXObjectCache::nodeTextChangeNotification(RenderObject*, AXTextChange, unsigned, const String&) { } |
241 |
inline void AXObjectCache::nodeTextChangeNotification(RenderObject*, AXTextChange, unsigned, const String&) { } |
| 236 |
inline void AXObjectCache::nodeTextChangePlatformNotification(AccessibilityObject*, AXTextChange, unsigned, const String&) { } |
242 |
inline void AXObjectCache::nodeTextChangePlatformNotification(AccessibilityObject*, AXTextChange, unsigned, const String&) { } |
| 237 |
inline void AXObjectCache::postNotification(AccessibilityObject*, Document*, AXNotification, bool postToElement, PostType) { } |
243 |
inline void AXObjectCache::postNotification(AccessibilityObject*, Document*, AXNotification, bool postToElement, PostType) { } |
| 238 |
inline void AXObjectCache::postNotification(RenderObject*, AXNotification, bool postToElement, PostType) { } |
244 |
inline void AXObjectCache::postNotification(RenderObject*, AXNotification, bool postToElement, PostType) { } |
|
|
245 |
inline void AXObjectCache::postNotification(Node*, AXNotification, bool postToElement, PostType) { } |
| 239 |
inline void AXObjectCache::postPlatformNotification(AccessibilityObject*, AXNotification) { } |
246 |
inline void AXObjectCache::postPlatformNotification(AccessibilityObject*, AXNotification) { } |
| 240 |
inline void AXObjectCache::remove(AXID) { } |
247 |
inline void AXObjectCache::remove(AXID) { } |
| 241 |
inline void AXObjectCache::remove(RenderObject*) { } |
248 |
inline void AXObjectCache::remove(RenderObject*) { } |
| 242 |
inline void AXObjectCache::remove(Node*) { } |
249 |
inline void AXObjectCache::remove(Node*) { } |
| 243 |
inline void AXObjectCache::remove(Widget*) { } |
250 |
inline void AXObjectCache::remove(Widget*) { } |
| 244 |
inline void AXObjectCache::selectedChildrenChanged(RenderObject*) { } |
251 |
inline void AXObjectCache::selectedChildrenChanged(RenderObject*) { } |
|
|
252 |
inline void AXObjectCache::selectedChildrenChanged(Node*) { } |
| 245 |
#endif |
253 |
#endif |
| 246 |
|
254 |
|
| 247 |
} |
255 |
} |