Introduce composed tree version of previousPositionOf()
This patch introduces composed tree version of |previousPositionOf()| by templatizing original |previousPositionOf()| to work both DOM tree position and composed tree position version for introducing composed tree version of |VisibleSelection| class. This patch also templatizes |skipToStartOfEditingBoundary()| used by |previousPositionOf()|. This patch is a preparation of making selection to handle granularity for web component, http://crrev.com/1277863002 BUG=513568 TEST=n/a; no behavior changes Review URL: https://codereview.chromium.org/1312473017 git-svn-id: svn://svn.chromium.org/blink/trunk@201963 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment