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

Unified Diff: ash/shelf/shelf_unittest.cc

Issue 2825533003: mash: Prerequisites for removing ShelfDelegate. (Closed)
Patch Set: Refine TestShelfDelegate::IsAppPinned; cleanup. Created 3 years, 8 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/shelf/shelf_unittest.cc
diff --git a/ash/shelf/shelf_unittest.cc b/ash/shelf/shelf_unittest.cc
index 3fa1d3c9a1a202f075e978fb20ee76a2c1b8484d..68f11f9434b400dbe11a1c1b8d2f5ef28f376f73 100644
--- a/ash/shelf/shelf_unittest.cc
+++ b/ash/shelf/shelf_unittest.cc
@@ -11,7 +11,6 @@
#include "ash/shelf/wm_shelf.h"
#include "ash/test/ash_test_base.h"
#include "ash/test/shelf_view_test_api.h"
-#include "ash/test/test_shelf_item_delegate.h"
namespace ash {
@@ -72,10 +71,6 @@ TEST_F(ShelfTest, CheckHoverAfterMenu) {
item.status = STATUS_RUNNING;
int index = shelf_model()->Add(item);
- shelf_model()->SetShelfItemDelegate(
- shelf_model()->items()[index].id,
- base::MakeUnique<test::TestShelfItemDelegate>(nullptr));
-
ASSERT_EQ(++button_count, test_api()->GetButtonCount());
ShelfButton* button = test_api()->GetButton(index);
button->AddState(ShelfButton::STATE_HOVERED);

Powered by Google App Engine
This is Rietveld 408576698