| Index: ui/aura/device_list_updater_aurax11.h
|
| diff --git a/ui/aura/device_list_updater_aurax11.h b/ui/aura/device_list_updater_aurax11.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..28370397c9995aa53bbac31b82c963c21ac31c46
|
| --- /dev/null
|
| +++ b/ui/aura/device_list_updater_aurax11.h
|
| @@ -0,0 +1,32 @@
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef UI_AURA_DEVICE_LIST_UPDATER_AURAX11_H_
|
| +#define UI_AURA_DEVICE_LIST_UPDATER_AURAX11_H_
|
| +
|
| +#include "base/basictypes.h"
|
| +#include "base/compiler_specific.h"
|
| +#include "base/message_pump_observer.h"
|
| +
|
| +namespace aura {
|
| +
|
| +// Filters out global XInput notifications and updates the DeviceList.
|
| +class DeviceListUpdaterAuraX11 : public base::MessagePumpObserver {
|
| + public:
|
| + DeviceListUpdaterAuraX11();
|
| + virtual ~DeviceListUpdaterAuraX11();
|
| +
|
| + // Overridden from base::MessagePumpObserver:
|
| + virtual base::EventStatus WillProcessEvent(
|
| + const base::NativeEvent& event) OVERRIDE;
|
| + virtual void DidProcessEvent(
|
| + const base::NativeEvent& event) OVERRIDE;
|
| +
|
| + private:
|
| + DISALLOW_COPY_AND_ASSIGN(DeviceListUpdaterAuraX11);
|
| +};
|
| +
|
| +} // namespace aura
|
| +
|
| +#endif // UI_AURA_DEVICE_LIST_UPDATER_AURAX11_H_
|
|
|