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

Unified Diff: third_party/WebKit/public/platform/WebEventListenerProperties.h

Issue 1577263004: Communicate whether passive event listeners exist to cc. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master_wheel_passive_listeners
Patch Set: Rebase Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698