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

Unified Diff: third_party/WebKit/public/platform/WebLayerTreeView.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/WebLayerTreeView.h
diff --git a/third_party/WebKit/public/platform/WebLayerTreeView.h b/third_party/WebKit/public/platform/WebLayerTreeView.h
index fc9688d5c5474c49aa034848fac5949f3de70bd4..c21285d1528e2d88e21f52939b77c36f83122e6b 100644
--- a/third_party/WebKit/public/platform/WebLayerTreeView.h
+++ b/third_party/WebKit/public/platform/WebLayerTreeView.h
@@ -28,6 +28,7 @@
#include "WebColor.h"
#include "WebCommon.h"
+#include "WebEventListenerProperties.h"
#include "WebFloatPoint.h"
#include "WebNonCopyable.h"
#include "WebPrivateOwnPtr.h"
@@ -142,12 +143,12 @@ public:
virtual void clearSelection() { }
// Input properties ---------------------------------------------------
- virtual void setHaveWheelEventHandlers(bool) { };
+ virtual void setEventListenerProperties(WebEventListenerClass, WebEventListenerProperties) { };
virtual void setHaveScrollEventHandlers(bool) { };
// Debugging / dangerous ---------------------------------------------
- virtual bool haveWheelEventHandlers() const { return false; };
+ virtual WebEventListenerProperties eventListenerProperties(WebEventListenerClass) const { return WebEventListenerProperties::Nothing; };
virtual bool haveScrollEventHandlers() const { return false; };
virtual int layerTreeId() const { return 0; }
« no previous file with comments | « third_party/WebKit/public/platform/WebEventListenerProperties.h ('k') | ui/events/blink/input_handler_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698