commit | 532c7e8935d4a681f05e47e2cc53e19b51bc7035 | [log] [tgz] |
---|---|---|
author | Chuong Ho <hdchuong@google.com> | Fri Sep 15 01:38:46 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Sep 15 01:38:46 2023 |
tree | 27c37199f09041471a5a8e2d4e2cc55d371788f5 | |
parent | c5109d3b11c5341c314084c8d7ea60c4c32faf3f [diff] |
add the EditorEventSink proxy class which sends input-related events from the browser into the shared library. The shared lib needs to be aware of the current surrounding text. This CL adds a new method, which allows the `editor mediator` to listen to the change of the surrounding text that originates from `native input method engine observer`. Upon receiving the new surrounding text, the editor mediator instance then calls the EditorEventSinkProxy instance which in turns sends data that contains the current surrounding text to the shared lib via `OnContextUpdated()` mojom method. Bug: b:298285960 Change-Id: I96337260c70d34b581b9c2373fdaea957c99ca29 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4828063 Reviewed-by: Darren Shen <shend@chromium.org> Commit-Queue: Chuong Ho <hdchuong@google.com> Cr-Commit-Position: refs/heads/main@{#1196931}
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.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.