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

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

Issue 893753002: Dump touchpad event logs for touch log source (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased codes. However, seems to have some problems. Created 5 years, 10 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 <algorithm> 7 #include <algorithm>
8 #include <linux/input.h> 8 #include <linux/input.h>
9 9
10 #include "ui/events/ozone/evdev/input_device_factory_evdev_proxy.h" 10 #include "ui/events/ozone/evdev/input_device_factory_evdev_proxy.h"
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 } 140 }
141 141
142 void InputControllerEvdev::GetTouchDeviceStatus( 142 void InputControllerEvdev::GetTouchDeviceStatus(
143 const GetTouchDeviceStatusReply& reply) { 143 const GetTouchDeviceStatusReply& reply) {
144 if (input_device_factory_) 144 if (input_device_factory_)
145 input_device_factory_->GetTouchDeviceStatus(reply); 145 input_device_factory_->GetTouchDeviceStatus(reply);
146 else 146 else
147 reply.Run(make_scoped_ptr(new std::string)); 147 reply.Run(make_scoped_ptr(new std::string));
148 } 148 }
149 149
150 void InputControllerEvdev::GetTouchEventLog(
151 const base::FilePath& out_dir,
152 const GetTouchEventLogReply& reply) {
153 if (input_device_factory_)
154 input_device_factory_->GetTouchEventLog(out_dir, reply);
155 else
156 reply.Run(make_scoped_ptr(new std::vector<base::FilePath>));
157 }
158
150 } // namespace ui 159 } // namespace ui
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698