Support HTTP/2 drafts 14 and 15 simultaneously.
[chromium-blink-merge.git] / ash / shelf / shelf_constants.h
blob0ff82802bb2acaf159bedb85b676d169ace96930
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef ASH_SHELF_SHELF_CONSTANTS_H_
6 #define ASH_SHELF_SHELF_CONSTANTS_H_
8 #include "ash/ash_export.h"
10 namespace ash {
12 // Max alpha of the shelf background.
13 ASH_EXPORT extern const int kShelfBackgroundAlpha;
15 // Invalid image resource id used for ShelfItemDetails.
16 extern const int kInvalidImageResourceID;
18 const int kInvalidShelfID = 0;
20 // Size of the shelf when visible (height when the shelf is horizontal).
21 ASH_EXPORT extern const int kShelfSize;
23 // Size of the space between buttons on the shelf.
24 ASH_EXPORT extern const int kShelfButtonSpacing;
26 // Size allocated for each button on the shelf.
27 ASH_EXPORT extern const int kShelfButtonSize;
29 // Animation duration for switching black shelf and dock background on and off.
30 ASH_EXPORT extern const int kTimeToSwitchBackgroundMs;
32 // The direction of the focus cycling.
33 enum CycleDirection {
34 CYCLE_FORWARD,
35 CYCLE_BACKWARD
38 } // namespace ash
40 #endif // ASH_SHELF_SHELF_CONSTANTS_H_