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

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

Issue 97983003: Start the move of launcher_types.h to shelf. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: the rename Created 7 years 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
« no previous file with comments | « ash/ash_export.h ('k') | ash/launcher/launcher_types.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "base/strings/string16.h" 11 #include "base/strings/string16.h"
12 #include "ui/gfx/image/image_skia.h" 12 #include "ui/gfx/image/image_skia.h"
13 13
14 namespace ash { 14 namespace ash {
15 15
16 typedef int LauncherID; 16 typedef int LauncherID;
17 17
18 // Height of the Launcher. Hard coded to avoid resizing as items are
19 // added/removed.
20 ASH_EXPORT extern const int kLauncherPreferredSize;
21
22 // Max alpha of the launcher background.
23 ASH_EXPORT extern const int kLauncherBackgroundAlpha;
24
25 // Invalid image resource id used for LauncherItemDetails.
26 extern const int kInvalidImageResourceID;
27
28 extern const int kInvalidLauncherID;
29
30 // Animation duration for switching black shelf and dock background on and off.
31 ASH_EXPORT extern const int kTimeToSwitchBackgroundMs;
32
33 // Type the LauncherItem represents. 18 // Type the LauncherItem represents.
34 enum LauncherItemType { 19 enum LauncherItemType {
35 // Represents a running app panel. 20 // Represents a running app panel.
36 TYPE_APP_PANEL, 21 TYPE_APP_PANEL,
37 22
38 // Represents a pinned shortcut to an app. 23 // Represents a pinned shortcut to an app.
39 TYPE_APP_SHORTCUT, 24 TYPE_APP_SHORTCUT,
40 25
41 // Toggles visiblity of the app list. 26 // Toggles visiblity of the app list.
42 TYPE_APP_LIST, 27 TYPE_APP_LIST,
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 // Resource id of the image to display on the shelf. 87 // Resource id of the image to display on the shelf.
103 int image_resource_id; 88 int image_resource_id;
104 89
105 // Title of the item. 90 // Title of the item.
106 base::string16 title; 91 base::string16 title;
107 }; 92 };
108 93
109 } // namespace ash 94 } // namespace ash
110 95
111 #endif // ASH_LAUNCHER_LAUNCHER_TYPES_H_ 96 #endif // ASH_LAUNCHER_LAUNCHER_TYPES_H_
OLDNEW
« no previous file with comments | « ash/ash_export.h ('k') | ash/launcher/launcher_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698