OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_LAUNCHER_LAUNCHER_TYPES_H_ | 5 #ifndef ASH_LAUNCHER_LAUNCHER_TYPES_H_ |
6 #define ASH_LAUNCHER_LAUNCHER_TYPES_H_ | 6 #define ASH_LAUNCHER_LAUNCHER_TYPES_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
11 #include "ui/gfx/image/image_skia.h" | 11 #include "ui/gfx/image/image_skia.h" |
12 | 12 |
13 namespace ash { | 13 namespace ash { |
14 | 14 |
15 typedef int LauncherID; | 15 typedef int LauncherID; |
16 | 16 |
17 // Height of the Launcher. Hard coded to avoid resizing as items are | 17 // Height of the Launcher. Hard coded to avoid resizing as items are |
18 // added/removed. | 18 // added/removed. |
19 ASH_EXPORT extern const int kLauncherPreferredSize; | 19 ASH_EXPORT extern const int kLauncherPreferredSize; |
20 | 20 |
21 // Max alpha of the launcher background. | 21 // Max alpha of the launcher background. |
22 ASH_EXPORT extern const int kLauncherBackgroundAlpha; | 22 ASH_EXPORT extern const int kLauncherBackgroundAlpha; |
23 | 23 |
| 24 // Animation duration for switching black shelf and dock background on and off. |
| 25 ASH_EXPORT extern const int kTimeToSwitchBackgroundMs; |
| 26 |
24 // Type the LauncherItem represents. | 27 // Type the LauncherItem represents. |
25 enum LauncherItemType { | 28 enum LauncherItemType { |
26 // Represents a running app panel. | 29 // Represents a running app panel. |
27 TYPE_APP_PANEL, | 30 TYPE_APP_PANEL, |
28 | 31 |
29 // Represents a pinned shortcut to an app. | 32 // Represents a pinned shortcut to an app. |
30 TYPE_APP_SHORTCUT, | 33 TYPE_APP_SHORTCUT, |
31 | 34 |
32 // Toggles visiblity of the app list. | 35 // Toggles visiblity of the app list. |
33 TYPE_APP_LIST, | 36 TYPE_APP_LIST, |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 | 80 |
78 // The direction of the focus cycling. | 81 // The direction of the focus cycling. |
79 enum CycleDirection { | 82 enum CycleDirection { |
80 CYCLE_FORWARD, | 83 CYCLE_FORWARD, |
81 CYCLE_BACKWARD | 84 CYCLE_BACKWARD |
82 }; | 85 }; |
83 | 86 |
84 } // namespace ash | 87 } // namespace ash |
85 | 88 |
86 #endif // ASH_LAUNCHER_LAUNCHER_TYPES_H_ | 89 #endif // ASH_LAUNCHER_LAUNCHER_TYPES_H_ |
OLD | NEW |