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

Unified Diff: ash/wm/window_cycle_controller_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/wm/window_cycle_controller_unittest.cc
diff --git a/ash/wm/window_cycle_controller_unittest.cc b/ash/wm/window_cycle_controller_unittest.cc
index 1e6224045fe39420ed211e572dbced3fabee0608..d195954014c8b88e09a210ea8228fff87a1769a7 100644
--- a/ash/wm/window_cycle_controller_unittest.cc
+++ b/ash/wm/window_cycle_controller_unittest.cc
@@ -19,7 +19,6 @@
#include "ash/test/shelf_view_test_api.h"
#include "ash/test/test_app_list_view_presenter_impl.h"
#include "ash/test/test_session_controller_client.h"
-#include "ash/test/test_shelf_delegate.h"
#include "ash/test/test_shell_delegate.h"
#include "ash/wm/window_cycle_list.h"
#include "ash/wm/window_state.h"
@@ -102,7 +101,6 @@ class WindowCycleControllerTest : public test::AshTestBase {
gfx::Rect rect(100, 100);
aura::Window* window = CreateTestWindowInShellWithDelegateAndType(
NULL, ui::wm::WINDOW_TYPE_PANEL, 0, rect);
- test::TestShelfDelegate::instance()->AddShelfItem(WmWindow::Get(window));
shelf_view_test_->RunMessageLoopUntilAnimationsDone();
return window;
}

Powered by Google App Engine
This is Rietveld 408576698