| Index: mash/wm/shelf_layout_manager.h
|
| diff --git a/mash/wm/shelf_layout_manager.h b/mash/wm/shelf_layout_manager.h
|
| deleted file mode 100644
|
| index 39be5686258208a96ba1ee95fd6f02b7c5cde06e..0000000000000000000000000000000000000000
|
| --- a/mash/wm/shelf_layout_manager.h
|
| +++ /dev/null
|
| @@ -1,49 +0,0 @@
|
| -// Copyright 2015 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#ifndef MASH_WM_SHELF_LAYOUT_MANAGER_H_
|
| -#define MASH_WM_SHELF_LAYOUT_MANAGER_H_
|
| -
|
| -#include "base/macros.h"
|
| -#include "mash/shelf/public/interfaces/shelf_constants.mojom.h"
|
| -#include "mash/wm/layout_manager.h"
|
| -
|
| -namespace mash {
|
| -namespace wm {
|
| -
|
| -class ShelfLayoutManagerDelegate;
|
| -
|
| -// Lays out the shelf within shelf containers.
|
| -class ShelfLayoutManager : public LayoutManager {
|
| - public:
|
| - ShelfLayoutManager(mus::Window* owner, ShelfLayoutManagerDelegate* delegate);
|
| - ~ShelfLayoutManager() override;
|
| -
|
| - // Returns the shelf, which may be null.
|
| - mus::Window* GetShelfWindow();
|
| -
|
| - void SetAlignment(shelf::mojom::Alignment alignment);
|
| - void SetAutoHideBehavior(shelf::mojom::AutoHideBehavior auto_hide);
|
| -
|
| - shelf::mojom::Alignment alignment() const { return alignment_; }
|
| - shelf::mojom::AutoHideBehavior auto_hide_behavior() const {
|
| - return auto_hide_behavior_;
|
| - }
|
| -
|
| - private:
|
| - // Overridden from LayoutManager:
|
| - void LayoutWindow(mus::Window* window) override;
|
| - void WindowAdded(mus::Window* window) override;
|
| -
|
| - ShelfLayoutManagerDelegate* delegate_;
|
| - shelf::mojom::Alignment alignment_;
|
| - shelf::mojom::AutoHideBehavior auto_hide_behavior_;
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(ShelfLayoutManager);
|
| -};
|
| -
|
| -} // namespace wm
|
| -} // namespace mash
|
| -
|
| -#endif // MASH_WM_SHELF_LAYOUT_MANAGER_H_
|
|
|