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/touchscreen_device.cc

Issue 618283003: Adds special support to the device manager for keyboards devices. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix blocked devices not updating. 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
Index: ui/events/touchscreen_device.cc
diff --git a/ui/events/touchscreen_device.cc b/ui/events/touchscreen_device.cc
index 07844a152c788f362437ee13e3d21496e4efd78c..58c2370d601271a7fba6e868109b45073c9f7410 100644
--- a/ui/events/touchscreen_device.cc
+++ b/ui/events/touchscreen_device.cc
@@ -4,15 +4,17 @@
#include "ui/events/touchscreen_device.h"
-namespace ui {
+#include <string>
+
+#include "ui/events/input_device.h"
-// static
-const int TouchscreenDevice::kInvalidId = 0;
+namespace ui {
TouchscreenDevice::TouchscreenDevice(int id,
- const gfx::Size& size,
- bool is_internal)
- : id(id), size(size), is_internal(is_internal) {
+ InputDeviceType type,
+ const std::string& name,
+ const gfx::Size& size)
+ : InputDevice(id, type, name), size(size) {
}
} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698