commit | 08ea0fccd8ccbbf61dcf7b93a857dd1b6844b3d0 | [log] [tgz] |
---|---|---|
author | Yuichiro Hanada <yhanada@chromium.org> | Tue Jan 22 03:19:51 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Jan 22 03:19:51 2019 |
tree | aae6c3df423fddf0260630487770845c04b43f44 | |
parent | 168ddefa92f7efee346aa5bc547da0c5295fd2cf [diff] |
Use TextInputState to provide state of a text field. RWHVA::{GetTextRange, GetTextFromRange} used TextInputManager::TextSelection provided by TextInputManager which includes texts outside of a text field. This CL changes content getter methods of TextInputClient interface to use TextInputState to avoid inconsistency caused by using results of different IPCs. Bug: 901439 Test: content_unittests Change-Id: I3e5031eb03d6e96e281443cab4a8257053c39b7f Reviewed-on: https://chromium-review.googlesource.com/c/1412092 Reviewed-by: Sadrul Chowdhury <sadrul@chromium.org> Commit-Queue: Yuichiro Hanada <yhanada@chromium.org> Cr-Commit-Position: refs/heads/master@{#624718}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .