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

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

Issue 242513009: Removing empty function definitions and WebAXObject interfaces (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
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
« 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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 AXTextRemoved, 188 AXTextRemoved,
189 AXValueChanged 189 AXValueChanged
190 }; 190 };
191 191
192 void postNotification(RenderObject*, AXNotification, bool postToElement, Pos tType = PostAsynchronously); 192 void postNotification(RenderObject*, AXNotification, bool postToElement, Pos tType = PostAsynchronously);
193 void postNotification(Node*, AXNotification, bool postToElement, PostType = PostAsynchronously); 193 void postNotification(Node*, AXNotification, bool postToElement, PostType = PostAsynchronously);
194 void postNotification(AXObject*, Document*, AXNotification, bool postToEleme nt, PostType = PostAsynchronously); 194 void postNotification(AXObject*, Document*, AXNotification, bool postToEleme nt, PostType = PostAsynchronously);
195 195
196 bool nodeHasRole(Node*, const AtomicString& role); 196 bool nodeHasRole(Node*, const AtomicString& role);
197 197
198 void startCachingComputedObjectAttributesUntilTreeMutates();
199 void stopCachingComputedObjectAttributes();
200
201 AXComputedObjectAttributeCache* computedObjectAttributeCache() { return m_co mputedObjectAttributeCache.get(); } 198 AXComputedObjectAttributeCache* computedObjectAttributeCache() { return m_co mputedObjectAttributeCache.get(); }
202 199
203 protected: 200 protected:
204 void postPlatformNotification(AXObject*, AXNotification); 201 void postPlatformNotification(AXObject*, AXNotification);
205 void textChanged(AXObject*); 202 void textChanged(AXObject*);
206 void labelChanged(Element*); 203 void labelChanged(Element*);
207 204
208 // This is a weak reference cache for knowing if Nodes used by TextMarkers a re valid. 205 // This is a weak reference cache for knowing if Nodes used by TextMarkers a re valid.
209 void setNodeInUse(Node* n) { m_textMarkerNodes.add(n); } 206 void setNodeInUse(Node* n) { m_textMarkerNodes.add(n); }
210 void removeNodeForUse(Node* n) { m_textMarkerNodes.remove(n); } 207 void removeNodeForUse(Node* n) { m_textMarkerNodes.remove(n); }
(...skipping 22 matching lines...) Expand all
233 AXID getAXID(AXObject*); 230 AXID getAXID(AXObject*);
234 }; 231 };
235 232
236 bool nodeHasRole(Node*, const String& role); 233 bool nodeHasRole(Node*, const String& role);
237 // This will let you know if aria-hidden was explicitly set to false. 234 // This will let you know if aria-hidden was explicitly set to false.
238 bool isNodeAriaVisible(Node*); 235 bool isNodeAriaVisible(Node*);
239 236
240 } 237 }
241 238
242 #endif 239 #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