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

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

Issue 107163005: [ash] Add TYPE_DIALOG and its item's LauncherContextMenu (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 years, 11 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 | « no previous file | ash/root_window_controller.cc » ('j') | ash/shelf/shelf_view.cc » ('J')
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 17 matching lines...) Expand all
28 28
29 // The browser shortcut button. 29 // The browser shortcut button.
30 TYPE_BROWSER_SHORTCUT, 30 TYPE_BROWSER_SHORTCUT,
31 31
32 // Represents a platform app. 32 // Represents a platform app.
33 TYPE_PLATFORM_APP, 33 TYPE_PLATFORM_APP,
34 34
35 // Represents a windowed V1 browser app. 35 // Represents a windowed V1 browser app.
36 TYPE_WINDOWED_APP, 36 TYPE_WINDOWED_APP,
37 37
38 // Represents a dialog.
39 TYPE_DIALOG,
40
38 // Default value. 41 // Default value.
39 TYPE_UNDEFINED, 42 TYPE_UNDEFINED,
40 }; 43 };
41 44
42 // Represents the status of pinned or running app launcher items. 45 // Represents the status of pinned or running app launcher items.
43 enum LauncherItemStatus { 46 enum LauncherItemStatus {
44 // A closed LauncherItem, i.e. has no live instance. 47 // A closed LauncherItem, i.e. has no live instance.
45 STATUS_CLOSED, 48 STATUS_CLOSED,
46 // A LauncherItem that has live instance. 49 // A LauncherItem that has live instance.
47 STATUS_RUNNING, 50 STATUS_RUNNING,
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 // Resource id of the image to display on the shelf. 90 // Resource id of the image to display on the shelf.
88 int image_resource_id; 91 int image_resource_id;
89 92
90 // Title of the item. 93 // Title of the item.
91 base::string16 title; 94 base::string16 title;
92 }; 95 };
93 96
94 } // namespace ash 97 } // namespace ash
95 98
96 #endif // ASH_LAUNCHER_LAUNCHER_TYPES_H_ 99 #endif // ASH_LAUNCHER_LAUNCHER_TYPES_H_
OLDNEW
« no previous file with comments | « no previous file | ash/root_window_controller.cc » ('j') | ash/shelf/shelf_view.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698