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 "base/basictypes.h" 10 #include "base/compiler_specific.h" 11 #include "ui/aura/client/event_client.h" 12 13 namespace ash { 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 29 } // namespace ash 30 31 #endif // ASH_WM_EVENT_CLIENT_IMPL_H_ 32