switchable_windows.h 754 B

12345678910111213141516171819202122232425262728
  1. // Copyright 2014 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_SWITCHABLE_WINDOWS_H_
  5. #define ASH_WM_SWITCHABLE_WINDOWS_H_
  6. #include <vector>
  7. #include "ash/ash_export.h"
  8. namespace aura {
  9. class Window;
  10. }
  11. namespace ash {
  12. // If |active_desk_only| is true, non-active desks' containers will be excluded.
  13. ASH_EXPORT std::vector<aura::Window*> GetSwitchableContainersForRoot(
  14. aura::Window* root,
  15. bool active_desk_only);
  16. // Returns true if |window| is a container for windows which can be switched to.
  17. ASH_EXPORT bool IsSwitchableContainer(const aura::Window* window);
  18. } // namespace ash
  19. #endif // ASH_WM_SWITCHABLE_WINDOWS_H_