Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(177)

Unified Diff: mash/wm/shelf_layout_manager.h

Issue 2029883002: Moves mash/wm into ash/mus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_static_assert
Patch Set: move comment Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mash/wm/shelf_layout_impl.cc ('k') | mash/wm/shelf_layout_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « mash/wm/shelf_layout_impl.cc ('k') | mash/wm/shelf_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698