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

Unified Diff: ui/events/ozone/evdev/event_converter_evdev.cc

Issue 851853002: It is time. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Trying to reup because the last upload failed. Created 5 years, 11 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_converter_evdev.h ('k') | ui/events/ozone/evdev/event_device_info.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/ozone/evdev/event_converter_evdev.cc
diff --git a/ui/events/ozone/evdev/event_converter_evdev.cc b/ui/events/ozone/evdev/event_converter_evdev.cc
deleted file mode 100644
index 518c7f2cd509a936713f3a9c69264519092f24b5..0000000000000000000000000000000000000000
--- a/ui/events/ozone/evdev/event_converter_evdev.cc
+++ /dev/null
@@ -1,45 +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.
-
-#include "ui/events/ozone/evdev/event_converter_evdev.h"
-
-#include "base/files/file_path.h"
-#include "base/logging.h"
-#include "base/message_loop/message_loop.h"
-
-namespace ui {
-
-EventConverterEvdev::EventConverterEvdev(int fd,
- const base::FilePath& path,
- int id)
- : fd_(fd), path_(path), id_(id) {
-}
-
-EventConverterEvdev::~EventConverterEvdev() {
- Stop();
-}
-
-void EventConverterEvdev::Start() {
- base::MessageLoopForUI::current()->WatchFileDescriptor(
- fd_, true, base::MessagePumpLibevent::WATCH_READ, &controller_, this);
-}
-
-void EventConverterEvdev::Stop() {
- controller_.StopWatchingFileDescriptor();
-}
-
-void EventConverterEvdev::OnFileCanWriteWithoutBlocking(int fd) {
- NOTREACHED();
-}
-
-bool EventConverterEvdev::HasTouchscreen() const {
- return false;
-}
-
-gfx::Size EventConverterEvdev::GetTouchscreenSize() const {
- NOTREACHED();
- return gfx::Size();
-}
-
-} // namespace ui
« no previous file with comments | « ui/events/ozone/evdev/event_converter_evdev.h ('k') | ui/events/ozone/evdev/event_device_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698