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

Side by Side Diff: ash/launcher/launcher_types.h

Issue 9033007: Rename the aura_shell namespace to ash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 12 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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 aura_shell { 18 namespace ash {
19 19
20 // Type the LauncherItem represents. 20 // Type the LauncherItem represents.
21 enum ASH_EXPORT LauncherItemType { 21 enum ASH_EXPORT LauncherItemType {
22 TYPE_TABBED, 22 TYPE_TABBED,
23 TYPE_APP 23 TYPE_APP
24 }; 24 };
25 25
26 // Represents an image in a launcher item of type TYPE_APP. 26 // Represents an image in a launcher item of type TYPE_APP.
27 struct ASH_EXPORT LauncherTabbedImage { 27 struct ASH_EXPORT LauncherTabbedImage {
28 LauncherTabbedImage() : user_data(NULL) {} 28 LauncherTabbedImage() : user_data(NULL) {}
(...skipping 26 matching lines...) Expand all
55 55
56 // Image to display in the launcher if the item is of type TYPE_APP. 56 // Image to display in the launcher if the item is of type TYPE_APP.
57 SkBitmap app_image; 57 SkBitmap app_image;
58 58
59 // Image to display in the launcher if the item is of type TYPE_TABBED. 59 // Image to display in the launcher if the item is of type TYPE_TABBED.
60 LauncherTabbedImages tab_images; 60 LauncherTabbedImages tab_images;
61 }; 61 };
62 62
63 typedef std::vector<LauncherItem> LauncherItems; 63 typedef std::vector<LauncherItem> LauncherItems;
64 64
65 } // namespace aura_shell 65 } // namespace ash
66 66
67 #endif // ASH_LAUNCHER_LAUNCHER_TYPES_H_ 67 #endif // ASH_LAUNCHER_LAUNCHER_TYPES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698