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

Side by Side Diff: mash/shelf/shelf_constants.h

Issue 1585363002: Fork a subset of ash/shelf for use in mash. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add ui/resources dep; comment out unused constants. Created 4 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 unified diff | Download patch
« no previous file with comments | « mash/shelf/shelf_button_host.h ('k') | mash/shelf/shelf_constants.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_SHELF_SHELF_CONSTANTS_H_ 5 #ifndef MASH_SHELF_SHELF_CONSTANTS_H_
6 #define ASH_SHELF_SHELF_CONSTANTS_H_ 6 #define MASH_SHELF_SHELF_CONSTANTS_H_
7 7
8 #include "ash/ash_export.h"
9 8
10 namespace ash { 9 namespace mash {
10 namespace shelf {
11 11
12 // Max alpha of the shelf background. 12 // Max alpha of the shelf background.
13 ASH_EXPORT extern const int kShelfBackgroundAlpha; 13 extern const int kShelfBackgroundAlpha;
14 14
15 // Invalid image resource id used for ShelfItemDetails. 15 // Invalid image resource id used for ShelfItemDetails.
16 extern const int kInvalidImageResourceID; 16 extern const int kInvalidImageResourceID;
17 17
18 const int kInvalidShelfID = 0; 18 extern const int kInvalidShelfID;
19 19
20 // Size of the shelf when visible (height when the shelf is horizontal). 20 // Size of the shelf when visible (height when the shelf is horizontal).
21 ASH_EXPORT extern const int kShelfSize; 21 extern const int kShelfSize;
22 22
23 // Size of the space between buttons on the shelf. 23 // Size of the space between buttons on the shelf.
24 ASH_EXPORT extern const int kShelfButtonSpacing; 24 extern const int kShelfButtonSpacing;
25 25
26 // Size allocated for each button on the shelf. 26 // Size allocated for each button on the shelf.
27 ASH_EXPORT extern const int kShelfButtonSize; 27 extern const int kShelfButtonSize;
28 28
29 // Animation duration for switching black shelf and dock background on and off. 29 // Animation duration for switching black shelf and dock background on and off.
30 ASH_EXPORT extern const int kTimeToSwitchBackgroundMs; 30 extern const int kTimeToSwitchBackgroundMs;
31 31
32 // The direction of the focus cycling. 32 // The direction of the focus cycling.
33 enum CycleDirection { 33 enum CycleDirection {
34 CYCLE_FORWARD, 34 CYCLE_FORWARD,
35 CYCLE_BACKWARD 35 CYCLE_BACKWARD
36 }; 36 };
37 37
38 } // namespace ash 38 } // namespace shelf
39 } // namespace mash
39 40
40 #endif // ASH_SHELF_SHELF_CONSTANTS_H_ 41 #endif // MASH_SHELF_SHELF_CONSTANTS_H_
OLDNEW
« no previous file with comments | « mash/shelf/shelf_button_host.h ('k') | mash/shelf/shelf_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698