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

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

Issue 1968923003: Fix include path for moved thread_task_runner_handle.h header in ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: Created 4 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/ozone/evdev/event_thread_evdev.h" 5 #include "ui/events/ozone/evdev/event_thread_evdev.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/thread_task_runner_handle.h"
13 #include "base/threading/thread.h" 12 #include "base/threading/thread.h"
13 #include "base/threading/thread_task_runner_handle.h"
14 #include "base/trace_event/trace_event.h" 14 #include "base/trace_event/trace_event.h"
15 #include "ui/events/ozone/evdev/device_event_dispatcher_evdev.h" 15 #include "ui/events/ozone/evdev/device_event_dispatcher_evdev.h"
16 #include "ui/events/ozone/evdev/input_device_factory_evdev.h" 16 #include "ui/events/ozone/evdev/input_device_factory_evdev.h"
17 #include "ui/events/ozone/evdev/input_device_factory_evdev_proxy.h" 17 #include "ui/events/ozone/evdev/input_device_factory_evdev_proxy.h"
18 18
19 namespace ui { 19 namespace ui {
20 20
21 namespace { 21 namespace {
22 22
23 // Internal base::Thread subclass for events thread. 23 // Internal base::Thread subclass for events thread.
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 CursorDelegateEvdev* cursor, 75 CursorDelegateEvdev* cursor,
76 const EventThreadStartCallback& callback) { 76 const EventThreadStartCallback& callback) {
77 TRACE_EVENT0("evdev", "EventThreadEvdev::Start"); 77 TRACE_EVENT0("evdev", "EventThreadEvdev::Start");
78 thread_.reset(new EvdevThread(std::move(dispatcher), cursor, callback)); 78 thread_.reset(new EvdevThread(std::move(dispatcher), cursor, callback));
79 if (!thread_->StartWithOptions( 79 if (!thread_->StartWithOptions(
80 base::Thread::Options(base::MessageLoop::TYPE_UI, 0))) 80 base::Thread::Options(base::MessageLoop::TYPE_UI, 0)))
81 LOG(FATAL) << "Failed to create input thread"; 81 LOG(FATAL) << "Failed to create input thread";
82 } 82 }
83 83
84 } // namespace ui 84 } // namespace ui
OLDNEW
« no previous file with comments | « ui/events/ozone/evdev/event_factory_evdev.cc ('k') | ui/events/ozone/evdev/input_controller_evdev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698