OLD | NEW |
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 #ifndef UI_EVENTS_OZONE_EVDEV_LIBGESTURES_GLUE_GESTURE_FEEDBACK_H_ | 5 #ifndef UI_EVENTS_OZONE_EVDEV_LIBGESTURES_GLUE_GESTURE_FEEDBACK_H_ |
6 #define UI_EVENTS_OZONE_EVDEV_LIBGESTURES_GLUE_GESTURE_FEEDBACK_H_ | 6 #define UI_EVENTS_OZONE_EVDEV_LIBGESTURES_GLUE_GESTURE_FEEDBACK_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
13 #include "base/files/file_path.h" | 13 #include "base/files/file_path.h" |
14 #include "base/files/file_util.h" | 14 #include "base/files/file_util.h" |
15 #include "base/memory/scoped_vector.h" | |
16 #include "ui/events/ozone/evdev/touch_event_converter_evdev.h" | 15 #include "ui/events/ozone/evdev/touch_event_converter_evdev.h" |
17 | 16 |
18 namespace ui { | 17 namespace ui { |
19 | 18 |
20 // Touch event log paths. | 19 // Touch event log paths. |
21 const char kTouchpadGestureLogPath[] = | 20 const char kTouchpadGestureLogPath[] = |
22 "/home/chronos/user/log/touchpad_activity.txt"; | 21 "/home/chronos/user/log/touchpad_activity.txt"; |
23 const char kTouchpadEvdevLogPath[] = | 22 const char kTouchpadEvdevLogPath[] = |
24 "/home/chronos/user/log/cmt_input_events.dat"; | 23 "/home/chronos/user/log/cmt_input_events.dat"; |
25 const char kInputEventsLogFile[] = | 24 const char kInputEventsLogFile[] = |
(...skipping 12 matching lines...) Loading... |
38 void DumpTouchEventLog( | 37 void DumpTouchEventLog( |
39 std::map<base::FilePath, EventConverterEvdev*>& converter, | 38 std::map<base::FilePath, EventConverterEvdev*>& converter, |
40 GesturePropertyProvider* provider, | 39 GesturePropertyProvider* provider, |
41 const base::FilePath& out_dir, | 40 const base::FilePath& out_dir, |
42 scoped_ptr<std::vector<base::FilePath>> log_paths, | 41 scoped_ptr<std::vector<base::FilePath>> log_paths, |
43 const GetTouchEventLogReply& reply); | 42 const GetTouchEventLogReply& reply); |
44 | 43 |
45 } // namespace ui | 44 } // namespace ui |
46 | 45 |
47 #endif // UI_EVENTS_OZONE_EVDEV_LIBGESTURES_GLUE_GESTURE_FEEDBACK_H_ | 46 #endif // UI_EVENTS_OZONE_EVDEV_LIBGESTURES_GLUE_GESTURE_FEEDBACK_H_ |
OLD | NEW |