Index: ash/frame/caption_buttons/frame_caption_button_container_view_unittest.cc |
diff --git a/ash/frame/caption_buttons/frame_caption_button_container_view_unittest.cc b/ash/frame/caption_buttons/frame_caption_button_container_view_unittest.cc |
index 4b4e5e2877f8c25c66a4c8636a714d7e8743f900..e2f25281a4ac6dc0bd24db8a442dda794882dd15 100644 |
--- a/ash/frame/caption_buttons/frame_caption_button_container_view_unittest.cc |
+++ b/ash/frame/caption_buttons/frame_caption_button_container_view_unittest.cc |
@@ -10,7 +10,7 @@ |
#include "ash/resources/vector_icons/vector_icons.h" |
#include "ash/shell.h" |
#include "ash/test/ash_test_base.h" |
-#include "ash/wm/maximize_mode/maximize_mode_controller.h" |
+#include "ash/wm/tablet_mode/tablet_mode_controller.h" |
#include "ui/gfx/geometry/rect.h" |
#include "ui/views/widget/widget.h" |
#include "ui/views/widget/widget_delegate.h" |
@@ -165,8 +165,7 @@ TEST_F(FrameCaptionButtonContainerViewTest, |
// Hidden size button should result in minimize button animating to the |
// right. The size button should not be visible, but should not have moved. |
- Shell::Get()->maximize_mode_controller()->EnableMaximizeModeWindowManager( |
- true); |
+ Shell::Get()->tablet_mode_controller()->EnableTabletModeWindowManager(true); |
container.UpdateSizeButtonVisibility(); |
test.EndAnimations(); |
// Parent needs to layout in response to size change. |
@@ -185,8 +184,7 @@ TEST_F(FrameCaptionButtonContainerViewTest, |
// Revealing the size button should cause the minimize button to return to its |
// original position. |
- Shell::Get()->maximize_mode_controller()->EnableMaximizeModeWindowManager( |
- false); |
+ Shell::Get()->tablet_mode_controller()->EnableTabletModeWindowManager(false); |
container.UpdateSizeButtonVisibility(); |
// Calling code needs to layout in response to size change. |
container.Layout(); |