Chromium Code Reviews| 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 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 Touch, // This value includes "pointer" events. |
| 14 MouseWheel // This value includes "wheel" and "mousewheel" events. | 14 MouseWheel // This value includes "wheel" and "mousewheel" events. |
| 15 }; | 15 }; |
| 16 | 16 |
| 17 // Indicates the variety of event listener types for a given WebEventListenerCla ss. | 17 // Indicates the variety of event listener types for a given WebEventListenerCla ss. |
| 18 enum class WebEventListenerProperties { | 18 enum class WebEventListenerProperties { |
| 19 Nothing, // This should be "None"; but None #defined in X11's X.h | 19 Nothing, // This should be "None"; but None #defined in X11's X.h |
| 20 Passive, | 20 Passive, // This indicates soley passive listeners. |
|
aelias_OOO_until_Jul13
2016/02/10 20:33:47
Typo: "solely"
| |
| 21 Blocking, // This indicates >= 1 blocking listener (and >= 0 passive listene rs) | 21 Blocking, // This indicates solely blocking listeners. |
| 22 BlockingAndPassive, // This indicates >= 1 blocking listener and >= 1 passiv e listeners. | |
| 22 }; | 23 }; |
| 23 | 24 |
| 24 } // namespace blink | 25 } // namespace blink |
| 25 | 26 |
| 26 #endif | 27 #endif |
| OLD | NEW |