-
Joel Hockey authored
The current logic use background color for tab color in a tabbed PWA. So the current logic ignores any dynamic changes to bg for non-tabbed apps. But bg color also sets other things such as download shelf color, so we should still update themes for non-tabbed apps when bg color changes. Moved color change detection logic for theme_color / background_color, and UserChangedTheme notifications into UpdateThemePack to simplify its callsites. Bug: 1134112 Change-Id: Ibe68911b733b0eb7760cd2d2f4be96e3eb2c7a3c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2451989Reviewed-by:
Alan Cutter <alancutter@chromium.org> Commit-Queue: Alan Cutter <alancutter@chromium.org> Commit-Queue: Joel Hockey <joelhockey@chromium.org> Auto-Submit: Joel Hockey <joelhockey@chromium.org> Cr-Commit-Position: refs/heads/master@{#814569}
615257a6