DescriptionTemplatize functions in htmlediting.cpp
This patch templatizes functions in "htmlediting.cpp", which are called during
constructing |VisblePositon|, for a preparation of making |VisiblePosition|
class to work with position in composed tree:
- lastEditablePositionBeforePositionInRoot()
- nextCandidate()
- previousCandidate()
- previousVisuallyDistinctCandidate()
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=197330
Patch Set 1 #Patch Set 2 : 2015-06-18T13:23:41 #
Messages
Total messages: 9 (3 generated)
|