Add theming to the bottom toolbar
Make the bottom toolbar take on the theme color. Also have the bottom toolbar buttons become light/dark depending on theme color. The main complexity of this patch arises from having to support two different ways for theming button icons. Some icons are tintable and in that case we can just set their tint to light or dark. Other icons aren't tintable and have 2 separate drawables and swap them out depending on the theme. There are a still an issue this patch doesn't address. If a site is themed and then we go to tab switcher mode the bottom toolbar will retain the original site's theming. To solve this we'll need a sane theme provider. Bug: 852140 Change-Id: I3ec960c1e5c7d83b663ee97101d6a11e528e4f95 Reviewed-on: https://chromium-review.googlesource.com/1166291 Commit-Queue: Pedro Amaral <amaralp@chromium.org> Reviewed-by:Ted Choc <tedchoc@chromium.org> Reviewed-by:
Matthew Jones <mdjones@chromium.org> Cr-Commit-Position: refs/heads/master@{#583769}
Showing
Please register or sign in to comment