DescriptionTemplatize LayoutView::commitPendingSelection function
This patch introduces a template function |commitPendingSelectionAlgorithm<Startegy>|
to makes |LayoutView::commitPendingSelection()| 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=197320
Patch Set 1 #
Messages
Total messages: 6 (2 generated)
|
|||||||||||||||||||||||||||||||||||||