summaryrefslogtreecommitdiffstats
path: root/mash/wm/shelf_layout.h
blob: 44f318230363cbb2e38ded63e2d2068952dffe66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// 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_H_
#define MASH_WM_SHELF_LAYOUT_H_

#include "base/macros.h"
#include "mash/wm/layout_manager.h"

namespace mash {
namespace wm {

// Lays out the shelf within shelf containers.
class ShelfLayout : public LayoutManager {
 public:
  explicit ShelfLayout(mus::Window* owner);
  ~ShelfLayout() override;

 private:
  // Overridden from LayoutManager:
  void LayoutWindow(mus::Window* window) override;

  DISALLOW_COPY_AND_ASSIGN(ShelfLayout);
};

}  // namespace wm
}  // namespace mash

#endif  // MASH_WM_SHELF_LAYOUT_H_