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

Unified Diff: ui/events/devices/touchscreen_device.cc

Issue 845413002: touch: Change how touch-screen capability is processed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . 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/devices/touchscreen_device.h ('k') | ui/events/devices/x11/touch_factory_x11.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/devices/touchscreen_device.cc
diff --git a/ui/events/devices/touchscreen_device.cc b/ui/events/devices/touchscreen_device.cc
index 87bb9ce318ad49f8a91c5619a74e4fe0a0c8fa57..b8f1d41ad6e9692761349547b7dafdff80c2294b 100644
--- a/ui/events/devices/touchscreen_device.cc
+++ b/ui/events/devices/touchscreen_device.cc
@@ -10,14 +10,15 @@
namespace ui {
-TouchscreenDevice::TouchscreenDevice() {
+TouchscreenDevice::TouchscreenDevice() : touch_points(0) {
}
TouchscreenDevice::TouchscreenDevice(unsigned int id,
InputDeviceType type,
const std::string& name,
- const gfx::Size& size)
- : InputDevice(id, type, name), size(size) {
+ const gfx::Size& size,
+ int touch_points)
+ : InputDevice(id, type, name), size(size), touch_points(touch_points) {
}
} // namespace ui
« no previous file with comments | « ui/events/devices/touchscreen_device.h ('k') | ui/events/devices/x11/touch_factory_x11.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698