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" 9 #include "ui/aura/client/event_client.h" 10 11 namespace aura { 12 class RootWindow; 13 } 14 15 namespace ash { 16 namespace internal { 17 18 class EventClientImpl : public aura::client::EventClient { 19 public: 20 EventClientImpl(); 21 virtual ~EventClientImpl(); 22 23 private: 24 // Overridden from aura::client::EventClient: 25 virtual bool CanProcessEventsWithinSubtree( 26 const aura::Window* window) const OVERRIDE; 27 virtual ui::EventTarget* GetToplevelEventTarget() OVERRIDE; 28 29 DISALLOW_COPY_AND_ASSIGN(EventClientImpl); 30 }; 31 32 } // namespace internal 33 } // namespace ash 34 35 #endif // ASH_WM_EVENT_CLIENT_IMPL_H_ 36