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

Unified Diff: ash/mus/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 | « ash/mus/shelf_layout_impl.cc ('k') | ash/mus/shelf_layout_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/shelf_layout_manager.h
diff --git a/mash/wm/shelf_layout_manager.h b/ash/mus/shelf_layout_manager.h
similarity index 43%
rename from mash/wm/shelf_layout_manager.h
rename to ash/mus/shelf_layout_manager.h
index 39be5686258208a96ba1ee95fd6f02b7c5cde06e..14f4494f73e162a74de9e44067521175329a5ed5 100644
--- a/mash/wm/shelf_layout_manager.h
+++ b/ash/mus/shelf_layout_manager.h
@@ -2,48 +2,49 @@
// 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_
+#ifndef ASH_MUS_SHELF_LAYOUT_MANAGER_H_
+#define ASH_MUS_SHELF_LAYOUT_MANAGER_H_
+#include "ash/mus/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 {
+namespace ash {
+namespace mus {
class ShelfLayoutManagerDelegate;
// Lays out the shelf within shelf containers.
class ShelfLayoutManager : public LayoutManager {
public:
- ShelfLayoutManager(mus::Window* owner, ShelfLayoutManagerDelegate* delegate);
+ ShelfLayoutManager(::mus::Window* owner,
+ ShelfLayoutManagerDelegate* delegate);
~ShelfLayoutManager() override;
// Returns the shelf, which may be null.
- mus::Window* GetShelfWindow();
+ ::mus::Window* GetShelfWindow();
- void SetAlignment(shelf::mojom::Alignment alignment);
- void SetAutoHideBehavior(shelf::mojom::AutoHideBehavior auto_hide);
+ void SetAlignment(mash::shelf::mojom::Alignment alignment);
+ void SetAutoHideBehavior(mash::shelf::mojom::AutoHideBehavior auto_hide);
- shelf::mojom::Alignment alignment() const { return alignment_; }
- shelf::mojom::AutoHideBehavior auto_hide_behavior() const {
+ mash::shelf::mojom::Alignment alignment() const { return alignment_; }
+ mash::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;
+ void LayoutWindow(::mus::Window* window) override;
+ void WindowAdded(::mus::Window* window) override;
ShelfLayoutManagerDelegate* delegate_;
- shelf::mojom::Alignment alignment_;
- shelf::mojom::AutoHideBehavior auto_hide_behavior_;
+ mash::shelf::mojom::Alignment alignment_;
+ mash::shelf::mojom::AutoHideBehavior auto_hide_behavior_;
DISALLOW_COPY_AND_ASSIGN(ShelfLayoutManager);
};
-} // namespace wm
-} // namespace mash
+} // namespace mus
+} // namespace ash
-#endif // MASH_WM_SHELF_LAYOUT_MANAGER_H_
+#endif // ASH_MUS_SHELF_LAYOUT_MANAGER_H_
« no previous file with comments | « ash/mus/shelf_layout_impl.cc ('k') | ash/mus/shelf_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698