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

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

Issue 10388036: Adds the option of aligning the launcher to the left or right. There (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compile Created 8 years, 7 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
« no previous file with comments | « ash/launcher/launcher_context_menu.cc ('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 #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
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_
OLDNEW
« no previous file with comments | « ash/launcher/launcher_context_menu.cc ('k') | ash/launcher/launcher_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698