Index: ash/wm/workspace/workspace_window_resizer_unittest.cc |
diff --git a/ash/wm/workspace/workspace_window_resizer_unittest.cc b/ash/wm/workspace/workspace_window_resizer_unittest.cc |
index f3efaa5258dfddf73ec258f6cce7f99769428237..1d5f0d21cd60e15d29d3a494a747b4f53a0e1fb1 100644 |
--- a/ash/wm/workspace/workspace_window_resizer_unittest.cc |
+++ b/ash/wm/workspace/workspace_window_resizer_unittest.cc |
@@ -107,7 +107,7 @@ class WorkspaceWindowResizerTest : public test::AshTestBase { |
AshTestBase::SetUp(); |
UpdateDisplay(base::StringPrintf("800x%d", kRootHeight)); |
- aura::RootWindow* root = Shell::GetPrimaryRootWindow(); |
+ aura::Window* root = Shell::GetPrimaryRootWindow(); |
gfx::Rect root_bounds(root->bounds()); |
#if defined(OS_WIN) |
// RootWindow and Display can't resize on Windows Ash. |
@@ -462,7 +462,7 @@ TEST_F(WorkspaceWindowResizerTest, AttachedResize_BOTTOM_2) { |
// windows. |
TEST_F(WorkspaceWindowResizerTest, MAYBE_AttachedResize_BOTTOM_3) { |
UpdateDisplay("600x800"); |
- aura::RootWindow* root = Shell::GetPrimaryRootWindow(); |
+ aura::Window* root = Shell::GetPrimaryRootWindow(); |
Shell::GetInstance()->SetDisplayWorkAreaInsets(root, gfx::Insets()); |
window_->SetBounds(gfx::Rect( 300, 100, 300, 200)); |
@@ -1478,7 +1478,7 @@ TEST_F(WorkspaceWindowResizerTest, PhantomSnapMaxSize) { |
TEST_F(WorkspaceWindowResizerTest, DontRewardRightmostWindowForOverflows) { |
UpdateDisplay("600x800"); |
- aura::RootWindow* root = Shell::GetPrimaryRootWindow(); |
+ aura::Window* root = Shell::GetPrimaryRootWindow(); |
Shell::GetInstance()->SetDisplayWorkAreaInsets(root, gfx::Insets()); |
// Four 100x100 windows flush against eachother, starting at 100,100. |
@@ -1509,7 +1509,7 @@ TEST_F(WorkspaceWindowResizerTest, DontRewardRightmostWindowForOverflows) { |
TEST_F(WorkspaceWindowResizerTest, DontExceedMaxWidth) { |
UpdateDisplay("600x800"); |
- aura::RootWindow* root = Shell::GetPrimaryRootWindow(); |
+ aura::Window* root = Shell::GetPrimaryRootWindow(); |
Shell::GetInstance()->SetDisplayWorkAreaInsets(root, gfx::Insets()); |
// Four 100x100 windows flush against eachother, starting at 100,100. |
@@ -1538,7 +1538,7 @@ TEST_F(WorkspaceWindowResizerTest, DontExceedMaxWidth) { |
TEST_F(WorkspaceWindowResizerTest, DontExceedMaxHeight) { |
UpdateDisplay("600x800"); |
- aura::RootWindow* root = Shell::GetPrimaryRootWindow(); |
+ aura::Window* root = Shell::GetPrimaryRootWindow(); |
Shell::GetInstance()->SetDisplayWorkAreaInsets(root, gfx::Insets()); |
// Four 100x100 windows flush against eachother, starting at 100,100. |
@@ -1574,7 +1574,7 @@ TEST_F(WorkspaceWindowResizerTest, DontExceedMaxHeight) { |
TEST_F(WorkspaceWindowResizerTest, MAYBE_DontExceedMinHeight) { |
UpdateDisplay("600x500"); |
- aura::RootWindow* root = Shell::GetPrimaryRootWindow(); |
+ aura::Window* root = Shell::GetPrimaryRootWindow(); |
Shell::GetInstance()->SetDisplayWorkAreaInsets(root, gfx::Insets()); |
// Four 100x100 windows flush against eachother, starting at 100,100. |
@@ -1603,7 +1603,7 @@ TEST_F(WorkspaceWindowResizerTest, MAYBE_DontExceedMinHeight) { |
TEST_F(WorkspaceWindowResizerTest, DontExpandRightmostPastMaxWidth) { |
UpdateDisplay("600x800"); |
- aura::RootWindow* root = Shell::GetPrimaryRootWindow(); |
+ aura::Window* root = Shell::GetPrimaryRootWindow(); |
Shell::GetInstance()->SetDisplayWorkAreaInsets(root, gfx::Insets()); |
// Three 100x100 windows flush against eachother, starting at 100,100. |
@@ -1629,7 +1629,7 @@ TEST_F(WorkspaceWindowResizerTest, DontExpandRightmostPastMaxWidth) { |
TEST_F(WorkspaceWindowResizerTest, MoveAttachedWhenGrownToMaxSize) { |
UpdateDisplay("600x800"); |
- aura::RootWindow* root = Shell::GetPrimaryRootWindow(); |
+ aura::Window* root = Shell::GetPrimaryRootWindow(); |
Shell::GetInstance()->SetDisplayWorkAreaInsets(root, gfx::Insets()); |
// Three 100x100 windows flush against eachother, starting at 100,100. |
@@ -1663,7 +1663,7 @@ TEST_F(WorkspaceWindowResizerTest, MoveAttachedWhenGrownToMaxSize) { |
TEST_F(WorkspaceWindowResizerTest, MAYBE_MainWindowHonoursMaxWidth) { |
UpdateDisplay("400x800"); |
- aura::RootWindow* root = Shell::GetPrimaryRootWindow(); |
+ aura::Window* root = Shell::GetPrimaryRootWindow(); |
Shell::GetInstance()->SetDisplayWorkAreaInsets(root, gfx::Insets()); |
// Three 100x100 windows flush against eachother, starting at 100,100. |
@@ -1690,7 +1690,7 @@ TEST_F(WorkspaceWindowResizerTest, MAYBE_MainWindowHonoursMaxWidth) { |
TEST_F(WorkspaceWindowResizerTest, MainWindowHonoursMinWidth) { |
UpdateDisplay("400x800"); |
- aura::RootWindow* root = Shell::GetPrimaryRootWindow(); |
+ aura::Window* root = Shell::GetPrimaryRootWindow(); |
Shell::GetInstance()->SetDisplayWorkAreaInsets(root, gfx::Insets()); |
// Three 100x100 windows flush against eachother, starting at 100,100. |