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

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

Issue 2550413004: Remove Ash shelf dimmer. (Closed)
Patch Set: jamescook review Created 4 years 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/aura/wm_shelf_aura.cc ('k') | ash/common/shelf/overflow_button.cc » ('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 871ed0fb4980ca5758c6fa09c022a0b7f4384bd1..b8cc2564eab7541a42793019f8cae43e108332f1 100644
--- a/ash/common/shelf/app_list_button.cc
+++ b/ash/common/shelf/app_list_button.cc
@@ -193,8 +193,6 @@ void AppListButton::PaintAppListButton(gfx::Canvas* canvas,
if (WmShell::Get()->GetAppListTargetVisibility() ||
draw_background_as_active_) {
background_image_id = IDR_AURA_LAUNCHER_BACKGROUND_PRESSED;
- } else if (wm_shelf_->IsDimmed()) {
- background_image_id = IDR_AURA_LAUNCHER_BACKGROUND_ON_BLACK;
} else {
background_image_id = IDR_AURA_LAUNCHER_BACKGROUND_NORMAL;
}
« no previous file with comments | « ash/aura/wm_shelf_aura.cc ('k') | ash/common/shelf/overflow_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698