Toolbar: Remove dependency on NewTabPage in ToolbarColors
ToolbarColors is a collection of public static methods that returns the right color of various toolbar ui components which gets customized when the current tab is showing NTP. This CL refactors the customized logic by moving it behind NativePage interface, so that the class doesn't have direct dependency on NewTabPage. Bug: 1127732 Change-Id: Ib1b139467a0f1cc216792d112b13b40168c44c3b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2486526 Commit-Queue: Jinsuk Kim <jinsukkim@chromium.org> Reviewed-by:Matthew Jones <mdjones@chromium.org> Reviewed-by:
Filip Gorski <fgorski@chromium.org> Cr-Commit-Position: refs/heads/master@{#823491}
Showing
Please register or sign in to comment