Fix unreadable title text colour for PWA windows when GTK theme is used
This CL makes OpaqueBrowserFrameView test for whether the user is using the system theme for the browser before using the hosted app theme color algorithm. This CL also updates the foreground color algorithm to always use the actual frame color to avoid readability bugs like this in general. Before: https://bugs.chromium.org/p/chromium/issues/attachment?aid=365224&signed_aid=05pRAK75RpeItQNbJQ32zA==&inline=1 After: https://bugs.chromium.org/p/chromium/issues/attachment?aid=365225&signed_aid=5PQmY9poCGVOGL8cIt7X3g==&inline=1 Change-Id: Id428054a636b408f59f88c49a0911f6a5052ccc5 Reviewed-on: https://chromium-review.googlesource.com/c/1307032Reviewed-by:Bret Sepulveda <bsep@chromium.org> Commit-Queue: Alan Cutter <alancutter@chromium.org> Cr-Commit-Position: refs/heads/master@{#604110}
Showing
Please register or sign in to comment