summaryrefslogtreecommitdiff
path: root/chromium/ui/accessibility/ax_action_data.cc
blob: 4e9ab6fef1142c72781d57f4503616a5f9018264 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "ui/accessibility/ax_action_data.h"

#include "ui/accessibility/ax_enums.mojom.h"

namespace ui {

// Mojo enums are initialized here so the header can include the much smaller
// mojom-forward.h header.
AXActionData::AXActionData()
    : action(ax::mojom::Action::kNone),
      hit_test_event_to_fire(ax::mojom::Event::kNone),
      horizontal_scroll_alignment(ax::mojom::ScrollAlignment::kNone),
      vertical_scroll_alignment(ax::mojom::ScrollAlignment::kNone),
      scroll_behavior(ax::mojom::ScrollBehavior::kNone) {}

AXActionData::AXActionData(const AXActionData& other) = default;
AXActionData::~AXActionData() = default;

}  // namespace ui