Reland "Enable SysInfo::AmountOfPhysicalMemory to be called from within the Linux...
[chromium-blink-merge.git] / ash / wm / event_client_impl.h
blobb38228be942c40f561fe46fe35caa84fc54ea7e7
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.
5 #ifndef ASH_WM_EVENT_CLIENT_IMPL_H_
6 #define ASH_WM_EVENT_CLIENT_IMPL_H_
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"
13 namespace ash {
14 namespace internal {
16 class EventClientImpl : public aura::client::EventClient {
17 public:
18 EventClientImpl();
19 virtual ~EventClientImpl();
21 private:
22 // Overridden from aura::client::EventClient:
23 virtual bool CanProcessEventsWithinSubtree(
24 const aura::Window* window) const OVERRIDE;
25 virtual ui::EventTarget* GetToplevelEventTarget() OVERRIDE;
27 DISALLOW_COPY_AND_ASSIGN(EventClientImpl);
30 } // namespace internal
31 } // namespace ash
33 #endif // ASH_WM_EVENT_CLIENT_IMPL_H_