Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "ui/events/input_device.h" | |
| 6 | |
| 7 #include <string> | |
| 8 | |
| 9 namespace ui { | |
| 10 | |
| 11 // static | |
| 12 const int InputDevice::kInvalidId = 0; | |
| 13 | |
| 14 InputDevice::InputDevice( | |
| 15 int id, | |
|
sky
2014/10/20 22:18:44
It's not readily obvious that the id is unique bet
| |
| 16 InputDeviceType type, | |
| 17 const std::string& name) : id(id), type(type), name(name) { | |
| 18 } | |
| 19 | |
| 20 } // namespace ui | |
| OLD | NEW |