| Index: ash/wm/panels/panel_window_resizer.cc
|
| diff --git a/ash/wm/panels/panel_window_resizer.cc b/ash/wm/panels/panel_window_resizer.cc
|
| index 76e2f56008ebf257ff7e982799977c99cd7138d5..bf0fd3070a987818fc3a0aba209a6b59269d82cd 100644
|
| --- a/ash/wm/panels/panel_window_resizer.cc
|
| +++ b/ash/wm/panels/panel_window_resizer.cc
|
| @@ -126,22 +126,22 @@ bool PanelWindowResizer::AttachToLauncher(const gfx::Rect& bounds,
|
| ->shelf_widget()
|
| ->GetWindowBoundsInScreen());
|
| switch (panel_layout_manager->shelf()->alignment()) {
|
| - case SHELF_ALIGNMENT_BOTTOM:
|
| - case SHELF_ALIGNMENT_BOTTOM_LOCKED:
|
| + case wm::SHELF_ALIGNMENT_BOTTOM:
|
| + case wm::SHELF_ALIGNMENT_BOTTOM_LOCKED:
|
| if (bounds.bottom() >= (launcher_bounds.y() -
|
| kPanelSnapToLauncherDistance)) {
|
| should_attach = true;
|
| offset->set_y(launcher_bounds.y() - bounds.height() - bounds.y());
|
| }
|
| break;
|
| - case SHELF_ALIGNMENT_LEFT:
|
| + case wm::SHELF_ALIGNMENT_LEFT:
|
| if (bounds.x() <= (launcher_bounds.right() +
|
| kPanelSnapToLauncherDistance)) {
|
| should_attach = true;
|
| offset->set_x(launcher_bounds.right() - bounds.x());
|
| }
|
| break;
|
| - case SHELF_ALIGNMENT_RIGHT:
|
| + case wm::SHELF_ALIGNMENT_RIGHT:
|
| if (bounds.right() >= (launcher_bounds.x() -
|
| kPanelSnapToLauncherDistance)) {
|
| should_attach = true;
|
|
|