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

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

Issue 1895303007: Non passive touch end or touch cancel listeners should not block scroll. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2704
Patch Set: Created 4 years, 8 months 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/proto/layer_tree_host.proto » ('j') | no next file with comments »
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 { kTouch, kMouseWheel, kNumClasses }; 10 enum class EventListenerClass {
11 // This value includes "touchstart", "touchmove", and "pointer" events.
12 kTouchStartOrMove,
13 // This value includes "wheel" and "mousewheel" events.
14 kMouseWheel,
15 // This value includes "touchend" and "touchcancel" events.
16 kTouchEndOrCancel,
17 kNumClasses
18 };
11 19
12 enum class EventListenerProperties { 20 enum class EventListenerProperties {
13 kNone, 21 kNone,
14 kPassive, 22 kPassive,
15 kBlocking, 23 kBlocking,
16 kBlockingAndPassive, 24 kBlockingAndPassive,
17 kMax 25 kMax
18 }; 26 };
19 27
20 } // namespace cc 28 } // namespace cc
21 29
22 #endif // CC_INPUT_EVENT_LISTENER_PROPERTIES_H_ 30 #endif // CC_INPUT_EVENT_LISTENER_PROPERTIES_H_
OLDNEW
« no previous file with comments | « no previous file | cc/proto/layer_tree_host.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698