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

Unified Diff: ash/common/shelf/app_list_button.cc

Issue 2277523004: Fix background of overflow shelf icon (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 | ash/resources/ash_resources.grd » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/shelf/app_list_button.cc
diff --git a/ash/common/shelf/app_list_button.cc b/ash/common/shelf/app_list_button.cc
index 0803ff868f29970cb4bde6508a1d2bf0217082df..6ecfd3349878e56a3ce8caebc264528830ce2b05 100644
--- a/ash/common/shelf/app_list_button.cc
+++ b/ash/common/shelf/app_list_button.cc
@@ -199,13 +199,11 @@ void AppListButton::PaintAppListButton(gfx::Canvas* canvas,
if (WmShell::Get()->GetAppListTargetVisibility() ||
draw_background_as_active_) {
- background_image_id = IDR_AURA_NOTIFICATION_BACKGROUND_PRESSED;
+ background_image_id = IDR_AURA_LAUNCHER_BACKGROUND_PRESSED;
+ } else if (wm_shelf_->IsDimmed()) {
+ background_image_id = IDR_AURA_LAUNCHER_BACKGROUND_ON_BLACK;
} else {
- if (wm_shelf_->IsDimmed()) {
- background_image_id = IDR_AURA_NOTIFICATION_BACKGROUND_ON_BLACK;
- } else {
- background_image_id = IDR_AURA_NOTIFICATION_BACKGROUND_NORMAL;
- }
+ background_image_id = IDR_AURA_LAUNCHER_BACKGROUND_NORMAL;
}
ResourceBundle& rb = ResourceBundle::GetSharedInstance();
« no previous file with comments | « no previous file | ash/resources/ash_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698