commit | d68d003a2cb17bb230874fc9481e128789b5913c | [log] [tgz] |
---|---|---|
author | Egor Pasko <pasko@chromium.org> | Thu Jun 27 18:18:56 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jun 27 18:18:56 2024 |
tree | c83ceb5b270cd5f6712b9f747a19175fa8a050b2 | |
parent | 2356c690cf3383d86880ed0464e98d5adf51ad55 [diff] |
android: Check input hint with immediate next work info only Make input hint checks in message_pump_android only when next_work_info is immediate. The benefit is to save one call to HasInput() when the loop is about to break anyway. Currently InputHintChecker::HasInput() is disabled behind the experiment YieldWithInputHint (always returns false). Therefore there is no harm this change can cause. Side note: There is another early loop break (using the yield_to_native), which belongs to another experiment. It does so the same way as this change proposes. The idea was kindly provided by mthiesse@. Bug: 326417367 Change-Id: I98291a9a20d218abe4b9abe4130dda34560744ea Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5654430 Reviewed-by: Michael Thiessen <mthiesse@chromium.org> Commit-Queue: Egor Pasko <pasko@chromium.org> Reviewed-by: danakj <danakj@chromium.org> Cr-Commit-Position: refs/heads/main@{#1320511}
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.