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

Unified Diff: ash/shelf/shelf_constants.h

Issue 140323010: Ash:Shelf - Cleanup of Alternate Shelf (part 1) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ButtonSize and ButtonSpacing moved to shelf_constants Created 6 years, 11 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/shelf/shelf_constants.h
diff --git a/ash/shelf/shelf_constants.h b/ash/shelf/shelf_constants.h
index 9ae0b73e9b226ae7103eea839369913d9be3af83..32f2e4c228c6be504dd3c5905029d3df38693653 100644
--- a/ash/shelf/shelf_constants.h
+++ b/ash/shelf/shelf_constants.h
@@ -9,9 +9,6 @@
namespace ash {
-// Height of the shelf. Hard coded to avoid resizing as items are added/removed.
-ASH_EXPORT extern const int kShelfPreferredSize;
-
// Max alpha of the shelf background.
ASH_EXPORT extern const int kShelfBackgroundAlpha;
@@ -20,6 +17,15 @@ extern const int kInvalidImageResourceID;
extern const int kInvalidShelfID;
+// Size of the shelf when visible (height when the shelf is horizontal).
+extern const int kShelfSize;
+
+// Size between the buttons.
+extern const int kShelfButtonSpacing;
+
+// Size allocated to for each button.
+extern const int kShelfButtonSize;
+
// Animation duration for switching black shelf and dock background on and off.
ASH_EXPORT extern const int kTimeToSwitchBackgroundMs;

Powered by Google App Engine
This is Rietveld 408576698