display_move_window_util.h 736 B

123456789101112131415161718192021222324
  1. // Copyright 2017 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_DISPLAY_DISPLAY_MOVE_WINDOW_UTIL_H_
  5. #define ASH_DISPLAY_DISPLAY_MOVE_WINDOW_UTIL_H_
  6. #include "ash/ash_export.h"
  7. namespace ash {
  8. namespace display_move_window_util {
  9. // Returns true if active window can be moved between displays by accelerator.
  10. ASH_EXPORT bool CanHandleMoveActiveWindowBetweenDisplays();
  11. // Handles moving current active window from its display to another display.
  12. ASH_EXPORT void HandleMoveActiveWindowBetweenDisplays();
  13. } // namespace display_move_window_util
  14. } // namespace ash
  15. #endif // ASH_DISPLAY_DISPLAY_MOVE_WINDOW_UTIL_H_