| Index: ui/aura/desktop/desktop_stacking_client.h
|
| diff --git a/ui/aura/desktop/desktop_stacking_client.h b/ui/aura/desktop/desktop_stacking_client.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..34b8a6725f62d5cf75570fbca5f32b1387101d57
|
| --- /dev/null
|
| +++ b/ui/aura/desktop/desktop_stacking_client.h
|
| @@ -0,0 +1,32 @@
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef UI_AURA_DESKTOP_DESKTOP_STACKING_CLIENT_H_
|
| +#define UI_AURA_DESKTOP_DESKTOP_STACKING_CLIENT_H_
|
| +
|
| +#include "ui/aura/client/stacking_client.h"
|
| +
|
| +#include "base/basictypes.h"
|
| +#include "base/compiler_specific.h"
|
| +#include "ui/aura/aura_export.h"
|
| +
|
| +namespace aura {
|
| +class Window;
|
| +
|
| +// A stacking client for the desktop; always sets the default parent to the
|
| +// RootWindow of the passed in Window.
|
| +class AURA_EXPORT DesktopStackingClient : public client::StackingClient {
|
| + public:
|
| + DesktopStackingClient();
|
| + virtual ~DesktopStackingClient();
|
| +
|
| + // Overridden from client::StackingClient:
|
| + virtual Window* GetDefaultParent(Window* window) OVERRIDE;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(DesktopStackingClient);
|
| +};
|
| +
|
| +} // namespace aura
|
| +
|
| +#endif // UI_AURA_DESKTOP_DESKTOP_STACKING_CLIENT_H_
|
|
|