DescriptionTemplatize FrameSelection::contains function
This patch introduces a template function |containsAlgorithm<Strategy>|
to makes |FrameSelection::contains()| function to work
both on DOM tree and composed tree with introducing member functions to strategy
class |VisibleSelection::InDOMTree|.
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=197342
Patch Set 1 : 2015-06-18T14:44:59 #
Total comments: 1
Patch Set 2 : 2015-06-18T19:15:03 Rebase #
Messages
Total messages: 17 (8 generated)
|
|||||||||||||||||||||||||||||||||||||