Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(354)

Side by Side Diff: Source/core/accessibility/AXObjectCache.h

Issue 238723010: Remove some dead code from AXObjectCache (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/accessibility/AXObjectCache.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « no previous file | Source/core/accessibility/AXObjectCache.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698