| 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_SCREENLOCK_LAYOUT_H_ | 5 #ifndef ASH_MUS_SCREENLOCK_LAYOUT_H_ |
| 6 #define ASH_MUS_SCREENLOCK_LAYOUT_H_ | 6 #define ASH_MUS_SCREENLOCK_LAYOUT_H_ |
| 7 | 7 |
| 8 #include "ash/mus/layout_manager.h" | 8 #include "ash/mus/layout_manager.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 | 10 |
| 11 namespace ash { | 11 namespace ash { |
| 12 namespace mus { | 12 namespace mus { |
| 13 | 13 |
| 14 // Lays out the shelf within shelf containers. | 14 // Lays out the shelf within shelf containers. |
| 15 class ScreenlockLayout : public LayoutManager { | 15 class ScreenlockLayout : public LayoutManager { |
| 16 public: | 16 public: |
| 17 explicit ScreenlockLayout(::ui::Window* owner); | 17 explicit ScreenlockLayout(ui::Window* owner); |
| 18 ~ScreenlockLayout() override; | 18 ~ScreenlockLayout() override; |
| 19 | 19 |
| 20 private: | 20 private: |
| 21 // Overridden from LayoutManager: | 21 // Overridden from LayoutManager: |
| 22 void LayoutWindow(::ui::Window* window) override; | 22 void LayoutWindow(ui::Window* window) override; |
| 23 | 23 |
| 24 DISALLOW_COPY_AND_ASSIGN(ScreenlockLayout); | 24 DISALLOW_COPY_AND_ASSIGN(ScreenlockLayout); |
| 25 }; | 25 }; |
| 26 | 26 |
| 27 } // namespace mus | 27 } // namespace mus |
| 28 } // namespace ash | 28 } // namespace ash |
| 29 | 29 |
| 30 #endif // ASH_MUS_SCREENLOCK_LAYOUT_H_ | 30 #endif // ASH_MUS_SCREENLOCK_LAYOUT_H_ |
| OLD | NEW |