DescriptionTemplatize version updateSelectionForMouseDrag in SelectionController
This patch introduces a template function |updateSelectionForMouseDragAlgorithm<Strategy>|
for a preparation of making |updateSelectionForMouseDrag()| to work with both
DOM tree and composed tree.
Following patch will make |expandSelectionToRespectUserSelectAll()| to check
runtime flag |SelectionForWebComponents| and work for either positions in DOM
tree or positions in composed tree.
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=197454
Patch Set 1 #Patch Set 2 : 2015-06-19T15:56:13 #
Messages
Total messages: 6 (2 generated)
|
||||||||||||||||||||||||||||