OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 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 |
| 5 #include "ui/accessibility/ax_abstract_position.h" |
| 6 |
| 7 namespace ui { |
| 8 |
| 9 AXPositionPointer::AXPositionPointer(AXPositionPointer&& other) = default; |
| 10 AXPositionPointer::AXPositionPointer(std::nullptr_t) {} |
| 11 AXPositionPointer::~AXPositionPointer() = default; |
| 12 |
| 13 constexpr int AXAbstractPosition::INVALID_TREE_ID; |
| 14 constexpr int32_t AXAbstractPosition::INVALID_ANCHOR_ID; |
| 15 constexpr int AXAbstractPosition::BEFORE_TEXT; |
| 16 constexpr int AXAbstractPosition::INVALID_INDEX; |
| 17 constexpr int AXAbstractPosition::INVALID_OFFSET; |
| 18 const AXPositionData AXAbstractPosition::kNullData = { |
| 19 AXPositionKind::NULL_POSITION, |
| 20 INVALID_TREE_ID, |
| 21 INVALID_ANCHOR_ID, |
| 22 INVALID_INDEX, |
| 23 INVALID_OFFSET, |
| 24 AX_TEXT_AFFINITY_DOWNSTREAM}; |
| 25 |
| 26 } // namespace ui |
OLD | NEW |