OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 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 CC_INPUT_EVENT_LISTENER_PROPERTIES_H_ | 5 #ifndef CC_INPUT_EVENT_LISTENER_PROPERTIES_H_ |
6 #define CC_INPUT_EVENT_LISTENER_PROPERTIES_H_ | 6 #define CC_INPUT_EVENT_LISTENER_PROPERTIES_H_ |
7 | 7 |
8 namespace cc { | 8 namespace cc { |
9 | 9 |
10 enum class EventListenerClass { | 10 enum class EventListenerClass { |
11 // This value includes "touchstart", "touchmove", and "pointer" events. | 11 // This value includes "touchstart", "touchmove", and "pointer" events. |
12 kTouchStartOrMove, | 12 kTouchStartOrMove, |
13 // This value includes "wheel" and "mousewheel" events. | 13 // This value includes "wheel" and "mousewheel" events. |
14 kMouseWheel, | 14 kMouseWheel, |
15 // This value includes "touchend" and "touchcancel" events. | 15 // This value includes "touchend" and "touchcancel" events. |
16 kTouchEndOrCancel, | 16 kTouchEndOrCancel, |
17 kNumClasses | 17 kNumClasses |
18 }; | 18 }; |
19 | 19 |
20 enum class EventListenerProperties { | 20 enum class EventListenerProperties { |
21 kNone, | 21 kNone, |
22 kPassive, | 22 kPassive, |
23 kBlocking, | 23 kBlocking, |
24 kBlockingAndPassive, | 24 kBlockingAndPassive, |
| 25 kBlockingAndPassiveDueToFling, |
25 kMax | 26 kMax |
26 }; | 27 }; |
27 | 28 |
28 } // namespace cc | 29 } // namespace cc |
29 | 30 |
30 #endif // CC_INPUT_EVENT_LISTENER_PROPERTIES_H_ | 31 #endif // CC_INPUT_EVENT_LISTENER_PROPERTIES_H_ |
OLD | NEW |