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

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: Fix nits 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..56ec72fd5e317a52069c8b8329fb5cb9710ef525
--- /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, // This indicates >= 1 blocking listener (and >= 0 passive listeners)
+};
+
+} // namespace blink
+
+#endif

Powered by Google App Engine
This is Rietveld 408576698