Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Side by Side Diff: cc/input/event_listener_properties.h

Issue 2471523002: Make touch events uncancelable during fling when they are on the current active scroll layer (Closed)
Patch Set: fling layer Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | cc/input/input_handler.h » ('j') | cc/trees/layer_tree_host_impl.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_
OLDNEW
« no previous file with comments | « no previous file | cc/input/input_handler.h » ('j') | cc/trees/layer_tree_host_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698