commit | dfd84d6c040d64dd5fa8906ad6e82befaf18281b | [log] [tgz] |
---|---|---|
author | Steve Kobes <skobes@chromium.org> | Thu Jun 16 19:23:35 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jun 16 19:23:35 2022 |
tree | af2c1cc324f2e39b63ceee73f2b929c99bd9ae91 | |
parent | 2775260be56159c37a2dfaf182c05f221b89f4e4 [diff] |
Let WebViewHelper create an InputHandlerProxy. A TestWebFrameWidget already has a real LayerTreeHost and a real WidgetInputHandlerManager connected to a WebFakeThreadScheduler. With just a few tweaks it can synchronously run the cc input handling code, similar to how single-threaded web tests work. Now tests that use WebViewHelper, either directly or via SimTest, can perform "real" scrolls compatible with scroll unification. This lets us do a fairly mechanical migration of lots of tests that currently send gesture events directly to main-thread handlers, by switching them to the new DispatchThroughCcInputHandler API. Bug: 1322078 Change-Id: I69668717aed5ddbecd1f916da3cf4430370c2b50 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3704239 Commit-Queue: Steve Kobes <skobes@chromium.org> Reviewed-by: David Bokan <bokan@chromium.org> Cr-Commit-Position: refs/heads/main@{#1015026}
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.