Move code for adjusting selection start to avoid crossing editing boundaries to a function
This patch introduces |AdjustSelectionStartToAvoidCrossingEditingBoundaries()| for moving code for adjusting selection end code from |AdjustSelectionToAvoidCrossingEditingBoundaries()| to simplify it for improving code readability. This patch is a preparation of the patch[1] and similar to the patch[2]. [1] http://crrev.com/c/575297: Refactor VisibleSelectionTemplate::AdjustSelectionToAvoidCrossingEditingBoundaries() [2] http://crrev.com/577338: Move code for adjusting selection end to avoid crossing editing boundaries to a function Bug: 230267 Change-Id: I25e020af333983e0e797c21eff2d934d6a03a589 Reviewed-on: https://chromium-review.googlesource.com/576606Reviewed-by:Yoichi Osato <yoichio@chromium.org> Commit-Queue: Yoshifumi Inoue <yosin@chromium.org> Cr-Commit-Position: refs/heads/master@{#488105}
Showing
Please register or sign in to comment