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

Unified Diff: ash/common/system/tray/tray_constants.cc

Issue 2456783005: [ash-md] Changed the style of ink drop applied to system menu icon buttons. (Closed)
Patch Set: Created 4 years, 2 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/system/tray/tray_constants.cc
diff --git a/ash/common/system/tray/tray_constants.cc b/ash/common/system/tray/tray_constants.cc
index 489ff1ca9a1415000a25b7bde6a2e27f8d15ed25..2cfd4cdb1d18728aa98f6c6d6c1ebca113dc40b0 100644
--- a/ash/common/system/tray/tray_constants.cc
+++ b/ash/common/system/tray/tray_constants.cc
@@ -92,6 +92,11 @@ const int kSeparatorWidth = 1;
const SkColor kHorizontalSeparatorColor = SkColorSetA(SK_ColorBLACK, 0x1F);
const int kHorizontalSeparatorHeight = 24;
+const SkColor kTrayPopupInkDropBaseColor = SK_ColorBLACK;
+const float kTrayPopupInkDropRippleOpacity = 0.06f;
+const float kTrayPopupInkDropHighlightOpacity = 0.08f;
+const int kTrayPopupInkDropInset = 4;
+
int GetTrayConstant(TrayConstant constant) {
const int kTrayItemHeightLegacy[] = {38, 38, kTrayItemSize};
const int kTraySpacing[] = {4, 4, 0};

Powered by Google App Engine
This is Rietveld 408576698