| 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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 #endif | 143 #endif |
| 144 | 144 |
| 145 void removeAXID(AccessibilityObject*); | 145 void removeAXID(AccessibilityObject*); |
| 146 bool isIDinUse(AXID id) const { return m_idsInUse.contains(id); } | 146 bool isIDinUse(AXID id) const { return m_idsInUse.contains(id); } |
| 147 | 147 |
| 148 Element* rootAXEditableElement(Node*); | 148 Element* rootAXEditableElement(Node*); |
| 149 const Element* rootAXEditableElement(const Node*); | 149 const Element* rootAXEditableElement(const Node*); |
| 150 bool nodeIsTextControl(const Node*); | 150 bool nodeIsTextControl(const Node*); |
| 151 | 151 |
| 152 AXID platformGenerateAXID() const; | 152 AXID platformGenerateAXID() const; |
| 153 AccessibilityObject* objectFromAXID(AXID id) const { return m_objects.get(id
).get(); } | 153 AccessibilityObject* objectFromAXID(AXID id) const { return m_objects.get(id
); } |
| 154 | 154 |
| 155 // Text marker utilities. | 155 // Text marker utilities. |
| 156 void textMarkerDataForVisiblePosition(TextMarkerData&, const VisiblePosition
&); | 156 void textMarkerDataForVisiblePosition(TextMarkerData&, const VisiblePosition
&); |
| 157 VisiblePosition visiblePositionForTextMarkerData(TextMarkerData&); | 157 VisiblePosition visiblePositionForTextMarkerData(TextMarkerData&); |
| 158 | 158 |
| 159 enum AXNotification { | 159 enum AXNotification { |
| 160 AXActiveDescendantChanged, | 160 AXActiveDescendantChanged, |
| 161 AXAutocorrectionOccured, | 161 AXAutocorrectionOccured, |
| 162 AXCheckedStateChanged, | 162 AXCheckedStateChanged, |
| 163 AXChildrenChanged, | 163 AXChildrenChanged, |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 295 inline void AXObjectCache::remove(RenderObject*) { } | 295 inline void AXObjectCache::remove(RenderObject*) { } |
| 296 inline void AXObjectCache::remove(Node*) { } | 296 inline void AXObjectCache::remove(Node*) { } |
| 297 inline void AXObjectCache::remove(Widget*) { } | 297 inline void AXObjectCache::remove(Widget*) { } |
| 298 inline void AXObjectCache::selectedChildrenChanged(RenderObject*) { } | 298 inline void AXObjectCache::selectedChildrenChanged(RenderObject*) { } |
| 299 inline void AXObjectCache::selectedChildrenChanged(Node*) { } | 299 inline void AXObjectCache::selectedChildrenChanged(Node*) { } |
| 300 #endif | 300 #endif |
| 301 | 301 |
| 302 } | 302 } |
| 303 | 303 |
| 304 #endif | 304 #endif |
| OLD | NEW |