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

Unified Diff: ash/shelf/shelf_layout_manager_unittest.cc

Issue 2629643002: chromeos: Renames WmWindowAura to WmWindow (Closed)
Patch Set: feedback 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/root_window_controller_unittest.cc ('k') | ash/shelf/shelf_window_targeter.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 2219b33abf4f3d75e217a0e708f2eab9e87efe81..8f76668aed11ef7472a6fcc6e49d527270a26ee2 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_window_aura.h"
#include "ash/common/accelerators/accelerator_controller.h"
#include "ash/common/accelerators/accelerator_table.h"
#include "ash/common/focus_cycler.h"
@@ -20,6 +19,7 @@
#include "ash/common/system/tray/system_tray_item.h"
#include "ash/common/wm/window_state.h"
#include "ash/common/wm_shell.h"
+#include "ash/common/wm_window.h"
#include "ash/public/cpp/shell_window_ids.h"
#include "ash/root_window_controller.h"
#include "ash/shell.h"
@@ -1030,9 +1030,9 @@ TEST_F(ShelfLayoutManagerTest, DualDisplayOpenAppListWithShelfAutoHideState) {
window_2->Show();
EXPECT_EQ(shelf_1->GetWindow()->GetRootWindow(),
- WmWindowAura::Get(window_1)->GetRootWindow());
+ WmWindow::Get(window_1)->GetRootWindow());
EXPECT_EQ(shelf_2->GetWindow()->GetRootWindow(),
- WmWindowAura::Get(window_2)->GetRootWindow());
+ WmWindow::Get(window_2)->GetRootWindow());
// Activate one window in one display.
wm::ActivateWindow(window_1);
@@ -1151,9 +1151,9 @@ TEST_F(ShelfLayoutManagerTest, ShelfWithSystemModalWindowDualDisplay) {
window_2->Show();
EXPECT_EQ(shelf_1->GetWindow()->GetRootWindow(),
- WmWindowAura::Get(window_1)->GetRootWindow());
+ WmWindow::Get(window_1)->GetRootWindow());
EXPECT_EQ(shelf_2->GetWindow()->GetRootWindow(),
- WmWindowAura::Get(window_2)->GetRootWindow());
+ WmWindow::Get(window_2)->GetRootWindow());
EXPECT_TRUE(window_1->IsVisible());
EXPECT_TRUE(window_2->IsVisible());
@@ -1243,7 +1243,7 @@ TEST_F(ShelfLayoutManagerTest, PinnedWindowHidesShelf) {
wm::PinWindow(window1, /* trusted */ false);
EXPECT_EQ(SHELF_HIDDEN, shelf->GetVisibilityState());
- WmWindowAura::Get(window1)->GetWindowState()->Restore();
+ WmWindow::Get(window1)->GetWindowState()->Restore();
EXPECT_EQ(SHELF_VISIBLE, shelf->GetVisibilityState());
}
« no previous file with comments | « ash/root_window_controller_unittest.cc ('k') | ash/shelf/shelf_window_targeter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698