DescriptionTemplatize extractSelectedText used by FrameSelection function
This patch introduces a template function |extractSelectedTextAlgorithm<Strategy>|
to makes |extractSelectedText()| function used by |FrameSeleciton| to work
both on DOM tree and composed tree via |Strategy| template parameter.
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=197329
Patch Set 1 #
Messages
Total messages: 6 (2 generated)
|
|||||||||||||||||||