ax_action_data.cc 827 B

1234567891011121314151617181920212223
  1. // Copyright 2016 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. #include "ui/accessibility/ax_action_data.h"
  5. #include "ui/accessibility/ax_enums.mojom.h"
  6. namespace ui {
  7. // Mojo enums are initialized here so the header can include the much smaller
  8. // mojom-forward.h header.
  9. AXActionData::AXActionData()
  10. : action(ax::mojom::Action::kNone),
  11. hit_test_event_to_fire(ax::mojom::Event::kNone),
  12. horizontal_scroll_alignment(ax::mojom::ScrollAlignment::kNone),
  13. vertical_scroll_alignment(ax::mojom::ScrollAlignment::kNone),
  14. scroll_behavior(ax::mojom::ScrollBehavior::kNone) {}
  15. AXActionData::AXActionData(const AXActionData& other) = default;
  16. AXActionData::~AXActionData() = default;
  17. } // namespace ui