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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "third_party/skia/include/core/SkBitmap.h" | 11 #include "third_party/skia/include/core/SkBitmap.h" |
12 #include "ash/ash_export.h" | 12 #include "ash/ash_export.h" |
13 | 13 |
14 namespace aura { | 14 namespace aura { |
15 class Window; | 15 class Window; |
16 } | 16 } |
17 | 17 |
18 namespace ash { | 18 namespace ash { |
19 | 19 |
20 typedef int LauncherID; | 20 typedef int LauncherID; |
21 | 21 |
22 // Height of the Launcher. Hard coded to avoid resizing as items are | 22 // Height of the Launcher. Hard coded to avoid resizing as items are |
23 // added/removed. | 23 // added/removed. |
24 ASH_EXPORT extern const int kLauncherPreferredHeight; | 24 ASH_EXPORT extern const int kLauncherPreferredSize; |
25 | 25 |
26 // Type the LauncherItem represents. | 26 // Type the LauncherItem represents. |
27 enum ASH_EXPORT LauncherItemType { | 27 enum ASH_EXPORT LauncherItemType { |
28 // Represents a tabbed browser. | 28 // Represents a tabbed browser. |
29 TYPE_TABBED, | 29 TYPE_TABBED, |
30 | 30 |
31 // Represents a running app panel. | 31 // Represents a running app panel. |
32 TYPE_APP_PANEL, | 32 TYPE_APP_PANEL, |
33 | 33 |
34 // Represents a pinned shortcut to an app. | 34 // Represents a pinned shortcut to an app. |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 | 67 |
68 // Running status. | 68 // Running status. |
69 LauncherItemStatus status; | 69 LauncherItemStatus status; |
70 }; | 70 }; |
71 | 71 |
72 typedef std::vector<LauncherItem> LauncherItems; | 72 typedef std::vector<LauncherItem> LauncherItems; |
73 | 73 |
74 } // namespace ash | 74 } // namespace ash |
75 | 75 |
76 #endif // ASH_LAUNCHER_LAUNCHER_TYPES_H_ | 76 #endif // ASH_LAUNCHER_LAUNCHER_TYPES_H_ |
OLD | NEW |