| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef UI_EVENTS_OZONE_EVDEV_KEY_EVENT_CONVERTER_OZONE_H_ | 5 #ifndef UI_EVENTS_OZONE_EVDEV_KEY_EVENT_CONVERTER_EVDEV_H_ |
| 6 #define UI_EVENTS_OZONE_EVDEV_KEY_EVENT_CONVERTER_OZONE_H_ | 6 #define UI_EVENTS_OZONE_EVDEV_KEY_EVENT_CONVERTER_EVDEV_H_ |
| 7 | 7 |
| 8 #include "ui/events/ozone/event_converter_ozone.h" | 8 #include "ui/events/ozone/event_converter_ozone.h" |
| 9 | 9 |
| 10 namespace ui { | 10 namespace ui { |
| 11 | 11 |
| 12 class KeyEventConverterOzone : public EventConverterOzone { | 12 class KeyEventConverterEvdev : public EventConverterOzone { |
| 13 public: | 13 public: |
| 14 KeyEventConverterOzone(); | 14 KeyEventConverterEvdev(); |
| 15 virtual ~KeyEventConverterOzone(); | 15 virtual ~KeyEventConverterEvdev(); |
| 16 | 16 |
| 17 private: | 17 private: |
| 18 // Overidden from base::MessagePumpLibevent::Watcher. | 18 // Overidden from base::MessagePumpLibevent::Watcher. |
| 19 virtual void OnFileCanReadWithoutBlocking(int fd) OVERRIDE; | 19 virtual void OnFileCanReadWithoutBlocking(int fd) OVERRIDE; |
| 20 virtual void OnFileCanWriteWithoutBlocking(int fd) OVERRIDE; | 20 virtual void OnFileCanWriteWithoutBlocking(int fd) OVERRIDE; |
| 21 | 21 |
| 22 DISALLOW_COPY_AND_ASSIGN(KeyEventConverterOzone); | 22 DISALLOW_COPY_AND_ASSIGN(KeyEventConverterEvdev); |
| 23 }; | 23 }; |
| 24 | 24 |
| 25 } // namspace ui | 25 } // namspace ui |
| 26 | 26 |
| 27 #endif // UI_EVENTS_OZONE_EVDEV_KEY_EVENT_CONVERTER_OZONE_H_ | 27 #endif // UI_EVENTS_OZONE_EVDEV_KEY_EVENT_CONVERTER_EVDEV_H_ |
| 28 | 28 |
| OLD | NEW |