blob: da243f9ee46399fbc142154a3aca9cb90ce4888f [file] [log] [blame]
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001// 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_EVENT_CLIENT_IMPL_H_
6#define ASH_WM_EVENT_CLIENT_IMPL_H_
7
8#include "ash/ash_export.h"
Torne (Richard Coles)1e9bf3e2013-10-31 11:16:26 +00009#include "base/basictypes.h"
10#include "base/compiler_specific.h"
Torne (Richard Coles)58218062012-11-14 11:43:16 +000011#include "ui/aura/client/event_client.h"
12
Torne (Richard Coles)58218062012-11-14 11:43:16 +000013namespace ash {
Torne (Richard Coles)58218062012-11-14 11:43:16 +000014
15class EventClientImpl : public aura::client::EventClient {
16 public:
17 EventClientImpl();
18 virtual ~EventClientImpl();
19
20 private:
21 // Overridden from aura::client::EventClient:
22 virtual bool CanProcessEventsWithinSubtree(
23 const aura::Window* window) const OVERRIDE;
24 virtual ui::EventTarget* GetToplevelEventTarget() OVERRIDE;
25
26 DISALLOW_COPY_AND_ASSIGN(EventClientImpl);
27};
28
Torne (Richard Coles)58218062012-11-14 11:43:16 +000029} // namespace ash
30
31#endif // ASH_WM_EVENT_CLIENT_IMPL_H_