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/+/2393261Reviewed-by:Michael Wasserman <msw@chromium.org> Commit-Queue: David Black <dmblack@google.com> Cr-Commit-Position: refs/heads/master@{#804526}
Showing
Please register or sign in to comment