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 UI_AURA_DEVICE_LIST_UPDATER_AURAX11_H_
6 #define UI_AURA_DEVICE_LIST_UPDATER_AURAX11_H_
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10 #include "base/message_loop/message_pump_observer.h"
14 // Filters out global XInput notifications and updates the DeviceList.
15 class DeviceListUpdaterAuraX11
: public base::MessagePumpObserver
{
17 DeviceListUpdaterAuraX11();
18 virtual ~DeviceListUpdaterAuraX11();
20 // Overridden from base::MessagePumpObserver:
21 virtual base::EventStatus
WillProcessEvent(
22 const base::NativeEvent
& event
) OVERRIDE
;
23 virtual void DidProcessEvent(
24 const base::NativeEvent
& event
) OVERRIDE
;
27 DISALLOW_COPY_AND_ASSIGN(DeviceListUpdaterAuraX11
);
32 #endif // UI_AURA_DEVICE_LIST_UPDATER_AURAX11_H_