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

Unified Diff: ash/common/test/test_shelf_item_delegate.cc

Issue 2575613002: Remove ShelfItemDelegate::IsDraggable; check for app list button. (Closed)
Patch Set: 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/test/test_shelf_item_delegate.cc
diff --git a/ash/common/test/test_shelf_item_delegate.cc b/ash/common/test/test_shelf_item_delegate.cc
index 985a705f63e9b84af11f76fda662b9aa0282f8e2..e7d9cca213e1572a752efc1cdc07104bc5e8730a 100644
--- a/ash/common/test/test_shelf_item_delegate.cc
+++ b/ash/common/test/test_shelf_item_delegate.cc
@@ -10,7 +10,7 @@ namespace ash {
namespace test {
TestShelfItemDelegate::TestShelfItemDelegate(WmWindow* window)
- : window_(window), is_draggable_(true) {}
+ : window_(window) {}
TestShelfItemDelegate::~TestShelfItemDelegate() {}
@@ -34,10 +34,6 @@ ShelfMenuModel* TestShelfItemDelegate::CreateApplicationMenu(int event_flags) {
return nullptr;
}
-bool TestShelfItemDelegate::IsDraggable() {
- return is_draggable_;
-}
-
bool TestShelfItemDelegate::CanPin() const {
return true;
}

Powered by Google App Engine
This is Rietveld 408576698