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