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 aura { | 13 namespace aura { |
14 class Window; | 14 class Window; |
15 } | 15 } |
16 | 16 |
17 namespace ash { | 17 namespace ash { |
18 | 18 |
19 typedef int LauncherID; | 19 typedef int LauncherID; |
20 | 20 |
21 // Height of the Launcher. Hard coded to avoid resizing as items are | 21 // Height of the Launcher. Hard coded to avoid resizing as items are |
22 // added/removed. | 22 // added/removed. |
23 ASH_EXPORT extern const int kLauncherPreferredSize; | 23 ASH_EXPORT extern const int kLauncherPreferredSize; |
24 | 24 |
| 25 // Max alpha of the launcher background. |
| 26 ASH_EXPORT extern const int kLauncherBackgroundAlpha; |
| 27 |
25 // Type the LauncherItem represents. | 28 // Type the LauncherItem represents. |
26 enum LauncherItemType { | 29 enum LauncherItemType { |
27 // Represents a tabbed browser. | 30 // Represents a tabbed browser. |
28 TYPE_TABBED, | 31 TYPE_TABBED, |
29 | 32 |
30 // Represents a running app panel. | 33 // Represents a running app panel. |
31 TYPE_APP_PANEL, | 34 TYPE_APP_PANEL, |
32 | 35 |
33 // Represents a pinned shortcut to an app. | 36 // Represents a pinned shortcut to an app. |
34 TYPE_APP_SHORTCUT, | 37 TYPE_APP_SHORTCUT, |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 | 88 |
86 // The direction of the focus cycling. | 89 // The direction of the focus cycling. |
87 enum CycleDirection { | 90 enum CycleDirection { |
88 CYCLE_FORWARD, | 91 CYCLE_FORWARD, |
89 CYCLE_BACKWARD | 92 CYCLE_BACKWARD |
90 }; | 93 }; |
91 | 94 |
92 } // namespace ash | 95 } // namespace ash |
93 | 96 |
94 #endif // ASH_LAUNCHER_LAUNCHER_TYPES_H_ | 97 #endif // ASH_LAUNCHER_LAUNCHER_TYPES_H_ |
OLD | NEW |