crrev.com/r/1002716 introduces an additional views::FocusRing::Install() method that accepts a custom colour instead of using a ui::NativeTheme::ColorId value. This is required because the top-chrome is coloured with a dark theme in incognito mode, and thus requires a differently coloured focus ring, while the secondary UI remains on the default (non-dark) theme, and thus uses the original focus ring color (ui::NativeTheme::kColorId_FocusedBorderColor).
This introduces a bit more complexity because these two Install() methods overlap in different ways, so investigate a way to consolidate these methods into one, with the original views::FocusRing::Install(View, ui::NativeTheme::ColorId) signature preferred.
Comment 1 by bugdroid1@chromium.org
, Apr 19 2018