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

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

Issue 2679333002: [ash-md] Remove the number of animators used for the Shelf animations. (Closed)
Patch Set: Created 3 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
Index: ash/common/shelf/overflow_bubble_view.cc
diff --git a/ash/common/shelf/overflow_bubble_view.cc b/ash/common/shelf/overflow_bubble_view.cc
index 25b0ef672dba7790057570679b0c2f6c15d0415a..a198d095aa0202d40b7c5605699a07f6de1c8828 100644
--- a/ash/common/shelf/overflow_bubble_view.cc
+++ b/ash/common/shelf/overflow_bubble_view.cc
@@ -52,8 +52,7 @@ void OverflowBubbleView::InitOverflowBubble(views::View* anchor,
set_background(NULL);
SkColor color = MaterialDesignController::IsShelfMaterial()
? kShelfBaseColor
- : SkColorSetA(kShelfBaseColor,
- GetShelfConstant(SHELF_BACKGROUND_ALPHA));
+ : SkColorSetA(kShelfBaseColor, kShelfTranslucentAlpha);
set_color(color);
set_margins(gfx::Insets(kPadding, kPadding, kPadding, kPadding));
// Overflow bubble should not get focus. If it get focus when it is shown,

Powered by Google App Engine
This is Rietveld 408576698