OLD | NEW |
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 #ifndef UI_EVENTS_GESTURE_DETECTION_UI_GESTURE_PROVIDER_H_ | 5 #ifndef UI_EVENTS_GESTURE_DETECTION_UI_GESTURE_PROVIDER_H_ |
6 #define UI_EVENTS_GESTURE_DETECTION_UI_GESTURE_PROVIDER_H_ | 6 #define UI_EVENTS_GESTURE_DETECTION_UI_GESTURE_PROVIDER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "ui/events/event.h" | 9 #include "ui/events/event.h" |
10 #include "ui/events/events_export.h" | 10 #include "ui/events/events_export.h" |
(...skipping 28 matching lines...) Expand all Loading... |
39 bool IsConsideredDoubleTap(const GestureEventData& previous_tap, | 39 bool IsConsideredDoubleTap(const GestureEventData& previous_tap, |
40 const GestureEventData& current_tap) const; | 40 const GestureEventData& current_tap) const; |
41 | 41 |
42 scoped_ptr<GestureEventData> previous_tap_; | 42 scoped_ptr<GestureEventData> previous_tap_; |
43 | 43 |
44 GestureProviderAuraClient* client_; | 44 GestureProviderAuraClient* client_; |
45 MotionEventAura pointer_state_; | 45 MotionEventAura pointer_state_; |
46 FilteredGestureProvider filtered_gesture_provider_; | 46 FilteredGestureProvider filtered_gesture_provider_; |
47 | 47 |
48 int last_touch_event_flags_; | 48 int last_touch_event_flags_; |
| 49 ui::LatencyInfo last_touch_event_latency_info_; |
49 | 50 |
50 DISALLOW_COPY_AND_ASSIGN(GestureProviderAura); | 51 DISALLOW_COPY_AND_ASSIGN(GestureProviderAura); |
51 }; | 52 }; |
52 | 53 |
53 } // namespace ui | 54 } // namespace ui |
54 | 55 |
55 #endif // UI_EVENTS_GESTURE_DETECTION_UI_GESTURE_PROVIDER_H_ | 56 #endif // UI_EVENTS_GESTURE_DETECTION_UI_GESTURE_PROVIDER_H_ |
OLD | NEW |