| 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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 void removeAXID(AXObject*); | 151 void removeAXID(AXObject*); |
| 152 bool isIDinUse(AXID id) const { return m_idsInUse.contains(id); } | 152 bool isIDinUse(AXID id) const { return m_idsInUse.contains(id); } |
| 153 | 153 |
| 154 Element* rootAXEditableElement(Node*); | 154 Element* rootAXEditableElement(Node*); |
| 155 const Element* rootAXEditableElement(const Node*); | 155 const Element* rootAXEditableElement(const Node*); |
| 156 bool nodeIsTextControl(const Node*); | 156 bool nodeIsTextControl(const Node*); |
| 157 | 157 |
| 158 AXID platformGenerateAXID() const; | 158 AXID platformGenerateAXID() const; |
| 159 AXObject* objectFromAXID(AXID id) const { return m_objects.get(id); } | 159 AXObject* objectFromAXID(AXID id) const { return m_objects.get(id); } |
| 160 | 160 |
| 161 // Text marker utilities. | |
| 162 void textMarkerDataForVisiblePosition(TextMarkerData&, const VisiblePosition
&); | |
| 163 VisiblePosition visiblePositionForTextMarkerData(TextMarkerData&); | |
| 164 | |
| 165 enum AXNotification { | 161 enum AXNotification { |
| 166 AXActiveDescendantChanged, | 162 AXActiveDescendantChanged, |
| 167 AXAlert, | 163 AXAlert, |
| 168 AXAriaAttributeChanged, | 164 AXAriaAttributeChanged, |
| 169 AXAutocorrectionOccured, | 165 AXAutocorrectionOccured, |
| 170 AXBlur, | 166 AXBlur, |
| 171 AXCheckedStateChanged, | 167 AXCheckedStateChanged, |
| 172 AXChildrenChanged, | 168 AXChildrenChanged, |
| 173 AXFocusedUIElementChanged, | 169 AXFocusedUIElementChanged, |
| 174 AXHide, | 170 AXHide, |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 237 AXID getAXID(AXObject*); | 233 AXID getAXID(AXObject*); |
| 238 }; | 234 }; |
| 239 | 235 |
| 240 bool nodeHasRole(Node*, const String& role); | 236 bool nodeHasRole(Node*, const String& role); |
| 241 // This will let you know if aria-hidden was explicitly set to false. | 237 // This will let you know if aria-hidden was explicitly set to false. |
| 242 bool isNodeAriaVisible(Node*); | 238 bool isNodeAriaVisible(Node*); |
| 243 | 239 |
| 244 } | 240 } |
| 245 | 241 |
| 246 #endif | 242 #endif |
| OLD | NEW |