| OLD | NEW |
| 1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2016 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_X_EVENTS_X_UTILS_H_ | 5 #ifndef UI_EVENTS_X_EVENTS_X_UTILS_H_ |
| 6 #define UI_EVENTS_X_EVENTS_X_UTILS_H_ | 6 #define UI_EVENTS_X_EVENTS_X_UTILS_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 EVENTS_X_EXPORT bool GetFlingDataFromXEvent(const XEvent& xev, | 78 EVENTS_X_EXPORT bool GetFlingDataFromXEvent(const XEvent& xev, |
| 79 float* vx, | 79 float* vx, |
| 80 float* vy, | 80 float* vy, |
| 81 float* vx_ordinal, | 81 float* vx_ordinal, |
| 82 float* vy_ordinal, | 82 float* vy_ordinal, |
| 83 bool* is_cancel); | 83 bool* is_cancel); |
| 84 | 84 |
| 85 EVENTS_X_EXPORT void ResetTimestampRolloverCountersForTesting( | 85 EVENTS_X_EXPORT void ResetTimestampRolloverCountersForTesting( |
| 86 std::unique_ptr<base::TickClock> tick_clock = nullptr); | 86 std::unique_ptr<base::TickClock> tick_clock = nullptr); |
| 87 | 87 |
| 88 EVENTS_X_EXPORT bool IsVirtualMouseLeaveEvent(const XEvent& xev); |
| 89 |
| 88 } // namespace ui | 90 } // namespace ui |
| 89 | 91 |
| 90 #endif // UI_EVENTS_X_EVENTS_X_UTILS_H_ | 92 #endif // UI_EVENTS_X_EVENTS_X_UTILS_H_ |
| OLD | NEW |