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 10namespace aura { 11class Window; 12} 13 14namespace ash { 15 16class ASH_EXPORT SystemModalContainerEventFilterDelegate { 17 public: 18 // Returns true if |window| can receive the specified event. 19 virtual bool CanWindowReceiveEvents(aura::Window* window) = 0; 20}; 21 22} // namespace ash 23 24#endif // ASH_WM_MODALITY_EVENT_FILTER_DELEGATE_H_ 25