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

Unified Diff: ash/shelf/shelf_layout_manager_unittest.cc

Issue 2626483002: Removes WmShelfAura and WmShelfMus (Closed)
Patch Set: Fix chrome Created 3 years, 11 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_layout_manager_unittest.cc
diff --git a/ash/shelf/shelf_layout_manager_unittest.cc b/ash/shelf/shelf_layout_manager_unittest.cc
index e7a32059ae8ecdf72af1161c623b137a34f630d0..d07d9748d88763f6a47e999dc538b864f987783b 100644
--- a/ash/shelf/shelf_layout_manager_unittest.cc
+++ b/ash/shelf/shelf_layout_manager_unittest.cc
@@ -4,7 +4,6 @@
#include "ash/common/shelf/shelf_layout_manager.h"
-#include "ash/aura/wm_shelf_aura.h"
#include "ash/aura/wm_window_aura.h"
#include "ash/common/accelerators/accelerator_controller.h"
#include "ash/common/accelerators/accelerator_table.h"
@@ -1020,8 +1019,8 @@ TEST_F(ShelfLayoutManagerTest, DualDisplayOpenAppListWithShelfAutoHideState) {
EXPECT_EQ(root_windows.size(), 2U);
// Get the shelves in both displays and set them to be 'AutoHide'.
- WmShelf* shelf_1 = GetRootWindowController(root_windows[0])->wm_shelf_aura();
- WmShelf* shelf_2 = GetRootWindowController(root_windows[1])->wm_shelf_aura();
+ WmShelf* shelf_1 = GetRootWindowController(root_windows[0])->wm_shelf();
+ WmShelf* shelf_2 = GetRootWindowController(root_windows[1])->wm_shelf();
EXPECT_NE(shelf_1, shelf_2);
EXPECT_NE(shelf_1->GetWindow()->GetRootWindow(),
shelf_2->GetWindow()->GetRootWindow());
@@ -1141,8 +1140,8 @@ TEST_F(ShelfLayoutManagerTest, ShelfWithSystemModalWindowDualDisplay) {
EXPECT_EQ(2U, root_windows.size());
// Get the shelves in both displays and set them to be 'AutoHide'.
- WmShelf* shelf_1 = GetRootWindowController(root_windows[0])->wm_shelf_aura();
- WmShelf* shelf_2 = GetRootWindowController(root_windows[1])->wm_shelf_aura();
+ WmShelf* shelf_1 = GetRootWindowController(root_windows[0])->wm_shelf();
+ WmShelf* shelf_2 = GetRootWindowController(root_windows[1])->wm_shelf();
EXPECT_NE(shelf_1, shelf_2);
EXPECT_NE(shelf_1->GetWindow()->GetRootWindow(),
shelf_2->GetWindow()->GetRootWindow());

Powered by Google App Engine
This is Rietveld 408576698