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

Unified Diff: ash/shelf/shelf_layout_manager_unittest.cc

Issue 2626483002: Removes WmShelfAura and WmShelfMus (Closed)
Patch Set: merge 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
« no previous file with comments | « ash/screen_util.cc ('k') | chrome/browser/chromeos/profiles/multiprofiles_session_aborted_dialog.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 22a286533dc312817e8953acf6092626a7c57cc5..2219b33abf4f3d75e217a0e708f2eab9e87efe81 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"
@@ -1010,8 +1009,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());
@@ -1131,8 +1130,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());
« no previous file with comments | « ash/screen_util.cc ('k') | chrome/browser/chromeos/profiles/multiprofiles_session_aborted_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698