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

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

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.h
diff --git a/ash/common/system/tray/tray_constants.h b/ash/common/system/tray/tray_constants.h
index b739d6a2e6549596dba1f6309baeba5d78ea9336..35225050ff51de05ad97c20d7c324d02c4a376b9 100644
--- a/ash/common/system/tray/tray_constants.h
+++ b/ash/common/system/tray/tray_constants.h
@@ -101,6 +101,20 @@ extern const int kMenuSeparatorVerticalPadding;
// The horizontal padding for the system menu separator.
extern const int kMenuExtraMarginFromLeftEdge;
+// The base color used for all ink drops in the system menu.
+extern const SkColor kTrayPopupInkDropBaseColor;
+
+// The opacity of the ink drop ripples for all ink drops in the system menu.
+extern const float kTrayPopupInkDropRippleOpacity;
+
+// The opacity of the ink drop ripples for all ink highlights in the system
+// menu.
+extern const float kTrayPopupInkDropHighlightOpacity;
+
+// The inset applied to clickable surfaces in the system menu that do not have
+// the ink drop filling the entire bounds.
+extern const int kTrayPopupInkDropInset;
+
enum TrayConstant {
// A legacy height value used in non-MD calculations for applying additional
// borders on tray items.

Powered by Google App Engine
This is Rietveld 408576698