[LayoutNG] Split ng_caret_position.h/cc off ng_caret_rect.h/cc
The current ng_caret_rect.h/cc contains two different parts: 1. Computation of NGCaretPosition 2. Conversion from NGCaretPosition to LocalCaretRect The two parts are very different that, NGCaretPosition is a building block of other Layout NG components (e.g., ng_line_utils), while LocalCaretRect is only passed to legacy. For better code health, this patch splits them into different files. Bug: 822575 Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_layout_ng Change-Id: I1dbc1b683d54c2f066cf84c21e7388bb07f8e3f1 Reviewed-on: https://chromium-review.googlesource.com/1014800Reviewed-by:Koji Ishii <kojii@chromium.org> Reviewed-by:
Yoshifumi Inoue <yosin@chromium.org> Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org> Cr-Commit-Position: refs/heads/master@{#551249}
Showing
This diff is collapsed.
Please register or sign in to comment