OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef UI_AURA_DESKTOP_DESKTOP_STACKING_CLIENT_H_ |
| 6 #define UI_AURA_DESKTOP_DESKTOP_STACKING_CLIENT_H_ |
| 7 |
| 8 #include "ui/aura/client/stacking_client.h" |
| 9 |
| 10 #include "base/basictypes.h" |
| 11 #include "base/compiler_specific.h" |
| 12 #include "ui/aura/aura_export.h" |
| 13 |
| 14 namespace aura { |
| 15 class Window; |
| 16 |
| 17 // A stacking client for the desktop; always sets the default parent to the |
| 18 // RootWindow of the passed in Window. |
| 19 class AURA_EXPORT DesktopStackingClient : public client::StackingClient { |
| 20 public: |
| 21 DesktopStackingClient(); |
| 22 virtual ~DesktopStackingClient(); |
| 23 |
| 24 // Overridden from client::StackingClient: |
| 25 virtual Window* GetDefaultParent(Window* window) OVERRIDE; |
| 26 |
| 27 DISALLOW_COPY_AND_ASSIGN(DesktopStackingClient); |
| 28 }; |
| 29 |
| 30 } // namespace aura |
| 31 |
| 32 #endif // UI_AURA_DESKTOP_DESKTOP_STACKING_CLIENT_H_ |
OLD | NEW |