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

Unified Diff: ui/events/ozone/evdev/key_event_converter_evdev.h

Issue 677113002: ozone: evdev: Handle mouse events (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix nits and a small bug Created 6 years, 2 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/events/ozone/evdev/event_factory_evdev.cc ('k') | ui/events/ozone/evdev/key_event_converter_evdev.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/ozone/evdev/key_event_converter_evdev.h
diff --git a/ui/events/ozone/evdev/key_event_converter_evdev.h b/ui/events/ozone/evdev/key_event_converter_evdev.h
deleted file mode 100644
index f1044fafd3b3ff33244ebc92744d363648b68982..0000000000000000000000000000000000000000
--- a/ui/events/ozone/evdev/key_event_converter_evdev.h
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright 2014 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 "base/files/file_path.h"
-#include "base/message_loop/message_pump_libevent.h"
-#include "ui/events/event.h"
-#include "ui/events/ozone/evdev/event_converter_evdev.h"
-#include "ui/events/ozone/evdev/event_modifiers_evdev.h"
-#include "ui/events/ozone/evdev/events_ozone_evdev_export.h"
-#include "ui/events/ozone/evdev/keyboard_evdev.h"
-
-struct input_event;
-
-namespace ui {
-
-class EVENTS_OZONE_EVDEV_EXPORT KeyEventConverterEvdev
- : public EventConverterEvdev {
- public:
- KeyEventConverterEvdev(int fd,
- base::FilePath path,
- int id,
- KeyboardEvdev* keyboard);
- virtual ~KeyEventConverterEvdev();
-
- // EventConverterEvdev:
- virtual void OnFileCanReadWithoutBlocking(int fd) override;
-
- void ProcessEvents(const struct input_event* inputs, int count);
-
- private:
- // Controller for watching the input fd.
- base::MessagePumpLibevent::FileDescriptorWatcher controller_;
-
- // Shared keyboard state.
- KeyboardEvdev* keyboard_;
-
- DISALLOW_COPY_AND_ASSIGN(KeyEventConverterEvdev);
-};
-
-} // namspace ui
-
-#endif // UI_EVENTS_OZONE_EVDEV_KEY_EVENT_CONVERTER_EVDEV_H_
-
« no previous file with comments | « ui/events/ozone/evdev/event_factory_evdev.cc ('k') | ui/events/ozone/evdev/key_event_converter_evdev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698