commit | 10691ebf705528c2079d3510b44552727bf6f1f8 | [log] [tgz] |
---|---|---|
author | Donn Denman <donnd@chromium.org> | Fri Dec 08 23:52:08 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Dec 08 23:52:08 2023 |
tree | de61e62c4955be0308dab93344a8cb0e03a621a8 | |
parent | 6b99d54e89f82f808473950a11e3bd95d55b43dc [diff] |
[E2E] Restrict to gesture-enabled phone Check if we're running on a gesture-enabled phone and if we are not then do not activate the feature regardless of other Flags. In this CL we get initial insets from the root view of the decor of the activity's window, and check if it looks like a phone, before starting up Edge To Edge. Also make some updates to the unit test for the Controller: 1) Fix a bug some test cases that create a live controller. We need to also create a live Supplier to go with it. 2) Make the tests less brittle by avoiding actual call counts in some cases. 3) Add tests for this change - Phone and Gesture Nav. BUG:1505541 Change-Id: I02fac518a72137dbcec518b2caf83408e9cc4469 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5072392 Auto-Submit: Donn Denman <donnd@chromium.org> Reviewed-by: Theresa Sullivan <twellington@chromium.org> Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com> Commit-Queue: Donn Denman <donnd@chromium.org> Cr-Commit-Position: refs/heads/main@{#1235313}
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.