system_modal_container_event_filter_delegate.h 664 B

123456789101112131415161718192021222324
  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_SYSTEM_MODAL_CONTAINER_EVENT_FILTER_DELEGATE_H_
  5. #define ASH_WM_SYSTEM_MODAL_CONTAINER_EVENT_FILTER_DELEGATE_H_
  6. #include "ash/ash_export.h"
  7. namespace aura {
  8. class Window;
  9. }
  10. namespace ash {
  11. class ASH_EXPORT SystemModalContainerEventFilterDelegate {
  12. public:
  13. // Returns true if |window| can receive the specified event.
  14. virtual bool CanWindowReceiveEvents(aura::Window* window) = 0;
  15. };
  16. } // namespace ash
  17. #endif // ASH_WM_SYSTEM_MODAL_CONTAINER_EVENT_FILTER_DELEGATE_H_