| 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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 AXTextRemoved, | 190 AXTextRemoved, |
| 191 AXValueChanged | 191 AXValueChanged |
| 192 }; | 192 }; |
| 193 | 193 |
| 194 void postNotification(RenderObject*, AXNotification, bool postToElement, Pos
tType = PostAsynchronously); | 194 void postNotification(RenderObject*, AXNotification, bool postToElement, Pos
tType = PostAsynchronously); |
| 195 void postNotification(Node*, AXNotification, bool postToElement, PostType =
PostAsynchronously); | 195 void postNotification(Node*, AXNotification, bool postToElement, PostType =
PostAsynchronously); |
| 196 void postNotification(AXObject*, Document*, AXNotification, bool postToEleme
nt, PostType = PostAsynchronously); | 196 void postNotification(AXObject*, Document*, AXNotification, bool postToEleme
nt, PostType = PostAsynchronously); |
| 197 | 197 |
| 198 bool nodeHasRole(Node*, const AtomicString& role); | 198 bool nodeHasRole(Node*, const AtomicString& role); |
| 199 | 199 |
| 200 void setCanvasObjectBounds(Element*, const LayoutRect&); |
| 201 |
| 200 AXComputedObjectAttributeCache* computedObjectAttributeCache() { return m_co
mputedObjectAttributeCache.get(); } | 202 AXComputedObjectAttributeCache* computedObjectAttributeCache() { return m_co
mputedObjectAttributeCache.get(); } |
| 201 | 203 |
| 202 protected: | 204 protected: |
| 203 void postPlatformNotification(AXObject*, AXNotification); | 205 void postPlatformNotification(AXObject*, AXNotification); |
| 204 void textChanged(AXObject*); | 206 void textChanged(AXObject*); |
| 205 void labelChanged(Element*); | 207 void labelChanged(Element*); |
| 206 | 208 |
| 207 // This is a weak reference cache for knowing if Nodes used by TextMarkers a
re valid. | 209 // This is a weak reference cache for knowing if Nodes used by TextMarkers a
re valid. |
| 208 void setNodeInUse(Node* n) { m_textMarkerNodes.add(n); } | 210 void setNodeInUse(Node* n) { m_textMarkerNodes.add(n); } |
| 209 void removeNodeForUse(Node* n) { m_textMarkerNodes.remove(n); } | 211 void removeNodeForUse(Node* n) { m_textMarkerNodes.remove(n); } |
| (...skipping 22 matching lines...) Expand all Loading... |
| 232 AXID getAXID(AXObject*); | 234 AXID getAXID(AXObject*); |
| 233 }; | 235 }; |
| 234 | 236 |
| 235 bool nodeHasRole(Node*, const String& role); | 237 bool nodeHasRole(Node*, const String& role); |
| 236 // This will let you know if aria-hidden was explicitly set to false. | 238 // This will let you know if aria-hidden was explicitly set to false. |
| 237 bool isNodeAriaVisible(Node*); | 239 bool isNodeAriaVisible(Node*); |
| 238 | 240 |
| 239 } | 241 } |
| 240 | 242 |
| 241 #endif | 243 #endif |
| OLD | NEW |