Index: ui/events/touchscreen_device.h |
diff --git a/ui/events/touchscreen_device.h b/ui/events/touchscreen_device.h |
index 669f3061f3374a7962d1d768012e26be1783f833..3ca8159c28094b204b6d6ae301592badfd9ade3e 100644 |
--- a/ui/events/touchscreen_device.h |
+++ b/ui/events/touchscreen_device.h |
@@ -5,25 +5,21 @@ |
#ifndef UI_EVENTS_TOUCHSCREEN_DEVICE_H_ |
#define UI_EVENTS_TOUCHSCREEN_DEVICE_H_ |
+#include <string> |
+ |
#include "ui/events/events_base_export.h" |
+#include "ui/events/input_device.h" |
#include "ui/gfx/geometry/size.h" |
namespace ui { |
// Represents a Touchscreen device state. |
-struct EVENTS_BASE_EXPORT TouchscreenDevice { |
- static const int kInvalidId; |
- |
- TouchscreenDevice(int id, const gfx::Size& size, bool is_internal); |
- |
- // ID of the touch screen. This ID must uniquely identify the touch screen. |
- int id; |
+struct EVENTS_BASE_EXPORT TouchscreenDevice : public InputDevice { |
+ TouchscreenDevice(int id, InputDeviceType type, const std::string& name, |
+ const gfx::Size& size); |
pkotwicz
2014/10/05 18:53:02
Nit: According to the Chromium style guide, if all
rsadam
2014/10/06 15:40:17
Done.
|
// Size of the touch screen area. |
gfx::Size size; |
- |
- // True if this is an internal touchscreen. |
- bool is_internal; |
}; |
} // namespace ui |