ax_action_data.mojom 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  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. import "ui/gfx/geometry/mojom/geometry.mojom";
  8. // A compact representation of an accessibility action and the arguments
  9. // associated with that action. See ui::AXActionData for full documentation.
  10. // Next version: 1
  11. [Stable, Uuid="977807b3-17e0-4186-8398-deae1aeba2ec"]
  12. struct AXActionData {
  13. Action action;
  14. ax.mojom.AXTreeID target_tree_id;
  15. string source_extension_id;
  16. int32 target_node_id;
  17. int32 request_id;
  18. int32 flags;
  19. int32 anchor_node_id;
  20. int32 anchor_offset;
  21. int32 focus_node_id;
  22. int32 focus_offset;
  23. int32 custom_action_id;
  24. gfx.mojom.Rect target_rect;
  25. gfx.mojom.Point target_point;
  26. string value;
  27. Event hit_test_event_to_fire;
  28. ScrollAlignment horizontal_scroll_alignment;
  29. ScrollAlignment vertical_scroll_alignment;
  30. ScrollBehavior scroll_behavior;
  31. };