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

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: 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
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 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 virtual int posInSet() const override; 208 virtual int posInSet() const override;
209 virtual int setSize() const override; 209 virtual int setSize() const override;
210 210
211 // Aria-owns. 211 // Aria-owns.
212 void computeAriaOwnsChildren(Vector<AXObject*>& ownedChildren); 212 void computeAriaOwnsChildren(Vector<AXObject*>& ownedChildren);
213 213
214 private: 214 private:
215 Node* m_node; 215 Node* m_node;
216 216
217 String alternativeTextForWebArea() const; 217 String alternativeTextForWebArea() const;
218 void alternativeText(Vector<AccessibilityText>&) const; 218 void alternativeText(WillBeHeapVector<OwnPtrWillBeMember<AccessibilityText>> &) const;
219 void ariaLabeledByText(Vector<AccessibilityText>&) const; 219 void ariaLabeledByText(WillBeHeapVector<OwnPtrWillBeMember<AccessibilityText >>&) const;
220 float stepValueForRange() const; 220 float stepValueForRange() const;
221 AXObject* findChildWithTagName(const HTMLQualifiedName&) const; 221 AXObject* findChildWithTagName(const HTMLQualifiedName&) const;
222 bool isDescendantOfElementType(const HTMLQualifiedName& tagName) const; 222 bool isDescendantOfElementType(const HTMLQualifiedName& tagName) const;
223 }; 223 };
224 224
225 DEFINE_AX_OBJECT_TYPE_CASTS(AXNodeObject, isAXNodeObject()); 225 DEFINE_AX_OBJECT_TYPE_CASTS(AXNodeObject, isAXNodeObject());
226 226
227 } // namespace blink 227 } // namespace blink
228 228
229 #endif // AXNodeObject_h 229 #endif // AXNodeObject_h
OLDNEW
« no previous file with comments | « no previous file | Source/modules/accessibility/AXNodeObject.cpp » ('j') | Source/modules/accessibility/AXObject.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698