Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Side by Side Diff: ui/accessibility/ax_abstract_position.cc

Issue 2940923003: a11y: Move CreateTextMarker[Range] to TextMarkerHelperMac.
Patch Set: squish? Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/accessibility/ax_abstract_position.h ('k') | ui/accessibility/ax_position.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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
OLDNEW
« no previous file with comments | « ui/accessibility/ax_abstract_position.h ('k') | ui/accessibility/ax_position.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698