Description[MD] Don't use new OTR native-theming when using a custom browser theme.
The location bar, omnibox, and find in page bar should look the same in
incognito and normal windows if we're using a custom theme. Since
changing to or from a custom theme can now affect the window's decision
of which NativeTheme to use, we have to make GetNativeTheme()
overrideable as well as propagate NativeTheme changes when the browser
theme changes.
BUG=581559
depends on http://crrev.com/1638063003#ps1
Committed: https://crrev.com/426c9fcce7a81e6e20dac1d4b2cc6fcda7aab510
Cr-Commit-Position: refs/heads/master@{#371990}
Patch Set 1 #Patch Set 2 : desktop linux works too #
Total comments: 3
Patch Set 3 : todo done #
Total comments: 2
Patch Set 4 : move lifetime comment #Messages
Total messages: 21 (10 generated)
|