| OLD | NEW |
| (Empty) |
| 1 // Copyright 2016 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 #ifndef SelectionAdjuster_h | |
| 6 #define SelectionAdjuster_h | |
| 7 | |
| 8 #include "core/editing/VisibleSelection.h" | |
| 9 | |
| 10 namespace blink { | |
| 11 | |
| 12 // TODO(xiaochengh): Move everything to VisibleSelection.cpp. | |
| 13 | |
| 14 enum class AdjustDirection { kAdjustNone, kAdjustStart, kAdjustEnd }; | |
| 15 | |
| 16 std::pair<AdjustDirection, Position> adjustmentToAvoidCrossingShadowBoundaries( | |
| 17 const VisibleSelection&); | |
| 18 std::pair<AdjustDirection, PositionInFlatTree> | |
| 19 adjustmentToAvoidCrossingShadowBoundaries(const VisibleSelectionInFlatTree&); | |
| 20 | |
| 21 } // namespace blink | |
| 22 | |
| 23 #endif // SelectionAdjuster_h | |
| OLD | NEW |