platformKeys: Add per-extension sign permissions.
[chromium-blink-merge.git] / ui / events / devices / input_device.cc
blobd57af43165b606199572c727674d06b91ad4f697
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.
5 #include "ui/events/devices/input_device.h"
7 #include <string>
9 namespace ui {
11 // static
12 const unsigned int InputDevice::kInvalidId = 0;
14 InputDevice::InputDevice()
15 : id(kInvalidId), type(InputDeviceType::INPUT_DEVICE_UNKNOWN) {
18 InputDevice::InputDevice(unsigned int id, InputDeviceType type)
19 : id(id), type(type) {
22 InputDevice::~InputDevice() {
25 } // namespace ui