Add EditingTestBase::GetCaretTextFromBody
This patch adds the above function, so that when writing unit tests, we can check the correctness of functions returning positions in an easier way. This is a preparation patch for crrev.com/c/791856 Bug: Change-Id: If7de011090dca69830a4d8a404f1321934971488 Reviewed-on: https://chromium-review.googlesource.com/706575Reviewed-by:Yoshifumi Inoue <yosin@chromium.org> Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org> Cr-Commit-Position: refs/heads/master@{#519579}
Showing
Please register or sign in to comment