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

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

Issue 2761373002: Move yet more from WmShell to Shell (Closed)
Patch Set: merge Created 3 years, 9 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
« no previous file with comments | « ash/common/test/test_session_controller_client.cc ('k') | ash/common/test/test_system_tray_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/test/test_shelf_delegate.cc
diff --git a/ash/common/test/test_shelf_delegate.cc b/ash/common/test/test_shelf_delegate.cc
index 7a6df080c4fcd3fefa424a3fb8326b746672ef76..d27d813f60b8ad91274774352893e3f3df9c5b3b 100644
--- a/ash/common/test/test_shelf_delegate.cc
+++ b/ash/common/test/test_shelf_delegate.cc
@@ -75,7 +75,7 @@ void TestShelfDelegate::AddShelfItem(WmWindow* window, ShelfItemStatus status) {
item.type = TYPE_APP_PANEL;
else
item.type = TYPE_APP;
- ShelfModel* model = WmShell::Get()->shelf_model();
+ ShelfModel* model = Shell::Get()->shelf_model();
ShelfID id = model->next_id();
item.status = status;
model->Add(item);
@@ -90,7 +90,7 @@ void TestShelfDelegate::RemoveShelfItemForWindow(WmWindow* window) {
ShelfID shelf_id = window->aura_window()->GetProperty(kShelfIDKey);
if (shelf_id == 0)
return;
- ShelfModel* model = WmShell::Get()->shelf_model();
+ ShelfModel* model = Shell::Get()->shelf_model();
int index = model->ItemIndexByID(shelf_id);
DCHECK_NE(-1, index);
model->RemoveItemAt(index);
« no previous file with comments | « ash/common/test/test_session_controller_client.cc ('k') | ash/common/test/test_system_tray_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698