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

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

Issue 2492083002: Implement aria-placeholder (Closed)
Patch Set: Rebaseline android placeholder test Created 4 years 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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 AXNameFrom&, 168 AXNameFrom&,
169 AXRelatedObjectVector*, 169 AXRelatedObjectVector*,
170 NameSources*) const override; 170 NameSources*) const override;
171 String description(AXNameFrom, 171 String description(AXNameFrom,
172 AXDescriptionFrom&, 172 AXDescriptionFrom&,
173 AXObjectVector* descriptionObjects) const override; 173 AXObjectVector* descriptionObjects) const override;
174 String description(AXNameFrom, 174 String description(AXNameFrom,
175 AXDescriptionFrom&, 175 AXDescriptionFrom&,
176 DescriptionSources*, 176 DescriptionSources*,
177 AXRelatedObjectVector*) const override; 177 AXRelatedObjectVector*) const override;
178 String placeholder(AXNameFrom, AXDescriptionFrom) const override; 178 String placeholder(AXNameFrom) const override;
179 bool nameFromLabelElement() const override; 179 bool nameFromLabelElement() const override;
180 180
181 // Location 181 // Location
182 void getRelativeBounds(AXObject** outContainer, 182 void getRelativeBounds(AXObject** outContainer,
183 FloatRect& outBoundsInContainer, 183 FloatRect& outBoundsInContainer,
184 SkMatrix44& outContainerTransform) const override; 184 SkMatrix44& outContainerTransform) const override;
185 185
186 // High-level accessibility tree access. 186 // High-level accessibility tree access.
187 AXObject* computeParent() const override; 187 AXObject* computeParent() const override;
188 AXObject* computeParentIfExists() const override; 188 AXObject* computeParentIfExists() const override;
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 bool isNativeCheckboxInMixedState() const; 227 bool isNativeCheckboxInMixedState() const;
228 String textFromDescendants(AXObjectSet& visited, 228 String textFromDescendants(AXObjectSet& visited,
229 bool recursive) const override; 229 bool recursive) const override;
230 String nativeTextAlternative(AXObjectSet& visited, 230 String nativeTextAlternative(AXObjectSet& visited,
231 AXNameFrom&, 231 AXNameFrom&,
232 AXRelatedObjectVector*, 232 AXRelatedObjectVector*,
233 NameSources*, 233 NameSources*,
234 bool* foundTextAlternative) const; 234 bool* foundTextAlternative) const;
235 float stepValueForRange() const; 235 float stepValueForRange() const;
236 bool isDescendantOfElementType(const HTMLQualifiedName& tagName) const; 236 bool isDescendantOfElementType(const HTMLQualifiedName& tagName) const;
237 String placeholderFromNativeAttribute() const;
237 }; 238 };
238 239
239 } // namespace blink 240 } // namespace blink
240 241
241 #endif // AXNodeObject_h 242 #endif // AXNodeObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698