- if (browser_view()->IsBrowserTypeNormal()) {
- if (ShouldPaintAsActive()) {
- return GetThemeProvider()->GetColor(is_incognito ?
- ThemeProperties::COLOR_FRAME_INCOGNITO :
- ThemeProperties::COLOR_FRAME);
- }
- return GetThemeProvider()->GetColor(is_incognito ?
- ThemeProperties::COLOR_FRAME_INCOGNITO_INACTIVE :
- ThemeProperties::COLOR_FRAME_INACTIVE);
- }
- // Never theme app and popup windows.