| Index: ui/events/ozone/evdev/key_event_converter.cc
|
| diff --git a/ui/events/ozone/evdev/key_event_converter_ozone.cc b/ui/events/ozone/evdev/key_event_converter.cc
|
| similarity index 96%
|
| rename from ui/events/ozone/evdev/key_event_converter_ozone.cc
|
| rename to ui/events/ozone/evdev/key_event_converter.cc
|
| index dbb31650b2d6282ea47813190ec4077e2d817dae..177e4e7a6a1f411c0bbbc1636aadcb401925a390 100644
|
| --- a/ui/events/ozone/evdev/key_event_converter_ozone.cc
|
| +++ b/ui/events/ozone/evdev/key_event_converter.cc
|
| @@ -2,7 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "ui/events/ozone/evdev/key_event_converter_ozone.h"
|
| +#include "ui/events/ozone/evdev/key_event_converter.h"
|
|
|
| #include <linux/input.h>
|
|
|
| @@ -155,10 +155,10 @@ ui::KeyboardCode KeyboardCodeFromButton(unsigned int code) {
|
| namespace ui {
|
|
|
| // TODO(rjkroege): Stop leaking file descriptor.
|
| -KeyEventConverterOzone::KeyEventConverterOzone() {}
|
| -KeyEventConverterOzone::~KeyEventConverterOzone() {}
|
| +KeyEventConverterEvdev::KeyEventConverterEvdev() {}
|
| +KeyEventConverterEvdev::~KeyEventConverterEvdev() {}
|
|
|
| -void KeyEventConverterOzone::OnFileCanReadWithoutBlocking(int fd) {
|
| +void KeyEventConverterEvdev::OnFileCanReadWithoutBlocking(int fd) {
|
| input_event inputs[4];
|
| ssize_t read_size = read(fd, inputs, sizeof(inputs));
|
| if (read_size <= 0)
|
| @@ -180,7 +180,7 @@ void KeyEventConverterOzone::OnFileCanReadWithoutBlocking(int fd) {
|
| }
|
| }
|
|
|
| -void KeyEventConverterOzone::OnFileCanWriteWithoutBlocking(int fd) {
|
| +void KeyEventConverterEvdev::OnFileCanWriteWithoutBlocking(int fd) {
|
| NOTREACHED();
|
| }
|
|
|
|
|