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

Side by Side Diff: ui/events/ozone/evdev/event_converter_evdev.cc

Issue 1419813009: ozone: evdev: Add missing errno.h #include in event_converter_evdev.cc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « no previous file | no next file » | 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 <errno.h>
5 #include <linux/input.h> 6 #include <linux/input.h>
6 7
7 #include "ui/events/ozone/evdev/event_converter_evdev.h" 8 #include "ui/events/ozone/evdev/event_converter_evdev.h"
8 9
9 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
10 #include "base/logging.h" 11 #include "base/logging.h"
11 #include "base/message_loop/message_loop.h" 12 #include "base/message_loop/message_loop.h"
12 #include "base/trace_event/trace_event.h" 13 #include "base/trace_event/trace_event.h"
13 #include "ui/events/devices/input_device.h" 14 #include "ui/events/devices/input_device.h"
14 15
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 140
140 void EventConverterEvdev::SetTouchEventLoggingEnabled(bool enabled) { 141 void EventConverterEvdev::SetTouchEventLoggingEnabled(bool enabled) {
141 } 142 }
142 143
143 base::TimeDelta EventConverterEvdev::TimeDeltaFromInputEvent( 144 base::TimeDelta EventConverterEvdev::TimeDeltaFromInputEvent(
144 const input_event& event) { 145 const input_event& event) {
145 return base::TimeDelta::FromMicroseconds(event.time.tv_sec * 1000000 + 146 return base::TimeDelta::FromMicroseconds(event.time.tv_sec * 1000000 +
146 event.time.tv_usec); 147 event.time.tv_usec);
147 } 148 }
148 } // namespace ui 149 } // namespace ui
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698