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

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

Issue 123073002: Move CycleDirection enum into shelf_constants. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
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 ASH_SHELF_SHELF_CONSTANTS_H_
6 #define ASH_SHELF_SHELF_CONSTANTS_H_ 6 #define ASH_SHELF_SHELF_CONSTANTS_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 9
10 namespace ash { 10 namespace ash {
11 11
12 // Height of the shelf. Hard coded to avoid resizing as items are added/removed. 12 // Height of the shelf. Hard coded to avoid resizing as items are added/removed.
13 ASH_EXPORT extern const int kShelfPreferredSize; 13 ASH_EXPORT extern const int kShelfPreferredSize;
14 14
15 // Max alpha of the shelf background. 15 // Max alpha of the shelf background.
16 ASH_EXPORT extern const int kShelfBackgroundAlpha; 16 ASH_EXPORT extern const int kShelfBackgroundAlpha;
17 17
18 // Invalid image resource id used for LauncherItemDetails. 18 // Invalid image resource id used for LauncherItemDetails.
19 extern const int kInvalidImageResourceID; 19 extern const int kInvalidImageResourceID;
20 20
21 extern const int kInvalidShelfID; 21 extern const int kInvalidShelfID;
22 22
23 // Animation duration for switching black shelf and dock background on and off. 23 // Animation duration for switching black shelf and dock background on and off.
24 ASH_EXPORT extern const int kTimeToSwitchBackgroundMs; 24 ASH_EXPORT extern const int kTimeToSwitchBackgroundMs;
25 25
26 // The direction of the focus cycling.
27 enum CycleDirection {
28 CYCLE_FORWARD,
29 CYCLE_BACKWARD
30 };
31
26 } // namespace ash 32 } // namespace ash
27 33
28 #endif // ASH_SHELF_SHELF_CONSTANTS_H_ 34 #endif // ASH_SHELF_SHELF_CONSTANTS_H_
OLDNEW
« ash/shelf/shelf.h ('K') | « ash/shelf/shelf.h ('k') | ash/shelf/shelf_navigator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698