Implementation of non-ng painted selection
As not all layouts have been converted to NG, we also need to record painted selection bounds in the non-ng text painting codepaths. This CL adds the ability to compute SelectionState from InlineTextBox, similar to crrev.com/c/2567021 did for NGInlineCursorPosition. This state is then used by SelectionBoundsRecorder along with the selection rect to record the painted selection bounds. Bug: 1065049 Change-Id: I6915783f0c1ffdddd269fe43f729872e1f13e219 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2597884Reviewed-by:Xiaocheng Hu <xiaochengh@chromium.org> Reviewed-by:
Xianzhu Wang <wangxianzhu@chromium.org> Commit-Queue: Daniel Libby <dlibby@microsoft.com> Cr-Commit-Position: refs/heads/master@{#842189}
Showing
Please register or sign in to comment