Commit b92e6f02 authored by Yoichi Osato's avatar Yoichi Osato Committed by Commit Bot

Refactor ShadowBoundaryAdjuster.

This patch makes only-internal-used functions declared in header
to local.
This patch also moves internal functions from anonymous namespace
to ShadowBoundaryAdjuster.

Bug: 787295
Change-Id: I4420a2f7364cd41b8a6bf25aefbce79b7991c1f3
Reviewed-on: https://chromium-review.googlesource.com/803177Reviewed-by: default avatarYoshifumi Inoue <yosin@chromium.org>
Commit-Queue: Yoichi Osato <yoichio@chromium.org>
Cr-Commit-Position: refs/heads/master@{#521309}
parent 949d0949
......@@ -19,15 +19,6 @@ class CORE_EXPORT SelectionAdjuster final {
STATIC_ONLY(SelectionAdjuster);
public:
// TODO(editing-dev): Move these functions to ShadowBoundaryAdjuster.
static Position AdjustSelectionStartToAvoidCrossingShadowBoundaries(
const EphemeralRange&);
static Position AdjustSelectionEndToAvoidCrossingShadowBoundaries(
const EphemeralRange&);
static PositionInFlatTree AdjustSelectionStartToAvoidCrossingShadowBoundaries(
const EphemeralRangeInFlatTree&);
static PositionInFlatTree AdjustSelectionEndToAvoidCrossingShadowBoundaries(
const EphemeralRangeInFlatTree&);
static SelectionInDOMTree AdjustSelectionRespectingGranularity(
const SelectionInDOMTree&,
TextGranularity);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment