DescriptionIntroduce {left,right}PositionOf() for VisiblePosition
This patch introduces |{left,right}PositionOf()| function for |VisiblePosition|
as replacement of |VisiblePosition::{left,right}()| to simplify
|VisiblePosition| class for ease of templataizing |VisiblePosition| class to
introduce composed tree version of |VisiblePosition|, since an implementation of
|VisiblePosition::{left,right}()| can be implemented with public member
functions of |VisiblePosition| class.
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
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201402
Patch Set 1 : 2015-08-28T17:01:47 #Patch Set 2 : 2015-08-28T19:07:16 Rebase #Patch Set 3 : 2015-08-28T21:59:15 Rebase after merge failure #
Messages
Total messages: 18 (10 generated)
|