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

Side by Side Diff: ui/events/ozone/evdev/input_controller_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 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/ozone/evdev/input_controller_evdev.h" 5 #include "ui/events/ozone/evdev/input_controller_evdev.h"
6 6
7 #include <linux/input.h> 7 #include <linux/input.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 10
11 #include "base/memory/ptr_util.h" 11 #include "base/memory/ptr_util.h"
12 #include "base/thread_task_runner_handle.h" 12 #include "base/threading/thread_task_runner_handle.h"
13 #include "ui/events/devices/device_data_manager.h" 13 #include "ui/events/devices/device_data_manager.h"
14 #include "ui/events/ozone/evdev/input_device_factory_evdev_proxy.h" 14 #include "ui/events/ozone/evdev/input_device_factory_evdev_proxy.h"
15 #include "ui/events/ozone/evdev/keyboard_evdev.h" 15 #include "ui/events/ozone/evdev/keyboard_evdev.h"
16 #include "ui/events/ozone/evdev/mouse_button_map_evdev.h" 16 #include "ui/events/ozone/evdev/mouse_button_map_evdev.h"
17 17
18 namespace ui { 18 namespace ui {
19 19
20 InputControllerEvdev::InputControllerEvdev(KeyboardEvdev* keyboard, 20 InputControllerEvdev::InputControllerEvdev(KeyboardEvdev* keyboard,
21 MouseButtonMapEvdev* button_map) 21 MouseButtonMapEvdev* button_map)
22 : keyboard_(keyboard), button_map_(button_map), weak_ptr_factory_(this) { 22 : keyboard_(keyboard), button_map_(button_map), weak_ptr_factory_(this) {
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 void InputControllerEvdev::UpdateCapsLockLed() { 192 void InputControllerEvdev::UpdateCapsLockLed() {
193 if (!input_device_factory_) 193 if (!input_device_factory_)
194 return; 194 return;
195 bool caps_lock_state = IsCapsLockEnabled(); 195 bool caps_lock_state = IsCapsLockEnabled();
196 if (caps_lock_state != caps_lock_led_state_) 196 if (caps_lock_state != caps_lock_led_state_)
197 input_device_factory_->SetCapsLockLed(caps_lock_state); 197 input_device_factory_->SetCapsLockLed(caps_lock_state);
198 caps_lock_led_state_ = caps_lock_state; 198 caps_lock_led_state_ = caps_lock_state;
199 } 199 }
200 200
201 } // namespace ui 201 } // namespace ui
OLDNEW
« no previous file with comments | « ui/events/ozone/evdev/event_thread_evdev.cc ('k') | ui/events/ozone/evdev/input_device_factory_evdev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698