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

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

Issue 2956053005: Keep track of fixed positioning in accessibility tree.
Patch Set: GetSimpleRelativeBounds, add failing test for fixed with transform Created 3 years, 5 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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 186
187 // Location 187 // Location
188 void GetRelativeBounds(AXObject** out_container, 188 void GetRelativeBounds(AXObject** out_container,
189 FloatRect& out_bounds_in_container, 189 FloatRect& out_bounds_in_container,
190 SkMatrix44& out_container_transform) const override; 190 SkMatrix44& out_container_transform,
191 bool& out_is_fixed_positioned) const override;
191 192
192 // High-level accessibility tree access. 193 // High-level accessibility tree access.
193 AXObject* ComputeParent() const override; 194 AXObject* ComputeParent() const override;
194 AXObject* ComputeParentIfExists() const override; 195 AXObject* ComputeParentIfExists() const override;
195 196
196 // Low-level accessibility tree exploration. 197 // Low-level accessibility tree exploration.
197 AXObject* RawFirstChild() const override; 198 AXObject* RawFirstChild() const override;
198 AXObject* RawNextSibling() const override; 199 AXObject* RawNextSibling() const override;
199 void AddChildren() override; 200 void AddChildren() override;
200 bool CanHaveChildren() const override; 201 bool CanHaveChildren() const override;
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 NameSources*, 240 NameSources*,
240 bool* found_text_alternative) const; 241 bool* found_text_alternative) const;
241 float StepValueForRange() const; 242 float StepValueForRange() const;
242 bool IsDescendantOfElementType(HashSet<QualifiedName>& tag_names) const; 243 bool IsDescendantOfElementType(HashSet<QualifiedName>& tag_names) const;
243 String PlaceholderFromNativeAttribute() const; 244 String PlaceholderFromNativeAttribute() const;
244 }; 245 };
245 246
246 } // namespace blink 247 } // namespace blink
247 248
248 #endif // AXNodeObject_h 249 #endif // AXNodeObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698