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

Side by Side Diff: ash/mus/status_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, 6 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 unified diff | Download patch
« no previous file with comments | « ash/mus/shelf_layout_manager_delegate.h ('k') | ash/mus/status_layout_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MASH_WM_STATUS_LAYOUT_MANAGER_H_ 5 #ifndef ASH_MUS_STATUS_LAYOUT_MANAGER_H_
6 #define MASH_WM_STATUS_LAYOUT_MANAGER_H_ 6 #define ASH_MUS_STATUS_LAYOUT_MANAGER_H_
7 7
8 #include "ash/mus/layout_manager.h"
8 #include "base/macros.h" 9 #include "base/macros.h"
9 #include "mash/shelf/public/interfaces/shelf_constants.mojom.h" 10 #include "mash/shelf/public/interfaces/shelf_constants.mojom.h"
10 #include "mash/wm/layout_manager.h"
11 11
12 namespace mash { 12 namespace ash {
13 namespace wm { 13 namespace mus {
14 14
15 // Lays out the status container, which contains the status area widget and 15 // Lays out the status container, which contains the status area widget and
16 // notifications. 16 // notifications.
17 class StatusLayoutManager : public LayoutManager { 17 class StatusLayoutManager : public LayoutManager {
18 public: 18 public:
19 explicit StatusLayoutManager(mus::Window* owner); 19 explicit StatusLayoutManager(::mus::Window* owner);
20 ~StatusLayoutManager() override; 20 ~StatusLayoutManager() override;
21 21
22 void SetAlignment(mash::shelf::mojom::Alignment alignment); 22 void SetAlignment(mash::shelf::mojom::Alignment alignment);
23 void SetAutoHideBehavior(mash::shelf::mojom::AutoHideBehavior auto_hide); 23 void SetAutoHideBehavior(mash::shelf::mojom::AutoHideBehavior auto_hide);
24 24
25 private: 25 private:
26 // Overridden from LayoutManager: 26 // Overridden from LayoutManager:
27 void LayoutWindow(mus::Window* window) override; 27 void LayoutWindow(::mus::Window* window) override;
28 28
29 mash::shelf::mojom::Alignment alignment_; 29 mash::shelf::mojom::Alignment alignment_;
30 mash::shelf::mojom::AutoHideBehavior auto_hide_behavior_; 30 mash::shelf::mojom::AutoHideBehavior auto_hide_behavior_;
31 31
32 DISALLOW_COPY_AND_ASSIGN(StatusLayoutManager); 32 DISALLOW_COPY_AND_ASSIGN(StatusLayoutManager);
33 }; 33 };
34 34
35 } // namespace wm 35 } // namespace mus
36 } // namespace mash 36 } // namespace ash
37 37
38 #endif // MASH_WM_STATUS_LAYOUT_MANAGER_H_ 38 #endif // ASH_MUS_STATUS_LAYOUT_MANAGER_H_
OLDNEW
« no previous file with comments | « ash/mus/shelf_layout_manager_delegate.h ('k') | ash/mus/status_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698