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

Side by Side Diff: Source/modules/accessibility/AXNodeObject.h

Issue 1169023003: Oilpan: Prepare moving AccessibilityText to the heap (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebased Created 5 years, 6 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/modules/accessibility/AXNodeObject.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) 2012, Google Inc. All rights reserved. 2 * Copyright (C) 2012, Google 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 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 virtual int posInSet() const override; 205 virtual int posInSet() const override;
206 virtual int setSize() const override; 206 virtual int setSize() const override;
207 207
208 // Aria-owns. 208 // Aria-owns.
209 void computeAriaOwnsChildren(Vector<AXObject*>& ownedChildren); 209 void computeAriaOwnsChildren(Vector<AXObject*>& ownedChildren);
210 210
211 private: 211 private:
212 Node* m_node; 212 Node* m_node;
213 213
214 String alternativeTextForWebArea() const; 214 String alternativeTextForWebArea() const;
215 void alternativeText(Vector<AccessibilityText>&) const; 215 void alternativeText(WillBeHeapVector<OwnPtrWillBeMember<AccessibilityText>> &) const;
216 void ariaLabeledByText(Vector<AccessibilityText>&) const; 216 void ariaLabeledByText(WillBeHeapVector<OwnPtrWillBeMember<AccessibilityText >>&) const;
217 float stepValueForRange() const; 217 float stepValueForRange() const;
218 AXObject* findChildWithTagName(const HTMLQualifiedName&) const; 218 AXObject* findChildWithTagName(const HTMLQualifiedName&) const;
219 bool isDescendantOfElementType(const HTMLQualifiedName& tagName) const; 219 bool isDescendantOfElementType(const HTMLQualifiedName& tagName) const;
220 }; 220 };
221 221
222 DEFINE_AX_OBJECT_TYPE_CASTS(AXNodeObject, isAXNodeObject()); 222 DEFINE_AX_OBJECT_TYPE_CASTS(AXNodeObject, isAXNodeObject());
223 223
224 } // namespace blink 224 } // namespace blink
225 225
226 #endif // AXNodeObject_h 226 #endif // AXNodeObject_h
OLDNEW
« no previous file with comments | « no previous file | Source/modules/accessibility/AXNodeObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698