Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9365)

Unified Diff: chrome/browser/ui/cocoa/tabs/tab_strip_view.mm

Issue 1992193003: [Mac][Material Design] Adjust tabstrip Incognito, non-vibrant bg color. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/tabs/tab_strip_view.mm
diff --git a/chrome/browser/ui/cocoa/tabs/tab_strip_view.mm b/chrome/browser/ui/cocoa/tabs/tab_strip_view.mm
index e242b32a65215beb5c03af6ecd65607fad30f908..8334d31dd830815a074bd3be78df351dac30b8f8 100644
--- a/chrome/browser/ui/cocoa/tabs/tab_strip_view.mm
+++ b/chrome/browser/ui/cocoa/tabs/tab_strip_view.mm
@@ -132,6 +132,11 @@
!themeProvider->HasCustomColor(ThemeProperties::COLOR_FRAME)) {
theColor = themeProvider->GetNSColor(
ThemeProperties::COLOR_FRAME_VIBRANCY_OVERLAY);
+ } else if (!supportsVibrancy && themeProvider->InIncognitoMode()) {
+ theColor = [NSColor colorWithSRGBRed:20 / 255.
+ green:22 / 255.
+ blue:24 / 255.
+ alpha:1];
} else {
theColor = themeProvider->GetNSColor(ThemeProperties::COLOR_FRAME);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698