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

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

Issue 2867073003: Name calculation should not include nameFrom:author descendants. (Closed)
Patch Set: Single quote Created 3 years, 7 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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 NameSources*) const override; 176 NameSources*) const override;
177 String Description(AXNameFrom, 177 String Description(AXNameFrom,
178 AXDescriptionFrom&, 178 AXDescriptionFrom&,
179 AXObjectVector* description_objects) const override; 179 AXObjectVector* description_objects) const override;
180 String Description(AXNameFrom, 180 String Description(AXNameFrom,
181 AXDescriptionFrom&, 181 AXDescriptionFrom&,
182 DescriptionSources*, 182 DescriptionSources*,
183 AXRelatedObjectVector*) const override; 183 AXRelatedObjectVector*) const override;
184 String Placeholder(AXNameFrom) const override; 184 String Placeholder(AXNameFrom) const override;
185 bool NameFromLabelElement() const override; 185 bool NameFromLabelElement() const override;
186 bool NameFromContents() const override; 186 bool NameFromContents(const bool recursive) const override;
187 187
188 // Location 188 // Location
189 void GetRelativeBounds(AXObjectImpl** out_container, 189 void GetRelativeBounds(AXObjectImpl** out_container,
190 FloatRect& out_bounds_in_container, 190 FloatRect& out_bounds_in_container,
191 SkMatrix44& out_container_transform) const override; 191 SkMatrix44& out_container_transform) const override;
192 192
193 // High-level accessibility tree access. 193 // High-level accessibility tree access.
194 AXObjectImpl* ComputeParent() const override; 194 AXObjectImpl* ComputeParent() const override;
195 AXObjectImpl* ComputeParentIfExists() const override; 195 AXObjectImpl* ComputeParentIfExists() const override;
196 196
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 NameSources*, 240 NameSources*,
241 bool* found_text_alternative) const; 241 bool* found_text_alternative) const;
242 float StepValueForRange() const; 242 float StepValueForRange() const;
243 bool IsDescendantOfElementType(HashSet<QualifiedName>& tag_names) const; 243 bool IsDescendantOfElementType(HashSet<QualifiedName>& tag_names) const;
244 String PlaceholderFromNativeAttribute() const; 244 String PlaceholderFromNativeAttribute() const;
245 }; 245 };
246 246
247 } // namespace blink 247 } // namespace blink
248 248
249 #endif // AXNodeObject_h 249 #endif // AXNodeObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698