| Index: ash/shelf/shelf.h
|
| diff --git a/ash/shelf/shelf.h b/ash/shelf/shelf.h
|
| index f88dcd8136eac3918a9f88a9b9902d1aa553afdc..b7baf9e6a7e2708a2922a3dbb9d25de0e976ee8a 100644
|
| --- a/ash/shelf/shelf.h
|
| +++ b/ash/shelf/shelf.h
|
| @@ -10,9 +10,9 @@
|
| #include <memory>
|
|
|
| #include "ash/ash_export.h"
|
| -#include "ash/shelf/shelf_constants.h"
|
| +#include "ash/common/shelf/shelf_constants.h"
|
| +#include "ash/common/shelf/shelf_types.h"
|
| #include "ash/shelf/shelf_locking_manager.h"
|
| -#include "ash/shelf/shelf_types.h"
|
| #include "ash/shelf/shelf_widget.h"
|
| #include "base/macros.h"
|
| #include "ui/gfx/geometry/size.h"
|
| @@ -72,8 +72,8 @@ class ASH_EXPORT Shelf {
|
| // does not exist or does not have a shelf.
|
| static Shelf* ForDisplayId(int64_t display_id);
|
|
|
| - void SetAlignment(wm::ShelfAlignment alignment);
|
| - wm::ShelfAlignment alignment() const { return alignment_; }
|
| + void SetAlignment(ShelfAlignment alignment);
|
| + ShelfAlignment alignment() const { return alignment_; }
|
| bool IsHorizontalAlignment() const;
|
|
|
| // Sets the ShelfAutoHideBehavior. See enum description for details.
|
| @@ -90,12 +90,12 @@ class ASH_EXPORT Shelf {
|
| template <typename T>
|
| T SelectValueForShelfAlignment(T bottom, T left, T right) const {
|
| switch (alignment_) {
|
| - case wm::SHELF_ALIGNMENT_BOTTOM:
|
| - case wm::SHELF_ALIGNMENT_BOTTOM_LOCKED:
|
| + case SHELF_ALIGNMENT_BOTTOM:
|
| + case SHELF_ALIGNMENT_BOTTOM_LOCKED:
|
| return bottom;
|
| - case wm::SHELF_ALIGNMENT_LEFT:
|
| + case SHELF_ALIGNMENT_LEFT:
|
| return left;
|
| - case wm::SHELF_ALIGNMENT_RIGHT:
|
| + case SHELF_ALIGNMENT_RIGHT:
|
| return right;
|
| }
|
| NOTREACHED();
|
| @@ -167,7 +167,7 @@ class ASH_EXPORT Shelf {
|
| ShelfView* shelf_view_;
|
| ShelfLockingManager shelf_locking_manager_;
|
|
|
| - wm::ShelfAlignment alignment_ = wm::SHELF_ALIGNMENT_BOTTOM;
|
| + ShelfAlignment alignment_ = SHELF_ALIGNMENT_BOTTOM;
|
| ShelfAutoHideBehavior auto_hide_behavior_ = SHELF_AUTO_HIDE_BEHAVIOR_NEVER;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(Shelf);
|
|
|