commit | 726995cee24e0341aab79e6f73747caac7ac6afd | [log] [tgz] |
---|---|---|
author | David Black <dmblack@google.com> | Fri Sep 04 06:18:13 2020 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Sep 04 06:18:13 2020 |
tree | 21621b85284f5bdfc87252ddfbd982d6d47de5ab | |
parent | 7ea61df9b1811da285503099f5aa11a20283248c [diff] |
Add subscription support to MenuItemView selected state. MenuItemView supports being a thin wrapper around a sole child view but the child view isn't notified of changes to the parent's selected state. This means the child view doesn't know to update itself if it has some state specific characteristics. This CL makes selected state a subscribe-able property so that changes can be observed and reacted to. Bug: 1112888 Change-Id: I305eb1dd8cdb735d1bb14bd0f7c86ce8193b3670 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2393261 Reviewed-by: Michael Wasserman <msw@chromium.org> Commit-Queue: David Black <dmblack@google.com> Cr-Commit-Position: refs/heads/master@{#804526}
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.
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.