Introduce 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 Review URL: https://codereview.chromium.org/1310323004 git-svn-id: svn://svn.chromium.org/blink/trunk@201110 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment