Index: ash/common/shelf/shelf_constants.h |
diff --git a/ash/shelf/shelf_constants.h b/ash/common/shelf/shelf_constants.h |
similarity index 63% |
rename from ash/shelf/shelf_constants.h |
rename to ash/common/shelf/shelf_constants.h |
index d7f0825b7394263afdec8f6f8952ef8c6e7f7a03..a4fd87e4d43a0d05f58f7469a4c6697a4cc3e5d2 100644 |
--- a/ash/shelf/shelf_constants.h |
+++ b/ash/common/shelf/shelf_constants.h |
@@ -2,13 +2,16 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef ASH_SHELF_SHELF_CONSTANTS_H_ |
-#define ASH_SHELF_SHELF_CONSTANTS_H_ |
+#ifndef ASH_COMMON_SHELF_SHELF_CONSTANTS_H_ |
+#define ASH_COMMON_SHELF_SHELF_CONSTANTS_H_ |
#include "ash/ash_export.h" |
namespace ash { |
+// Max alpha of the shelf background. |
+ASH_EXPORT extern const int kShelfBackgroundAlpha; |
+ |
// Invalid image resource id used for ShelfItemDetails. |
extern const int kInvalidImageResourceID; |
@@ -23,12 +26,12 @@ ASH_EXPORT extern const int kShelfButtonSpacing; |
// Size allocated for each button on the shelf. |
ASH_EXPORT extern const int kShelfButtonSize; |
+// Animation duration for switching black shelf and dock background on and off. |
+ASH_EXPORT extern const int kTimeToSwitchBackgroundMs; |
+ |
// The direction of the focus cycling. |
-enum CycleDirection { |
- CYCLE_FORWARD, |
- CYCLE_BACKWARD |
-}; |
+enum CycleDirection { CYCLE_FORWARD, CYCLE_BACKWARD }; |
} // namespace ash |
-#endif // ASH_SHELF_SHELF_CONSTANTS_H_ |
+#endif // ASH_COMMON_SHELF_SHELF_CONSTANTS_H_ |