Home | History | Annotate | Download | only in wm
      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 
      5 #ifndef ASH_WM_MODALITY_EVENT_FILTER_DELEGATE_H_
      6 #define ASH_WM_MODALITY_EVENT_FILTER_DELEGATE_H_
      7 
      8 #include "ash/ash_export.h"
      9 
     10 namespace aura {
     11 class Window;
     12 }
     13 
     14 namespace ash {
     15 namespace internal {
     16 
     17 class ASH_EXPORT SystemModalContainerEventFilterDelegate {
     18  public:
     19   // Returns true if |window| can receive the specified event.
     20   virtual bool CanWindowReceiveEvents(aura::Window* window) = 0;
     21 };
     22 
     23 }  // namespace internal
     24 }  // namespace ash
     25 
     26 #endif  // ASH_WM_MODALITY_EVENT_FILTER_DELEGATE_H_
     27