DescriptionUse Position and PositionInComposedTree to create VisiblePosition at SelectionController
At SelectionController, VisiblePositions are now created only with
Position. To make VisiblePosition work on the composed tree
correctly, we need to pass different types of positions to
VisiblePositions. This CL changes the types of positions to pass
by using Strategy::toPositionType.
This CL is a preparation. Now both constructors that take Position
and PositionInComposedTree are functionally same, but we are going to
fix this (crrev.com/1106433002).
This patch is result of collaboration work with yosin@chromium.org
for selection of web components. We are now preparing this feature at
crrev.com/1106433002.
BUG=275851
TEST=n/a; no behavior change
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197631
Patch Set 1 #
Messages
Total messages: 9 (2 generated)
|
|||||||||||||||||||