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

Side by Side Diff: ui/base/ozone/touch_event_converter_ozone.cc

Issue 16897006: Move message_pump to base/message_loop. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « ui/base/ozone/event_factory_ozone.cc ('k') | ui/base/x/device_data_manager.cc » ('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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/base/ozone/touch_event_converter_ozone.h" 5 #include "ui/base/ozone/touch_event_converter_ozone.h"
6 6
7 #include <fcntl.h> 7 #include <fcntl.h>
8 #include <linux/input.h> 8 #include <linux/input.h>
9 #include <poll.h> 9 #include <poll.h>
10 #include <stdio.h> 10 #include <stdio.h>
11 #include <unistd.h> 11 #include <unistd.h>
12 12
13 #include <cmath> 13 #include <cmath>
14 14
15 #include "base/bind.h" 15 #include "base/bind.h"
16 #include "base/callback.h" 16 #include "base/callback.h"
17 #include "base/logging.h" 17 #include "base/logging.h"
18 #include "base/message_loop.h" 18 #include "base/message_loop/message_loop.h"
19 #include "base/message_pump_ozone.h" 19 #include "base/message_loop/message_pump_ozone.h"
20 #include "ui/base/events/event.h" 20 #include "ui/base/events/event.h"
21 #include "ui/base/events/event_constants.h" 21 #include "ui/base/events/event_constants.h"
22 #include "ui/base/ozone/surface_factory_ozone.h" 22 #include "ui/base/ozone/surface_factory_ozone.h"
23 23
24 namespace { 24 namespace {
25 25
26 // Number is determined empirically. 26 // Number is determined empirically.
27 // TODO(rjkroege): Configure this per device. 27 // TODO(rjkroege): Configure this per device.
28 const float kFingerWidth = 25.f; 28 const float kFingerWidth = 25.f;
29 29
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 NOTREACHED() << "SYN_MT events not supported."; 172 NOTREACHED() << "SYN_MT events not supported.";
173 break; 173 break;
174 } 174 }
175 } else { 175 } else {
176 NOTREACHED(); 176 NOTREACHED();
177 } 177 }
178 } 178 }
179 } 179 }
180 180
181 } // namespace ui 181 } // namespace ui
OLDNEW
« no previous file with comments | « ui/base/ozone/event_factory_ozone.cc ('k') | ui/base/x/device_data_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698