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

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

Issue 2332393003: mash: Remove shelf util functions; use WmWindow 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_item_types.h ('k') | ash/metrics/user_metrics_recorder_unittest.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.cc
diff --git a/ash/common/shelf/shelf_item_types.cc b/ash/common/shelf/shelf_item_types.cc
index 04f4f21d032503f482c9949df0589d27a5b4e725..ec86132c3793462cd2f0813437131b16f3f5641a 100644
--- a/ash/common/shelf/shelf_item_types.cc
+++ b/ash/common/shelf/shelf_item_types.cc
@@ -4,18 +4,12 @@
#include "ash/common/shelf/shelf_item_types.h"
-#include "ash/common/shelf/shelf_constants.h"
-
namespace ash {
-ShelfItem::ShelfItem()
- : type(TYPE_UNDEFINED), id(kInvalidShelfID), status(STATUS_CLOSED) {}
-
+ShelfItem::ShelfItem() {}
ShelfItem::~ShelfItem() {}
-ShelfItemDetails::ShelfItemDetails()
- : type(TYPE_UNDEFINED), image_resource_id(kInvalidImageResourceID) {}
-
+ShelfItemDetails::ShelfItemDetails() {}
ShelfItemDetails::~ShelfItemDetails() {}
} // namespace ash
« no previous file with comments | « ash/common/shelf/shelf_item_types.h ('k') | ash/metrics/user_metrics_recorder_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698