summaryrefslogtreecommitdiffstats
path: root/chromium/ash/wm/system_modal_container_event_filter_delegate.h
blob: 4e27d0000c9195a28fc9bc011237bb6337e41181 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef ASH_WM_MODALITY_EVENT_FILTER_DELEGATE_H_
#define ASH_WM_MODALITY_EVENT_FILTER_DELEGATE_H_

#include "ash/ash_export.h"

namespace aura {
class Window;
}

namespace ash {
namespace internal {

class ASH_EXPORT SystemModalContainerEventFilterDelegate {
 public:
  // Returns true if |window| can receive the specified event.
  virtual bool CanWindowReceiveEvents(aura::Window* window) = 0;
};

}  // namespace internal
}  // namespace ash

#endif  // ASH_WM_MODALITY_EVENT_FILTER_DELEGATE_H_