Always use default theme for System App popup settings pages
Terminal System App uses an almost black (#101010) theme by default for the main tabbed window. However, UX have requested that the settings page always use white for the frame, similar to OS settings. Screenshots: old: crbug.com/1033339#c7 new: crbug.com/1033339#c19 Since both windows are part of the same app, and it is not possible to have a manifest with 2 different themes specified, we will control the theme for System App TYPE_APP_POPUP to always use default which is white for light-mode, and something suitable for dark-mode. Fix for BrowserNonClientFrameViewMac which had not yet been updated to support browser TYPE_APP_POPUP as revealed by the included test. Bug: 1033339 Change-Id: I7b0d7cc291e5f5895ddfda2ad384256c3519d0a8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2066378 Commit-Queue: Joel Hockey <joelhockey@chromium.org> Reviewed-by:Peter Kasting <pkasting@chromium.org> Cr-Commit-Position: refs/heads/master@{#743852}
Showing
Please register or sign in to comment