commit | 8f353252f763c25e21306139e72d98b14dc8109d | [log] [tgz] |
---|---|---|
author | Benjamin Williams <bwwilliams@google.com> | Thu Oct 17 14:24:48 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Oct 17 14:24:48 2024 |
tree | f466d47b772b1b239c0e5e532b6f9364a6bd3f23 | |
parent | 79973d79c563bb056507f4b0a5ccd2e570f6a8c5 [diff] |
Make Address Bar Position tip phone-only This CL updates the address bar position tip to check if the device form factor is a phone before displaying. The address bar selection feature is currently only available on iPhones, so this change ensures the tip is not shown on other device form factors, e.g., iPads, where the feature is not supported. This is done by: * Adding a new constant `kIsPhoneFormFactor` to represent the device form factor signal. * Updating `kTipRequiredSignals` to include `kIsPhoneFormFactor` as a requirement for the address bar position tip. * Modifying the corresponding query generation logic to include `kIsPhoneFormFactor`. * Adding a new test to verify that the tip is not displayed when the device is not a phone. Low-Coverage-Reason: COVERAGE_UNDERREPORTED Fixed: 374063027 Change-Id: I9985bc9dc267febf2e7fdb93e8bc9be0c822746b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5938750 Reviewed-by: Scott Yoder <scottyoder@google.com> Commit-Queue: Benjamin Williams <bwwilliams@google.com> Cr-Commit-Position: refs/heads/main@{#1369990}
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.