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

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

Issue 2099103002: Give Ash material design tray items the correct size and layout (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: split shelf and tray constants Created 4 years, 6 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 | « ash/common/shelf/shelf_constants.h ('k') | ash/common/system/tray/tray_background_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/shelf/shelf_constants.cc
diff --git a/ash/common/shelf/shelf_constants.cc b/ash/common/shelf/shelf_constants.cc
index e6a7436cb8d929399d663b10e44beaa8d0bf35f2..04726858c38ba8443169c25d008f04869879db1e 100644
--- a/ash/common/shelf/shelf_constants.cc
+++ b/ash/common/shelf/shelf_constants.cc
@@ -21,6 +21,9 @@ const SkColor kShelfButtonActivatedHighlightColor =
SkColorSetA(SK_ColorWHITE, 100);
const float kShelfInkDropVisibleOpacity = 0.2f;
const SkColor kShelfIconColor = SK_ColorWHITE;
+const int kOverflowButtonSize = 32;
+const int kOverflowButtonCornerRadius = 2;
+const int kAppListButtonRadius = kOverflowButtonSize / 2;
int GetShelfConstant(ShelfConstant shelf_constant) {
const int kShelfBackgroundAlpha[] = {204, 204, 153};
« no previous file with comments | « ash/common/shelf/shelf_constants.h ('k') | ash/common/system/tray/tray_background_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698