ax_tree_data.mojom 942 B

1234567891011121314151617181920212223242526272829303132
  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_tree_id.mojom";
  7. // See ui::AXTreeData for comments / explanations of these fields.
  8. [Stable, Uuid="c3178208-371c-4425-bb47-1de23134396b"]
  9. struct AXTreeData {
  10. ax.mojom.AXTreeID tree_id;
  11. ax.mojom.AXTreeID parent_tree_id;
  12. ax.mojom.AXTreeID focused_tree_id;
  13. string doctype;
  14. bool loaded;
  15. float loading_progress;
  16. string mimetype;
  17. string title;
  18. string url;
  19. int32 focus_id;
  20. bool sel_is_backward;
  21. int32 sel_anchor_object_id;
  22. int32 sel_anchor_offset;
  23. ax.mojom.TextAffinity sel_anchor_affinity;
  24. int32 sel_focus_object_id;
  25. int32 sel_focus_offset;
  26. ax.mojom.TextAffinity sel_focus_affinity;
  27. int32 root_scroller_id;
  28. [MinVersion=2] array<string>? metadata;
  29. };