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

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

Issue 2712293002: Remove non-MD code from ShelfButton (Closed)
Patch Set: Rebased 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
« no previous file with comments | « ash/common/shelf/shelf_button.cc ('k') | 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 e931194d5637b72e54f19a9c8af0637cd51b29aa..f1180aee6d64e86b47db2fb1a5421ecf17d7e1ce 100644
--- a/ash/common/shelf/shelf_constants.h
+++ b/ash/common/shelf/shelf_constants.h
@@ -15,12 +15,6 @@ enum ShelfConstant {
// width when the shelf is vertical).
SHELF_SIZE,
- // Size of the space between buttons on the shelf.
- SHELF_BUTTON_SPACING,
-
- // Size allocated for each app button on the shelf.
- SHELF_BUTTON_SIZE,
-
// Insets allocated for shelf when it is auto hidden.
SHELF_INSETS_FOR_AUTO_HIDE
};
@@ -47,6 +41,12 @@ ASH_EXPORT extern const int kTimeToSwitchBackgroundMs;
// applied based on the desired shelf opacity level.
ASH_EXPORT extern const SkColor kShelfDefaultBaseColor;
+// Size allocated for each app button on the shelf.
+ASH_EXPORT extern const int kShelfButtonSize;
+
+// Size of the space between buttons on the shelf.
+ASH_EXPORT extern const int kShelfButtonSpacing;
+
// Highlight color used for shelf button activated states.
// TODO(bruthig|mohsen): Use of this color is temporary. Draw the active state
// using the material design ripple animation.
« no previous file with comments | « ash/common/shelf/shelf_button.cc ('k') | ash/common/shelf/shelf_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698