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

Unified Diff: ui/accessibility/ax_node_data.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/accessibility/ax_node.cc ('k') | ui/accessibility/ax_node_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/accessibility/ax_node_data.h
diff --git a/ui/accessibility/ax_node_data.h b/ui/accessibility/ax_node_data.h
index 29e79987433afd6d147c8a08d57ea37a95e008d1..297911112c890cd939c42af2d84b1412fb116f1a 100644
--- a/ui/accessibility/ax_node_data.h
+++ b/ui/accessibility/ax_node_data.h
@@ -142,7 +142,7 @@ struct AX_EXPORT AXNodeData {
base::StringPairs html_attributes;
std::vector<int32_t> child_ids;
- // TODO(dmazzoni): replace the following three members with a single
+ // TODO(dmazzoni): replace the following four members with a single
// instance of AXRelativeBounds.
// The id of an ancestor node in the same AXTree that this object's
@@ -152,6 +152,9 @@ struct AX_EXPORT AXNodeData {
// The relative bounding box of this node.
gfx::RectF location;
+ // If true, the container's scroll position should be ignored.
+ bool is_fixed_positioned;
+
// An additional transform to apply to position this object and its subtree.
// NOTE: this member is a std::unique_ptr because it's rare and gfx::Transform
// takes up a fair amount of space. The assignment operator and copy
« no previous file with comments | « ui/accessibility/ax_node.cc ('k') | ui/accessibility/ax_node_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698