commit | d9314938deefac832c2632a42a2cf08754c8a57b | [log] [tgz] |
---|---|---|
author | Michelle <michellegc@google.com> | Tue May 21 08:40:15 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue May 21 08:40:15 2024 |
tree | 71052064792679cf6621644df189c2c74b9070a0 | |
parent | bb28cb05e91036b7d4ddbc09aa282f48d7ef03fd [diff] |
Add max_visible_rows to PickerSmallItemGridView. We're moving small grid items (emojis, symbols and emoticons) out of the main Picker container and into a separate emoji bar. The emoji bar will only show one row of items, so add an option to set the max visible rows of small item grids. (For now, set the max visible rows as 2 since we haven't actually moved to the new UI yet.) After we've moved things into the emoji bar, we may not need to support multiple rows in the small grid. This can probably let us delete some code / simplify parts of PickerSmallItemGridView, but leave that to later once we've confirmed that the multiple row layout is not needed. Bug: b:340692819, b:340692683 Change-Id: I212a1123c7c26cc41411cb787e2db014a09a3a74 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5553651 Reviewed-by: Darren Shen <shend@chromium.org> Commit-Queue: Michelle Chen <michellegc@google.com> Cr-Commit-Position: refs/heads/main@{#1303647}
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.