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

Unified Diff: chrome/browser/ui/views/frame/browser_header_painter_ash.cc

Issue 1663743003: MD - Update incognito frame colors. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update more assets Created 4 years, 10 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 | « chrome/app/theme/material_200_percent/common/ash/theme_frame_incognito_inactive.png ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/frame/browser_header_painter_ash.cc
diff --git a/chrome/browser/ui/views/frame/browser_header_painter_ash.cc b/chrome/browser/ui/views/frame/browser_header_painter_ash.cc
index 0cd9bba8dcff7e5e9470995569e3721d921c7086..33bbabe617f6b1cb5ce01a6cf46fa1fa9b36155b 100644
--- a/chrome/browser/ui/views/frame/browser_header_painter_ash.cc
+++ b/chrome/browser/ui/views/frame/browser_header_painter_ash.cc
@@ -148,6 +148,9 @@ void BrowserHeaderPainterAsh::Init(
view_ = header_view;
window_icon_ = window_icon;
caption_button_container_ = caption_button_container;
+ // Use light images in otr, even when a custom theme is installed. The
+ // otr window with a custom theme is still darker than a normal window.
+ caption_button_container_->SetUseLightImages(is_incognito_);
}
int BrowserHeaderPainterAsh::GetMinimumHeaderWidth() const {
« no previous file with comments | « chrome/app/theme/material_200_percent/common/ash/theme_frame_incognito_inactive.png ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698