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

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

Issue 685793002: Move all event related devices from ui/events/ to ui/events/devices/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@internal-touchscreens
Patch Set: fix ozone Created 6 years, 1 month 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
« no previous file with comments | « ui/events/devices/input_device.h ('k') | ui/events/devices/input_device_event_observer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/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
11 // static 11 // static
12 const unsigned int InputDevice::kInvalidId = 0; 12 const unsigned int InputDevice::kInvalidId = 0;
13 13
14 InputDevice::InputDevice() 14 InputDevice::InputDevice()
15 : id(kInvalidId), type(InputDeviceType::INPUT_DEVICE_UNKNOWN) { 15 : id(kInvalidId), type(InputDeviceType::INPUT_DEVICE_UNKNOWN) {
16 } 16 }
17 17
18 InputDevice::InputDevice(unsigned int id, 18 InputDevice::InputDevice(unsigned int id,
19 InputDeviceType type, 19 InputDeviceType type,
20 const std::string& name) 20 const std::string& name)
21 : id(id), type(type), name(name) { 21 : id(id), type(type), name(name) {
22 } 22 }
23 23
24 InputDevice::~InputDevice() { 24 InputDevice::~InputDevice() {
25 } 25 }
26 26
27 } // namespace ui 27 } // namespace ui
OLDNEW
« no previous file with comments | « ui/events/devices/input_device.h ('k') | ui/events/devices/input_device_event_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698