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

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

Issue 904733002: Remove useless InputDevice::name field (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 | « ash/virtual_keyboard_controller_unittest.cc ('k') | ui/events/devices/input_device.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/devices/input_device.h
diff --git a/ui/events/devices/input_device.h b/ui/events/devices/input_device.h
index c57758441f95a9d4c0067ae27b45e9b88cb64c42..70ae1924007306044af33db0ebb4c624ef171068 100644
--- a/ui/events/devices/input_device.h
+++ b/ui/events/devices/input_device.h
@@ -24,7 +24,7 @@ struct EVENTS_DEVICES_EXPORT InputDevice {
// Creates an invalid input device.
InputDevice();
- InputDevice(unsigned int id, InputDeviceType type, const std::string& name);
+ InputDevice(unsigned int id, InputDeviceType type);
virtual ~InputDevice();
// ID of the device. This ID is unique between all input devices.
@@ -32,9 +32,6 @@ struct EVENTS_DEVICES_EXPORT InputDevice {
// The type of the input device.
InputDeviceType type;
-
- // Name of the device.
- std::string name;
};
} // namespace ui
« no previous file with comments | « ash/virtual_keyboard_controller_unittest.cc ('k') | ui/events/devices/input_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698