Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(82)

Unified Diff: ui/base/ozone/key_event_converter_ozone.h

Issue 16466003: Event handling support for ozone. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase-ed for removal of DRT Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/base/ozone/events_ozone.cc ('k') | ui/base/ozone/key_event_converter_ozone.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ozone/key_event_converter_ozone.h
diff --git a/ui/base/ozone/key_event_converter_ozone.h b/ui/base/ozone/key_event_converter_ozone.h
new file mode 100644
index 0000000000000000000000000000000000000000..29ea26ae9aa7137cc1310da8253141e1184e6b92
--- /dev/null
+++ b/ui/base/ozone/key_event_converter_ozone.h
@@ -0,0 +1,27 @@
+// 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_BASE_OZONE_KEY_EVENT_CONVERTER_OZONE_H_
+#define UI_BASE_OZONE_KEY_EVENT_CONVERTER_OZONE_H_
+
+#include "ui/base/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_BASE_OZONE_KEY_EVENT_CONVERTER_OZONE_H_
« no previous file with comments | « ui/base/ozone/events_ozone.cc ('k') | ui/base/ozone/key_event_converter_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698