blob: f2af04ec1226bedacc3c5344cd8e250e872a1d2f [file] [log] [blame]
// Copyright 2013 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_EVENTS_OZONE_EVDEV_KEY_EVENT_CONVERTER_EVDEV_H_
#define UI_EVENTS_OZONE_EVDEV_KEY_EVENT_CONVERTER_EVDEV_H_
#include "ui/events/ozone/event_converter_ozone.h"
namespace ui {
class KeyEventConverterEvdev : public EventConverterOzone {
public:
KeyEventConverterEvdev();
virtual ~KeyEventConverterEvdev();
private:
// Overidden from base::MessagePumpLibevent::Watcher.
virtual void OnFileCanReadWithoutBlocking(int fd) OVERRIDE;
virtual void OnFileCanWriteWithoutBlocking(int fd) OVERRIDE;
DISALLOW_COPY_AND_ASSIGN(KeyEventConverterEvdev);
};
} // namspace ui
#endif // UI_EVENTS_OZONE_EVDEV_KEY_EVENT_CONVERTER_EVDEV_H_