Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in
(72)

Issue 1205563002: Use Position and PositionInComposedTree to create VisiblePosition at SelectionController (Closed)

Created:
4 years, 10 months ago by hajimehoshi
Modified:
4 years, 10 months ago
Reviewers:
tkent, yosin_UTC9
CC:
blink-reviews
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Use 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -2 lines) Patch
M Source/core/editing/SelectionController.cpp View 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
hajimehoshi
PTAL
4 years, 10 months ago (2015-06-23 05:31:47 UTC) #2
yosin_UTC9
Since, I'm co-author of this patch. I'm not a good person for review.
4 years, 10 months ago (2015-06-23 05:33:21 UTC) #3
tkent
> As a preparation for selection on the composed tree, VisiblePosition > should be created ...
4 years, 10 months ago (2015-06-23 05:50:10 UTC) #4
hajimehoshi
On 2015/06/23 05:50:10, tkent wrote: > > As a preparation for selection on the composed ...
4 years, 10 months ago (2015-06-23 06:09:59 UTC) #5
tkent
lgtm
4 years, 10 months ago (2015-06-23 06:12:34 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1205563002/1
4 years, 10 months ago (2015-06-23 06:12:58 UTC) #8
commit-bot: I haz the power
4 years, 10 months ago (2015-06-23 07:21:09 UTC) #9
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://src.chromium.org/viewvc/blink?view=rev&revision=197631

Powered by Google App Engine
This is Rietveld 408576698