DescriptionTemplatize extractSelectedHTMLAlgorithm used by FrameSelection function
This patch introduces a template function |extractSelectedHTMLAlgorithm<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 yosin@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=197335
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|
|||||||||||||||||||