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

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

Issue 2825383003: Fix stylus tools palette. (Closed)
Patch Set: Fix nits. Created 3 years, 7 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 | « tools/metrics/histograms/enums.xml ('k') | ui/events/devices/touchscreen_device.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/devices/input_device.cc
diff --git a/ui/events/devices/input_device.cc b/ui/events/devices/input_device.cc
index 4734edd0280986dc11f231b3a65394e6db004d4b..b60f85a0a15afc0a662174820090ccebb6bf46a0 100644
--- a/ui/events/devices/input_device.cc
+++ b/ui/events/devices/input_device.cc
@@ -12,8 +12,10 @@ namespace ui {
const int InputDevice::kInvalidId = 0;
InputDevice::InputDevice()
- : id(kInvalidId), type(InputDeviceType::INPUT_DEVICE_UNKNOWN) {
-}
+ : id(kInvalidId),
+ type(InputDeviceType::INPUT_DEVICE_UNKNOWN),
+ vendor_id(0),
+ product_id(0) {}
InputDevice::InputDevice(int id, InputDeviceType type, const std::string& name)
: id(id), type(type), name(name), vendor_id(0), product_id(0) {
« no previous file with comments | « tools/metrics/histograms/enums.xml ('k') | ui/events/devices/touchscreen_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698