commit | 9068f363003009f840b84f36c12551041dcb702e | [log] [tgz] |
---|---|---|
author | Anupam Snigdha <snianu@microsoft.com> | Mon Feb 22 19:42:12 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Feb 22 19:42:12 2021 |
tree | 8d44e4d7357b38dbda79555234146926ffd3b41d | |
parent | f5606f6187f9a61af5c55b108e8ac7192b00a01c [diff] |
Report the actual bounds of the TextField to TSF. Previously we just used to report the entire app window's bounds to Windows text input service(TSF) as a hack because we weren't aware of any API that would give us the actual control bounds of the edit control when focus is in the Omnibox. In this patch we are calling |GetContentsBounds| API to fetch the control bound of the view and convert it into screen coordinates when TSF queries for the layout bounds. Bug: 1180381 Change-Id: Ia8fdbe8849aa28ac07f254896d85b606a2dc6f4c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2708745 Reviewed-by: Elly Fong-Jones <ellyjones@chromium.org> Commit-Queue: Anupam Snigdha <snianu@microsoft.com> Cr-Commit-Position: refs/heads/master@{#856380}
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.