OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 ASH_MUS_BRIDGE_MUS_LAYOUT_MANAGER_ADAPTER_H_ | 5 #ifndef ASH_MUS_BRIDGE_MUS_LAYOUT_MANAGER_ADAPTER_H_ |
6 #define ASH_MUS_BRIDGE_MUS_LAYOUT_MANAGER_ADAPTER_H_ | 6 #define ASH_MUS_BRIDGE_MUS_LAYOUT_MANAGER_ADAPTER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "components/mus/public/cpp/window_observer.h" | 11 #include "services/ui/public/cpp/window_observer.h" |
12 | 12 |
13 namespace ash { | 13 namespace ash { |
14 class WmLayoutManager; | 14 class WmLayoutManager; |
15 | 15 |
16 namespace mus { | 16 namespace mus { |
17 | 17 |
18 // Used to associate a mus::Window with an WmLayoutManager. This | 18 // Used to associate a mus::Window with an WmLayoutManager. This |
19 // attaches an observer to the mus::Window and calls the appropriate methods on | 19 // attaches an observer to the mus::Window and calls the appropriate methods on |
20 // the WmLayoutManager at the appropriate time. | 20 // the WmLayoutManager at the appropriate time. |
21 // | 21 // |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 ChildWindowObserver child_window_observer_; | 62 ChildWindowObserver child_window_observer_; |
63 std::unique_ptr<WmLayoutManager> layout_manager_; | 63 std::unique_ptr<WmLayoutManager> layout_manager_; |
64 | 64 |
65 DISALLOW_COPY_AND_ASSIGN(MusLayoutManagerAdapter); | 65 DISALLOW_COPY_AND_ASSIGN(MusLayoutManagerAdapter); |
66 }; | 66 }; |
67 | 67 |
68 } // namespace mus | 68 } // namespace mus |
69 } // namespace ash | 69 } // namespace ash |
70 | 70 |
71 #endif // ASH_MUS_BRIDGE_MUS_LAYOUT_MANAGER_ADAPTER_H_ | 71 #endif // ASH_MUS_BRIDGE_MUS_LAYOUT_MANAGER_ADAPTER_H_ |
OLD | NEW |