stacking_controller.h 912 B

12345678910111213141516171819202122232425262728293031
  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. #ifndef ASH_WM_STACKING_CONTROLLER_H_
  5. #define ASH_WM_STACKING_CONTROLLER_H_
  6. #include "ash/ash_export.h"
  7. #include "base/compiler_specific.h"
  8. #include "ui/aura/client/window_parenting_client.h"
  9. namespace ash {
  10. class ASH_EXPORT StackingController
  11. : public aura::client::WindowParentingClient {
  12. public:
  13. StackingController();
  14. StackingController(const StackingController&) = delete;
  15. StackingController& operator=(const StackingController&) = delete;
  16. ~StackingController() override;
  17. // Overridden from aura::client::WindowParentingClient:
  18. aura::Window* GetDefaultParent(aura::Window* window,
  19. const gfx::Rect& bounds) override;
  20. };
  21. } // namespace ash
  22. #endif // ASH_WM_STACKING_CONTROLLER_H_