| commit | d49b27ab80b051696dd044bb05dc64f6ad695d76 | [log] [tgz] |
|---|---|---|
| author | Tao Wu <wutao@chromium.org> | Wed Dec 27 20:02:30 2023 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Dec 27 20:02:30 2023 |
| tree | 6b94f001bc53679ee360e3a4a7155f0522cf19ab | |
| parent | f473e56b72a565ef62162d63149990f7068bbf5b [diff] |
assistant: Dynamically show chips in IPH Dynamically check the chips' width when showing them in the IPH. If the width could not fit the width of the container, will set some of the chips to invisible. But keep at least one query chip. Bug: b/317074744 Test: Added new tests and manually tested with different length of text Change-Id: I14b48e59993aeb6f752302bcb79e93e9d0aed780 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5152420 Reviewed-by: Robbie Gibson <rkgibson@google.com> Reviewed-by: Xiaohui Chen <xiaohuic@chromium.org> Commit-Queue: Tao Wu <wutao@chromium.org> Reviewed-by: Toni Barzic <tbarzic@chromium.org> Cr-Commit-Position: refs/heads/main@{#1241222}
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.