DescriptionIntroduce positionForPoint() in LocalFrame class as replacement of visiblePositionForPoint()
This patch introduces |positionForPoint()| in |LocalFrame| class as replacement
of |visiblePositionForPoint()| to reduce doing visible position
canonicalization for increasing chance to delay canonicalization with changing
|setPosition()| in |DragCaretController| and |VisibleSelection| constructor to
take |PositionWithAffinity|.
Note: Both of |VisbilePosition| constructor and |VisibleSelection| constructor
do visible position canaonicalization.
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=201110
Patch Set 1 : 2015-08-25T15:15:43 #
Messages
Total messages: 6 (2 generated)
|