wm_shadow_controller_delegate.h 991 B

1234567891011121314151617181920212223242526272829303132
  1. // Copyright 2018 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_WM_SHADOW_CONTROLLER_DELEGATE_H_
  5. #define ASH_WM_WM_SHADOW_CONTROLLER_DELEGATE_H_
  6. #include "ui/wm/core/shadow_controller_delegate.h"
  7. namespace aura {
  8. class Window;
  9. } // namespace aura
  10. namespace ash {
  11. // WmShadowControllerDelegate is a delegate for showing the shadow for window
  12. // management purposes.
  13. class WmShadowControllerDelegate : public wm::ShadowControllerDelegate {
  14. public:
  15. WmShadowControllerDelegate();
  16. WmShadowControllerDelegate(const WmShadowControllerDelegate&) = delete;
  17. WmShadowControllerDelegate& operator=(const WmShadowControllerDelegate&) =
  18. delete;
  19. ~WmShadowControllerDelegate() override;
  20. // wm::ShadowControllerDelegate:
  21. bool ShouldShowShadowForWindow(const aura::Window* window) override;
  22. };
  23. } // namespace ash
  24. #endif // ASH_WM_WM_SHADOW_CONTROLLER_DELEGATE_H_