DescriptionTemplatize canonicalizeCandidate() in VisiblePosition
This patch makes |canonicalizeCandidate()| in |VisiblePosition| to a template
function with template parameter |PositionType|, which takes either |Position|
for DOM tree or |PositionInComposedTree|.
This patch is a preparation to make |VisiblePositon| to work with a position
in composed tree for selection for web component.
This patch is result of collaboration work with hajimehoshi@chromium.org
for selection of web components. After this patch, we are going to
implement another strategies for the composed tree. We've already
prepared that at http://crrev.com/1106433002.
BUG=275851
TEST=n/a; No behavior changes.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197447
Patch Set 1 #Patch Set 2 : 2015-06-19T12:59:53 Mark |static| #Messages
Total messages: 6 (2 generated)
|