| Index: ash/wm/dock/docked_window_resizer_unittest.cc
|
| diff --git a/ash/wm/dock/docked_window_resizer_unittest.cc b/ash/wm/dock/docked_window_resizer_unittest.cc
|
| index 698bbc32d65498c33a3069cb5ebecf26deb6cc6b..9fa7a67b961415e5e012f8f5ef0661ff497269a7 100644
|
| --- a/ash/wm/dock/docked_window_resizer_unittest.cc
|
| +++ b/ash/wm/dock/docked_window_resizer_unittest.cc
|
| @@ -5,6 +5,7 @@
|
| #include "ash/common/wm/dock/docked_window_resizer.h"
|
|
|
| #include "ash/ash_switches.h"
|
| +#include "ash/common/shelf/shelf_types.h"
|
| #include "ash/common/shell_window_ids.h"
|
| #include "ash/common/wm/dock/docked_window_layout_manager.h"
|
| #include "ash/common/wm/panels/panel_layout_manager.h"
|
| @@ -16,7 +17,6 @@
|
| #include "ash/shelf/shelf.h"
|
| #include "ash/shelf/shelf_layout_manager.h"
|
| #include "ash/shelf/shelf_model.h"
|
| -#include "ash/shelf/shelf_types.h"
|
| #include "ash/shelf/shelf_widget.h"
|
| #include "ash/shell.h"
|
| #include "ash/test/ash_test_base.h"
|
| @@ -380,21 +380,21 @@ TEST_P(DockedWindowResizerTest, AttachRightChangeShelf) {
|
| EXPECT_EQ(kShellWindowId_DockedContainer, window->parent()->id());
|
|
|
| // set launcher shelf to be aligned on the right
|
| - Shelf::ForPrimaryDisplay()->SetAlignment(wm::SHELF_ALIGNMENT_RIGHT);
|
| + Shelf::ForPrimaryDisplay()->SetAlignment(SHELF_ALIGNMENT_RIGHT);
|
| // The window should have moved and get attached to the left dock.
|
| EXPECT_EQ(window->GetRootWindow()->GetBoundsInScreen().x(),
|
| window->GetBoundsInScreen().x());
|
| EXPECT_EQ(kShellWindowId_DockedContainer, window->parent()->id());
|
|
|
| // set launcher shelf to be aligned on the left
|
| - Shelf::ForPrimaryDisplay()->SetAlignment(wm::SHELF_ALIGNMENT_LEFT);
|
| + Shelf::ForPrimaryDisplay()->SetAlignment(SHELF_ALIGNMENT_LEFT);
|
| // The window should have moved and get attached to the right edge.
|
| EXPECT_EQ(window->GetRootWindow()->GetBoundsInScreen().right(),
|
| window->GetBoundsInScreen().right());
|
| EXPECT_EQ(kShellWindowId_DockedContainer, window->parent()->id());
|
|
|
| // set launcher shelf to be aligned at the bottom
|
| - Shelf::ForPrimaryDisplay()->SetAlignment(wm::SHELF_ALIGNMENT_BOTTOM);
|
| + Shelf::ForPrimaryDisplay()->SetAlignment(SHELF_ALIGNMENT_BOTTOM);
|
| // The window should stay in the right edge.
|
| EXPECT_EQ(window->GetRootWindow()->GetBoundsInScreen().right(),
|
| window->GetBoundsInScreen().right());
|
|
|