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

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

Issue 2036353002: mash: Move ash/common/wm/shelf to ash/common/shelf (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gyp 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
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_

Powered by Google App Engine
This is Rietveld 408576698