Flutter Engine
 
Loading...
Searching...
No Matches
semantics_node.cc
Go to the documentation of this file.
1// Copyright 2013 The Flutter 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
7#include <cstring>
8
9namespace flutter {
10
11constexpr int32_t kMinPlatformViewId = -1;
12
14
15SemanticsNode::SemanticsNode(const SemanticsNode& other) = default;
16
18
20 return (actions & static_cast<int32_t>(action)) != 0;
21}
22
26
27} // namespace flutter
constexpr int32_t kMinPlatformViewId
bool HasAction(SemanticsAction action) const
bool IsPlatformViewNode() const