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

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

Issue 2608013002: mash: Replace ShelfItemDelegate::CanPin with ShelfItem::pinned_by_policy. (Closed)
Patch Set: Created 3 years, 12 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
Index: ash/common/shelf/shelf_controller.cc
diff --git a/ash/common/shelf/shelf_controller.cc b/ash/common/shelf/shelf_controller.cc
index a027b98c3d388753d1128b31b125012c7ae8f3aa..78b0874c10fcac3201e2325613338325d6b9b31b 100644
--- a/ash/common/shelf/shelf_controller.cc
+++ b/ash/common/shelf/shelf_controller.cc
@@ -105,11 +105,6 @@ class ShelfItemDelegateMus : public ShelfItemDelegate {
: window_id_to_title_.begin()->second;
}
- bool CanPin() const override {
- NOTIMPLEMENTED();
- return true;
- }
-
ShelfMenuModel* CreateApplicationMenu(int event_flags) override {
return new ShelfMenuModelMus(this);
}

Powered by Google App Engine
This is Rietveld 408576698