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

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

Issue 115113006: Rename Launcher to Shelf. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more fixes 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/launcher/launcher.cc ('k') | ash/launcher/launcher_unittest.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"
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 84
85 typedef std::vector<LauncherItem> LauncherItems; 85 typedef std::vector<LauncherItem> LauncherItems;
86 86
87 // The direction of the focus cycling. 87 // The direction of the focus cycling.
88 enum CycleDirection { 88 enum CycleDirection {
89 CYCLE_FORWARD, 89 CYCLE_FORWARD,
90 CYCLE_BACKWARD 90 CYCLE_BACKWARD
91 }; 91 };
92 92
93 // LauncherItemDetails may be set on Window (by way of 93 // LauncherItemDetails may be set on Window (by way of
94 // SetLauncherItemDetailsForWindow) to make the window appear in the shelf. See 94 // SetShelfItemDetailsForWindow) to make the window appear in the shelf. See
95 // ShelfWindowWatcher for details. 95 // ShelfWindowWatcher for details.
96 struct ASH_EXPORT LauncherItemDetails { 96 struct ASH_EXPORT LauncherItemDetails {
97 LauncherItemDetails(); 97 LauncherItemDetails();
98 ~LauncherItemDetails(); 98 ~LauncherItemDetails();
99 99
100 LauncherItemType type; 100 LauncherItemType type;
101 101
102 // Resource id of the image to display on the shelf. 102 // Resource id of the image to display on the shelf.
103 int image_resource_id; 103 int image_resource_id;
104 104
105 // Title of the item. 105 // Title of the item.
106 base::string16 title; 106 base::string16 title;
107 }; 107 };
108 108
109 } // namespace ash 109 } // namespace ash
110 110
111 #endif // ASH_LAUNCHER_LAUNCHER_TYPES_H_ 111 #endif // ASH_LAUNCHER_LAUNCHER_TYPES_H_
OLDNEW
« no previous file with comments | « ash/launcher/launcher.cc ('k') | ash/launcher/launcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698