| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_WM_STACKING_CONTROLLER_H_ | 5 #ifndef ASH_WM_STACKING_CONTROLLER_H_ |
| 6 #define ASH_WM_STACKING_CONTROLLER_H_ | 6 #define ASH_WM_STACKING_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "ui/aura/client/window_parenting_client.h" | 11 #include "ui/aura/client/window_parenting_client.h" |
| 12 | 12 |
| 13 namespace ash { | 13 namespace ash { |
| 14 class AlwaysOnTopController; | |
| 15 | 14 |
| 16 class ASH_EXPORT StackingController | 15 class ASH_EXPORT StackingController |
| 17 : public aura::client::WindowParentingClient { | 16 : public aura::client::WindowParentingClient { |
| 18 public: | 17 public: |
| 19 StackingController(); | 18 StackingController(); |
| 20 ~StackingController() override; | 19 ~StackingController() override; |
| 21 | 20 |
| 22 // Overridden from aura::client::WindowParentingClient: | 21 // Overridden from aura::client::WindowParentingClient: |
| 23 aura::Window* GetDefaultParent(aura::Window* context, | 22 aura::Window* GetDefaultParent(aura::Window* context, |
| 24 aura::Window* window, | 23 aura::Window* window, |
| 25 const gfx::Rect& bounds) override; | 24 const gfx::Rect& bounds) override; |
| 26 | 25 |
| 27 private: | 26 private: |
| 28 DISALLOW_COPY_AND_ASSIGN(StackingController); | 27 DISALLOW_COPY_AND_ASSIGN(StackingController); |
| 29 }; | 28 }; |
| 30 | 29 |
| 31 } // namespace ash | 30 } // namespace ash |
| 32 | 31 |
| 33 #endif // ASH_WM_STACKING_CONTROLLER_H_ | 32 #endif // ASH_WM_STACKING_CONTROLLER_H_ |
| OLD | NEW |