summaryrefslogtreecommitdiffstats
path: root/ui/events/ozone/evdev/key_event_converter_ozone.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/events/ozone/evdev/key_event_converter_ozone.h')
-rw-r--r--ui/events/ozone/evdev/key_event_converter_ozone.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/ui/events/ozone/evdev/key_event_converter_ozone.h b/ui/events/ozone/evdev/key_event_converter_ozone.h
new file mode 100644
index 0000000..2fdcb63
--- /dev/null
+++ b/ui/events/ozone/evdev/key_event_converter_ozone.h
@@ -0,0 +1,28 @@
+// Copyright (c) 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_OZONE_H_
+#define UI_EVENTS_OZONE_EVDEV_KEY_EVENT_CONVERTER_OZONE_H_
+
+#include "ui/events/ozone/event_converter_ozone.h"
+
+namespace ui {
+
+class KeyEventConverterOzone : public EventConverterOzone {
+ public:
+ KeyEventConverterOzone();
+ virtual ~KeyEventConverterOzone();
+
+ private:
+ // Overidden from base::MessagePumpLibevent::Watcher.
+ virtual void OnFileCanReadWithoutBlocking(int fd) OVERRIDE;
+ virtual void OnFileCanWriteWithoutBlocking(int fd) OVERRIDE;
+
+ DISALLOW_COPY_AND_ASSIGN(KeyEventConverterOzone);
+};
+
+} // namspace ui
+
+#endif // UI_EVENTS_OZONE_EVDEV_KEY_EVENT_CONVERTER_OZONE_H_
+