Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
ax_action_handler_base.cc
Go to the documentation of this file.
1// Copyright 2020 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
6
8#include "base/logging.h"
9
10namespace ui {
11
15
18
20 : tree_id_(ax_tree_id) {}
21
25
27 BASE_DCHECK(new_ax_tree_id != ui::AXTreeIDUnknown());
29 tree_id_ = new_ax_tree_id;
30 AXTreeIDRegistry::GetInstance().SetAXTreeID(tree_id_, this);
31}
32
33} // namespace ui
void SetAXTreeID(AXTreeID new_ax_tree_id)
virtual bool RequiresPerformActionPointInPixels() const
void RemoveAXTreeID(AXTreeID ax_tree_id)
static AXTreeIDRegistry & GetInstance()
const AXTreeID & AXTreeIDUnknown()
#define BASE_DCHECK(condition)
Definition logging.h:63