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

Side by Side Diff: third_party/WebKit/public/platform/WebEventListenerProperties.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
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 WebEventListenerProperties_h 5 #ifndef WebEventListenerProperties_h
6 #define WebEventListenerProperties_h 6 #define WebEventListenerProperties_h
7 7
8 #include "WebCommon.h" 8 #include "WebCommon.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 enum class WebEventListenerClass { 12 enum class WebEventListenerClass {
13 Touch, // This value includes "pointer" events. 13 TouchStartOrMove, // This value includes "touchstart", "touchmove" and "poin ter" events.
14 MouseWheel // This value includes "wheel" and "mousewheel" events. 14 MouseWheel, // This value includes "wheel" and "mousewheel" events.
15 TouchEndOrCancel, // This value includes "touchend", "touchcancel" events.
15 }; 16 };
16 17
17 // Indicates the variety of event listener types for a given WebEventListenerCla ss. 18 // Indicates the variety of event listener types for a given WebEventListenerCla ss.
18 enum class WebEventListenerProperties { 19 enum class WebEventListenerProperties {
19 Nothing, // This should be "None"; but None #defined in X11's X.h 20 Nothing, // This should be "None"; but None #defined in X11's X.h
20 Passive, // This indicates solely passive listeners. 21 Passive, // This indicates solely passive listeners.
21 Blocking, // This indicates solely blocking listeners. 22 Blocking, // This indicates solely blocking listeners.
22 BlockingAndPassive, // This indicates >= 1 blocking listener and >= 1 passiv e listeners. 23 BlockingAndPassive, // This indicates >= 1 blocking listener and >= 1 passiv e listeners.
23 }; 24 };
24 25
25 } // namespace blink 26 } // namespace blink
26 27
27 #endif 28 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/tests/WebViewTest.cpp ('k') | ui/events/blink/input_handler_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698