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

Unified Diff: ash/wm/custom_frame_view_ash.cc

Issue 175893004: Land image assets for https://codereview.chromium.org/148003003/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | « ash/system/chromeos/network/tray_sms.cc ('k') | ash/wm/header_painter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/custom_frame_view_ash.cc
diff --git a/ash/wm/custom_frame_view_ash.cc b/ash/wm/custom_frame_view_ash.cc
index b1d0cf39968a27ba24fb5e7f241b5fd3187fb790..994ad5c569eeb9a9b6fbbc93eefc419fc27364e3 100644
--- a/ash/wm/custom_frame_view_ash.cc
+++ b/ash/wm/custom_frame_view_ash.cc
@@ -265,11 +265,11 @@ void CustomFrameViewAsh::HeaderView::Layout() {
void CustomFrameViewAsh::HeaderView::OnPaint(gfx::Canvas* canvas) {
int theme_image_id = 0;
if (frame_->IsMaximized() || frame_->IsFullscreen())
- theme_image_id = IDR_AURA_WINDOW_HEADER_BASE_MINIMAL;
+ theme_image_id = IDR_AURA_BROWSER_WINDOW_HEADER_BASE_MAXIMIZED;
else if (frame_->non_client_view()->frame_view()->ShouldPaintAsActive())
- theme_image_id = IDR_AURA_WINDOW_HEADER_BASE_ACTIVE;
+ theme_image_id = IDR_AURA_BROWSER_WINDOW_HEADER_BASE_RESTORED_ACTIVE;
else
- theme_image_id = IDR_AURA_WINDOW_HEADER_BASE_INACTIVE;
+ theme_image_id = IDR_AURA_BROWSER_WINDOW_HEADER_BASE_RESTORED_INACTIVE;
header_painter_->PaintHeader(
canvas,
« no previous file with comments | « ash/system/chromeos/network/tray_sms.cc ('k') | ash/wm/header_painter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698