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

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

Issue 2558963002: Move shelf item tooltip flag from delegate to item. (Closed)
Patch Set: Cleanup Created 4 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 side-by-side diff with in-line comments
Download patch
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 74fce98b5eddf8bd0cd69f6b38231eba620ee426..dd7779d8dd4eda359f5f0e1feb0f458d3ffde0bc 100644
--- a/ash/common/shelf/shelf_item_types.cc
+++ b/ash/common/shelf/shelf_item_types.cc
@@ -7,6 +7,15 @@
namespace ash {
ShelfItem::ShelfItem() {}
+
+ShelfItem::ShelfItem(const ShelfItem& shelf_item)
sky 2016/12/08 00:38:54 Can this = default?
msw 2016/12/08 20:31:36 Done. Good call, thanks! Aside: I wonder why addin
+ : type(shelf_item.type),
+ image(shelf_item.image),
+ id(shelf_item.id),
+ status(shelf_item.status),
+ app_id(shelf_item.app_id),
+ shows_tooltip(shelf_item.shows_tooltip) {}
+
ShelfItem::~ShelfItem() {}
} // namespace ash

Powered by Google App Engine
This is Rietveld 408576698