DescriptionIntroduce expandSelectionUsingGranularity() in SelectionController
This patch introduces |expandSelectionUsingGranularity()| for a preparation
of calling |VisibleSelection::expandUsingGranularity()| or |expandUsingGranularityInCompsoedTree()|
by template parameter.
Following patch will templatize this function to take a strategy as tempalte
parameter for selection accessor, e.g. |VisibleSeleciton::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=197450
Patch Set 1 #
Total comments: 2
Patch Set 2 : 2015-06-19T12:39:53 Mark |static| #Patch Set 3 : 2015-06-19T13:30:25 Rebase #Messages
Total messages: 18 (7 generated)
|