ax_node_data.mojom 980 B

12345678910111213141516171819202122232425262728
  1. // Copyright 2018 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. module ax.mojom;
  5. import "ui/accessibility/ax_enums.mojom";
  6. import "ui/accessibility/mojom/ax_relative_bounds.mojom";
  7. // See ui::AXNodeData for comments / explanations of these fields.
  8. [Stable, Uuid="5ee2327f-edc3-4d0e-aa96-6f8ce5720390"]
  9. struct AXNodeData {
  10. int32 id;
  11. ax.mojom.Role role;
  12. uint32 state;
  13. uint64 actions;
  14. map<ax.mojom.StringAttribute, string> string_attributes;
  15. map<ax.mojom.IntAttribute, int32> int_attributes;
  16. map<ax.mojom.FloatAttribute, float> float_attributes;
  17. map<ax.mojom.BoolAttribute, bool> bool_attributes;
  18. map<ax.mojom.IntListAttribute, array<int32>>
  19. intlist_attributes;
  20. map<ax.mojom.StringListAttribute, array<string>>
  21. stringlist_attributes;
  22. map<string, string> html_attributes;
  23. array<int32> child_ids;
  24. ax.mojom.AXRelativeBounds relative_bounds;
  25. };