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

Unified Diff: ui/accessibility/ax_node.cc

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/accessibility/ax_node.h ('k') | ui/accessibility/ax_node_data.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/accessibility/ax_node.cc
diff --git a/ui/accessibility/ax_node.cc b/ui/accessibility/ax_node.cc
index 8327ccd786e12e8ee052c220dd05f5192a128273..2b9b8f23a3062558d179b5f31cb105832d9c73df 100644
--- a/ui/accessibility/ax_node.cc
+++ b/ui/accessibility/ax_node.cc
@@ -32,13 +32,15 @@ void AXNode::SetData(const AXNodeData& src) {
void AXNode::SetLocation(int offset_container_id,
const gfx::RectF& location,
- gfx::Transform* transform) {
+ gfx::Transform* transform,
+ bool is_fixed_positioned) {
data_.offset_container_id = offset_container_id;
data_.location = location;
if (transform)
data_.transform.reset(new gfx::Transform(*transform));
else
data_.transform.reset(nullptr);
+ data_.is_fixed_positioned = is_fixed_positioned;
}
void AXNode::SetIndexInParent(int index_in_parent) {
« no previous file with comments | « ui/accessibility/ax_node.h ('k') | ui/accessibility/ax_node_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698