Add overloaded GetSelectionTextFromBody() to simplify code.
This change adds an overloaded GetSelectionTextFromBody() function in EditingTestBase. It returns text of Selection().GetSelectionInDOMTree(). This can simplify the test code and improve code health. Signed-off-by:Zhuoyu Qian <zhuoyu.qian@samsung.com> Change-Id: I5548e4f168176a0e9921d2c4798fdf9126661b75 Reviewed-on: https://chromium-review.googlesource.com/1000655Reviewed-by:
Yoshifumi Inoue <yosin@chromium.org> Cr-Commit-Position: refs/heads/master@{#549135}
Showing
Please register or sign in to comment