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

Unified Diff: ui/events/ozone/device/device_manager_manual.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/device/device_manager_manual.h ('k') | ui/events/ozone/device/udev/device_manager_udev.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/ozone/device/device_manager_manual.cc
diff --git a/ui/events/ozone/device/device_manager_manual.cc b/ui/events/ozone/device/device_manager_manual.cc
deleted file mode 100644
index c86ffccf62bdae50079e2927d77841a24cefdc7d..0000000000000000000000000000000000000000
--- a/ui/events/ozone/device/device_manager_manual.cc
+++ /dev/null
@@ -1,33 +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/device/device_manager_manual.h"
-
-#include "base/files/file_enumerator.h"
-#include "ui/events/ozone/device/device_event.h"
-#include "ui/events/ozone/device/device_event_observer.h"
-
-namespace ui {
-
-DeviceManagerManual::DeviceManagerManual() {}
-
-DeviceManagerManual::~DeviceManagerManual() {}
-
-void DeviceManagerManual::ScanDevices(DeviceEventObserver* observer) {
- base::FileEnumerator file_enum(base::FilePath("/dev/input"),
- false,
- base::FileEnumerator::FILES,
- "event*[0-9]");
- for (base::FilePath path = file_enum.Next(); !path.empty();
- path = file_enum.Next()) {
- DeviceEvent event(DeviceEvent::INPUT, DeviceEvent::ADD, path);
- observer->OnDeviceEvent(event);
- }
-}
-
-void DeviceManagerManual::AddObserver(DeviceEventObserver* observer) {}
-
-void DeviceManagerManual::RemoveObserver(DeviceEventObserver* observer) {}
-
-} // namespace ui
« no previous file with comments | « ui/events/ozone/device/device_manager_manual.h ('k') | ui/events/ozone/device/udev/device_manager_udev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698