0
Go to file
Benoît Lizé d5e762e022 [input] Add a featrure to make input-related BeginMainFrame() urgent
When main is throttled to a lower framerate than impl, it can request an
"urgent" BeginMainFrame(), which is not throttled, and happens at the
next Impl frame. This CL:
- Adds the blink-side plumbing to use this
- Uses it for inputs

For inputs, this is triggered in two separate places:
- Impl thread: when a rAF-aligned, non-coalesced event is received.
- Main: when something in the scope of event dispatch requests a main
  frame.

The first one will make touchMove events at the beginning of scrolls use
a shorter interval. The second one handles the case where an input
results in blink paint requesting something, for instance that is the
case when a radio button is clicked.

Together, we observe lower BeginMainFrame() delay after input, while
preserving e.g. scrolling main frame updates at 60Hz.

Note that this commit only adds a feature, along with tests, it is still
off by default.

Bug: 379678455
Change-Id: Iba77b1437ae2f2e94cf8e4647768997693b26dfe
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6329371
Reviewed-by: Dave Tapuska <dtapuska@chromium.org>
Commit-Queue: Benoit Lize <lizeb@chromium.org>
Reviewed-by: Jonathan Ross <jonross@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1436753}
2025-03-24 04:04:17 -07:00
2025-03-20 13:14:38 -07:00
2025-03-19 11:01:45 -07:00
2025-03-23 16:18:03 -07:00
2025-03-24 02:59:26 -07:00
2025-03-24 03:58:52 -07:00
2025-03-24 00:29:06 -07:00
2025-03-17 04:34:08 -07:00
2025-03-21 08:01:32 -07:00
2024-05-09 19:55:50 +00:00
2024-04-12 16:29:21 +00:00
2024-08-14 15:40:02 +00:00

Logo Chromium

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.

Description
Chromium是一个开源浏览器项目,提供了一种安全、快速、稳定的方法来体验Web。该浏览器可以在多个平台上下载,包括Mac、Windows、Linux和ChromiumOS。项目原始地址: https://chromium.googlesource.com/chromium/src.git
https://www.mobibrw.com/gitea-mirrors/chromium/src.git
Readme BSD-3-Clause 89 GiB
Languages
C++ 74.4%
Java 8.2%
Objective-C++ 4.6%
TypeScript 4%
Python 2.5%
Other 6.1%