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

Side by Side Diff: ui/events/devices/input_device.cc

Issue 2827803002: Make Interaction Media Features MQ dynamic on Linux. (Closed)
Patch Set: Rebase and fix test failures 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/events/devices/input_device.h" 5 #include "ui/events/devices/input_device.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 namespace ui { 9 namespace ui {
10 10
(...skipping 12 matching lines...) Expand all
23 23
24 InputDevice::InputDevice(int id, 24 InputDevice::InputDevice(int id,
25 InputDeviceType type, 25 InputDeviceType type,
26 const std::string& name, 26 const std::string& name,
27 const base::FilePath& sys_path, 27 const base::FilePath& sys_path,
28 uint16_t vendor, 28 uint16_t vendor,
29 uint16_t product) 29 uint16_t product)
30 : id(id), 30 : id(id),
31 type(type), 31 type(type),
32 name(name), 32 name(name),
33 enabled(true),
33 sys_path(sys_path), 34 sys_path(sys_path),
34 vendor_id(vendor), 35 vendor_id(vendor),
35 product_id(product) {} 36 product_id(product) {}
36 37
37 InputDevice::InputDevice(const InputDevice& other) = default; 38 InputDevice::InputDevice(const InputDevice& other) = default;
38 39
39 InputDevice::~InputDevice() { 40 InputDevice::~InputDevice() {
40 } 41 }
41 42
42 } // namespace ui 43 } // namespace ui
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698