Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 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_EVENT_CLIENT_IMPL_H_ |
| 6 | #define ASH_WM_EVENT_CLIENT_IMPL_H_ |
| 7 | |
| 8 | #include "ash/ash_export.h" |
Torne (Richard Coles) | 1e9bf3e | 2013-10-31 11:16:26 +0000 | [diff] [blame] | 9 | #include "base/basictypes.h" |
| 10 | #include "base/compiler_specific.h" |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 11 | #include "ui/aura/client/event_client.h" |
| 12 | |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 13 | namespace ash { |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 14 | |
| 15 | class 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) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 29 | } // namespace ash |
| 30 | |
| 31 | #endif // ASH_WM_EVENT_CLIENT_IMPL_H_ |