Introduce composed tree version of rightPositionOf()
This patch introduces composed tree version of |rightPositionOf()| by templatizing original |rightPositionOf()| to work both DOM tree position and composed tree position version for introducing composed tree version of |VisibleSelection| class. This patch also templaizes |rightVisuallyDistinctCandidate()| used by |rightPositionOf()|. 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/1311803004 git-svn-id: svn://svn.chromium.org/blink/trunk@201967 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment