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

Side by Side Diff: mash/wm/background_layout.h

Issue 1492563002: Introduce mash/shell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years 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
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_BACKGROUND_LAYOUT_H_ 5 #ifndef MASH_WM_BACKGROUND_LAYOUT_H_
6 #define MASH_WM_BACKGROUND_LAYOUT_H_ 6 #define MASH_WM_BACKGROUND_LAYOUT_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "mash/wm/layout_manager.h" 9 #include "mash/wm/layout_manager.h"
10 10
11 namespace mash { 11 namespace mash {
12 namespace wm { 12 namespace wm {
13 13
14 // Lays out the desktop background within background containers. 14 // Lays out the desktop background within background containers.
15 class BackgroundLayout : public LayoutManager { 15 class BackgroundLayout : public LayoutManager {
16 public: 16 public:
17 explicit BackgroundLayout(mus::Window* owner); 17 explicit BackgroundLayout(mus::Window* owner);
18 ~BackgroundLayout() override; 18 ~BackgroundLayout() override;
19 19
20 private: 20 private:
21 // Overridden from LayoutManager: 21 // Overridden from LayoutManager:
22 void WindowAdded(mus::Window* window) override;
23 void LayoutWindow(mus::Window* window) override; 22 void LayoutWindow(mus::Window* window) override;
24 23
25 DISALLOW_COPY_AND_ASSIGN(BackgroundLayout); 24 DISALLOW_COPY_AND_ASSIGN(BackgroundLayout);
26 }; 25 };
27 26
28 } // namespace wm 27 } // namespace wm
29 } // namespace mash 28 } // namespace mash
30 29
31 #endif // MASH_WM_BACKGROUND_LAYOUT_H_ 30 #endif // MASH_WM_BACKGROUND_LAYOUT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698