Index: ui/accessibility/ax_node_data.h |
diff --git a/ui/accessibility/ax_node_data.h b/ui/accessibility/ax_node_data.h |
index 5bb8c147ff5c1ab4532f47047e7c5a64faab6ff4..9c8856dfe51ecc8d442f188c1938076fa859df05 100644 |
--- a/ui/accessibility/ax_node_data.h |
+++ b/ui/accessibility/ax_node_data.h |
@@ -16,6 +16,7 @@ |
#include "ui/accessibility/ax_enums.h" |
#include "ui/accessibility/ax_export.h" |
#include "ui/gfx/geometry/rect.h" |
+#include "ui/gfx/transform.h" |
namespace ui { |
@@ -99,7 +100,6 @@ struct AX_EXPORT AXNodeData { |
int32_t id; |
AXRole role; |
uint32_t state; |
- gfx::Rect location; |
std::vector<std::pair<AXStringAttribute, std::string> > string_attributes; |
std::vector<std::pair<AXIntAttribute, int32_t>> int_attributes; |
std::vector<std::pair<AXFloatAttribute, float> > float_attributes; |
@@ -108,6 +108,12 @@ struct AX_EXPORT AXNodeData { |
intlist_attributes; |
base::StringPairs html_attributes; |
std::vector<int32_t> child_ids; |
+ |
+ // The object's location relative to its window or frame. |
+ gfx::Rect location; |
+ |
+ // An additional transform to apply to position this object and its subtree. |
+ gfx::Transform transform; |
dmazzoni
2016/02/24 18:53:26
Any thoughts on this? It's 16 floats, so 64 bytes
danakj
2016/02/24 19:31:45
https://codereview.chromium.org/1245163002/ will a
|
}; |
} // namespace ui |