DescriptionMove theme color logic to Tab
Starts caching the theme color to be used inside tab.
This value depends on whether the tab is incognito and also
the security state and whether the tab is showing an interstitial
page. Changes TabObserver#ondidChangeThemeColor so that in only
pushes actually changes from the cached value.
ChromeActivity starts listening for this signal and pushes any
color changes to ToolbarManager making all ChromeActivity
classes aware of theme color changes.
This should still not cause any visual changes.
BUG=507340
Committed: https://crrev.com/39b1ea70f1f923c763f31ce66dd783ed530dc39f
Cr-Commit-Position: refs/heads/master@{#341559}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Nits #
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 9 (3 generated)
|