| OLD | NEW |
| 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 ASH_MUS_LAYOUT_MANAGER_H_ | 5 #ifndef ASH_MUS_LAYOUT_MANAGER_H_ |
| 6 #define ASH_MUS_LAYOUT_MANAGER_H_ | 6 #define ASH_MUS_LAYOUT_MANAGER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 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 namespace mus { | 14 namespace mus { |
| 15 | 15 |
| 16 // Base class for container layout managers. Derived classes override | 16 // Base class for container layout managers. Derived classes override |
| 17 // LayoutWindow() to perform layout and register properties to which | 17 // LayoutWindow() to perform layout and register properties to which |
| 18 // changes trigger layout. | 18 // changes trigger layout. |
| 19 // LayoutManagers observe both the bound container and all its children. | 19 // LayoutManagers observe both the bound container and all its children. |
| 20 // They must be attached prior to any windows being added to the | 20 // They must be attached prior to any windows being added to the |
| 21 // container. | 21 // container. |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 | 55 |
| 56 std::set<std::string> layout_properties_; | 56 std::set<std::string> layout_properties_; |
| 57 | 57 |
| 58 DISALLOW_COPY_AND_ASSIGN(LayoutManager); | 58 DISALLOW_COPY_AND_ASSIGN(LayoutManager); |
| 59 }; | 59 }; |
| 60 | 60 |
| 61 } // namespace mus | 61 } // namespace mus |
| 62 } // namespace ash | 62 } // namespace ash |
| 63 | 63 |
| 64 #endif // ASH_MUS_LAYOUT_MANAGER_H_ | 64 #endif // ASH_MUS_LAYOUT_MANAGER_H_ |
| OLD | NEW |