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

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

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 | « no previous file | ash/common/shelf/shelf_constants.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/shelf/shelf_constants.h
diff --git a/ash/common/shelf/shelf_constants.h b/ash/common/shelf/shelf_constants.h
index 130291ae333aff58b8d04be83e1430a1d4d68838..e8ec28ac65e389f57be17b0da97c4630c079a4cb 100644
--- a/ash/common/shelf/shelf_constants.h
+++ b/ash/common/shelf/shelf_constants.h
@@ -21,7 +21,7 @@ enum ShelfConstant {
// Size of the space between buttons on the shelf.
SHELF_BUTTON_SPACING,
- // Size allocated for each button on the shelf.
+ // Size allocated for each app button on the shelf.
SHELF_BUTTON_SIZE,
// Insets allocated for shelf when it is auto hidden.
@@ -67,6 +67,17 @@ extern const float kShelfInkDropVisibleOpacity;
// notifications, etc).
ASH_EXPORT extern const SkColor kShelfIconColor;
+// The width and height of the material design overflow button.
+// TODO(tdanderson): Refactor constants which are common between the shelf
+// and the tray. See crbug.com/623987.
+extern const int kOverflowButtonSize;
+
+// The radius of the rounded corners of the overflow button.
+extern const int kOverflowButtonCornerRadius;
+
+// The radius of the circular material design app list button.
+extern const int kAppListButtonRadius;
+
// The direction of the focus cycling.
enum CycleDirection { CYCLE_FORWARD, CYCLE_BACKWARD };
« no previous file with comments | « no previous file | ash/common/shelf/shelf_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698