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

Unified Diff: ash/common/shelf/shelf_item_types.h

Issue 2357143004: mash: Support ShelfWindowWatcher via ShelfItem properties. (Closed)
Patch Set: Address comments. Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/common/shelf/shelf_constants.h ('k') | ash/common/shelf/shelf_item_types.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/shelf/shelf_item_types.h
diff --git a/ash/common/shelf/shelf_item_types.h b/ash/common/shelf/shelf_item_types.h
index 68fd849c5dc9a2ec87492bb6f67d306dc2fd45be..02a8a5a827548504e90426b25bf05ace1b37104e 100644
--- a/ash/common/shelf/shelf_item_types.h
+++ b/ash/common/shelf/shelf_item_types.h
@@ -9,7 +9,6 @@
#include "ash/ash_export.h"
#include "ash/common/shelf/shelf_constants.h"
-#include "base/strings/string16.h"
#include "ui/gfx/image/image_skia.h"
namespace ash {
@@ -76,21 +75,6 @@ struct ASH_EXPORT ShelfItem {
typedef std::vector<ShelfItem> ShelfItems;
-// Windows with ShelfItemDetails appear in the shelf.
-// See ShelfWindowWatcher for details.
-struct ASH_EXPORT ShelfItemDetails {
- ShelfItemDetails();
- ~ShelfItemDetails();
-
- ShelfItemType type = TYPE_UNDEFINED;
-
- // Resource id of the image to display on the shelf.
- int image_resource_id = kInvalidImageResourceID;
-
- // Title of the item.
- base::string16 title;
-};
-
} // namespace ash
#endif // ASH_COMMON_SHELF_SHELF_ITEM_TYPES_H_
« no previous file with comments | « ash/common/shelf/shelf_constants.h ('k') | ash/common/shelf/shelf_item_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698