Upstream version 5.34.98.0
[platform/framework/web/crosswalk.git] / src / ash / launcher / launcher_types.h
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
3 // found in the LICENSE file.
4
5 #ifndef ASH_LAUNCHER_LAUNCHER_TYPES_H_
6 #define ASH_LAUNCHER_LAUNCHER_TYPES_H_
7
8 #include <vector>
9
10 #include "ash/ash_export.h"
11 #include "ash/shelf/shelf_item_types.h"
12 #include "ui/gfx/image/image_skia.h"
13
14 namespace ash {
15
16 typedef int LauncherID;
17
18 struct ASH_EXPORT LauncherItem {
19   LauncherItem();
20   ~LauncherItem();
21
22   ShelfItemType type;
23
24   // Image to display in the launcher.
25   gfx::ImageSkia image;
26
27   // Assigned by the model when the item is added.
28   LauncherID id;
29
30   // Running status.
31   ShelfItemStatus status;
32 };
33
34 typedef std::vector<LauncherItem> LauncherItems;
35
36 }  // namespace ash
37
38 #endif  // ASH_LAUNCHER_LAUNCHER_TYPES_H_