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

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

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/base/touch/touch_device_aurax11.cc ('k') | ui/events/devices/touchscreen_device.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/devices/touchscreen_device.h
diff --git a/ui/events/devices/touchscreen_device.h b/ui/events/devices/touchscreen_device.h
index 2f11cec55e5afbd29a9b2f6aaf5aff7704225e00..d7b1fc4a32ab6415bb755f8a7e971acfcf5bf7de 100644
--- a/ui/events/devices/touchscreen_device.h
+++ b/ui/events/devices/touchscreen_device.h
@@ -21,10 +21,12 @@ struct EVENTS_DEVICES_EXPORT TouchscreenDevice : public InputDevice {
TouchscreenDevice(unsigned int id,
InputDeviceType type,
const std::string& name,
- const gfx::Size& size);
+ const gfx::Size& size,
+ int touch_points);
- // Size of the touch screen area.
- gfx::Size size;
+ gfx::Size size; // Size of the touch screen area.
+ int touch_points; // The number of touch points this device supports (0 if
+ // unknown).
};
} // namespace ui
« no previous file with comments | « ui/base/touch/touch_device_aurax11.cc ('k') | ui/events/devices/touchscreen_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698