| 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 11675ac5c880aed70beb0e42c5d242cdbd66554d..5ad7ea1aa8f5897c23a003db7b56edff742abb91 100644
|
| --- a/ash/wm/dock/docked_window_resizer_unittest.cc
|
| +++ b/ash/wm/dock/docked_window_resizer_unittest.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include "ash/ash_switches.h"
|
| #include "ash/aura/wm_window_aura.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"
|
| @@ -17,7 +18,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());
|
|
|