Chromium Code Reviews| Index: third_party/WebKit/public/platform/WebEventListenerProperties.h |
| diff --git a/third_party/WebKit/public/platform/WebEventListenerProperties.h b/third_party/WebKit/public/platform/WebEventListenerProperties.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..39a617655cbe8e02f8a3781ed0e77f9445717f4a |
| --- /dev/null |
| +++ b/third_party/WebKit/public/platform/WebEventListenerProperties.h |
| @@ -0,0 +1,26 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef WebEventListenerProperties_h |
| +#define WebEventListenerProperties_h |
| + |
| +#include "WebCommon.h" |
| + |
| +namespace blink { |
| + |
| +enum class WebEventListenerClass { |
| + Touch, // This value includes "pointer" events. |
| + MouseWheel // This value includes "wheel" and "mousewheel" events. |
| +}; |
| + |
| +// Indicates the variety of event listener types for a given WebEventListenerClass. |
| +enum class WebEventListenerProperties { |
| + Nothing, // This should be "None"; but None #defined in X11's X.h |
| + Passive, |
| + Blocking, |
|
Rick Byers
2016/02/04 22:18:57
nit: add a comment clarifying that Blocking includ
|
| +}; |
| + |
| +} // namespace blink |
| + |
| +#endif |