| 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> |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 | 28 |
| 29 typedef base::Callback<void(std::unique_ptr<std::vector<base::FilePath>>)> | 29 typedef base::Callback<void(std::unique_ptr<std::vector<base::FilePath>>)> |
| 30 GetTouchEventLogReply; | 30 GetTouchEventLogReply; |
| 31 | 31 |
| 32 // Utility functions for generating gesture related logs. These logs will be | 32 // Utility functions for generating gesture related logs. These logs will be |
| 33 // included in user feedback reports. | 33 // included in user feedback reports. |
| 34 void DumpTouchDeviceStatus(GesturePropertyProvider* provider, | 34 void DumpTouchDeviceStatus(GesturePropertyProvider* provider, |
| 35 std::string* status); | 35 std::string* status); |
| 36 | 36 |
| 37 void DumpTouchEventLog( | 37 void DumpTouchEventLog( |
| 38 std::map<base::FilePath, EventConverterEvdev*>& converter, | 38 const std::map<base::FilePath, std::unique_ptr<EventConverterEvdev>>& |
| 39 converter, |
| 39 GesturePropertyProvider* provider, | 40 GesturePropertyProvider* provider, |
| 40 const base::FilePath& out_dir, | 41 const base::FilePath& out_dir, |
| 41 std::unique_ptr<std::vector<base::FilePath>> log_paths, | 42 std::unique_ptr<std::vector<base::FilePath>> log_paths, |
| 42 const GetTouchEventLogReply& reply); | 43 const GetTouchEventLogReply& reply); |
| 43 | 44 |
| 44 } // namespace ui | 45 } // namespace ui |
| 45 | 46 |
| 46 #endif // UI_EVENTS_OZONE_EVDEV_LIBGESTURES_GLUE_GESTURE_FEEDBACK_H_ | 47 #endif // UI_EVENTS_OZONE_EVDEV_LIBGESTURES_GLUE_GESTURE_FEEDBACK_H_ |
| OLD | NEW |