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

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

Issue 250793005: Refactor Udev device support in Ozone and add a DRM hotplug monitor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 8 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/udev/scoped_udev.h ('k') | ui/events/ozone/evdev/device_manager_evdev.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/ozone/evdev/device_manager_evdev.h
diff --git a/ui/events/ozone/evdev/device_manager_evdev.h b/ui/events/ozone/evdev/device_manager_evdev.h
deleted file mode 100644
index 7c500df70770ce66addcc3d886427d82c1d6a10c..0000000000000000000000000000000000000000
--- a/ui/events/ozone/evdev/device_manager_evdev.h
+++ /dev/null
@@ -1,38 +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_DEVICE_MANAGER_EVDEV_H_
-#define UI_EVENTS_OZONE_EVDEV_DEVICE_MANAGER_EVDEV_H_
-
-#include "base/callback.h"
-#include "base/compiler_specific.h"
-#include "base/files/file_path.h"
-#include "base/memory/scoped_ptr.h"
-
-namespace ui {
-
-typedef base::Callback<void(const base::FilePath& file_path)>
- EvdevDeviceCallback;
-
-// Interface for scanning & monitoring input devices.
-class DeviceManagerEvdev {
- public:
- virtual ~DeviceManagerEvdev();
-
- // Enumerate devices & start watching for changes.
- // Must be balanced by a call to Stop().
- virtual void ScanAndStartMonitoring(
- const EvdevDeviceCallback& device_added,
- const EvdevDeviceCallback& device_removed) = 0;
-
- // Stop watching for device changes.
- virtual void Stop() = 0;
-};
-
-// Create simple DeviceManagerEvdev that scans /dev/input manually.
-scoped_ptr<DeviceManagerEvdev> CreateDeviceManagerManual();
-
-} // namespace ui
-
-#endif // UI_EVENTS_OZONE_EVDEV_DEVICE_MANAGER_EVDEV_H_
« no previous file with comments | « ui/events/ozone/device/udev/scoped_udev.h ('k') | ui/events/ozone/evdev/device_manager_evdev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698