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

Unified Diff: third_party/WebKit/public/platform/WebLayer.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 Android/ChromeOS build problems with bit packed enum class Created 4 years, 11 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/WebLayer.h
diff --git a/third_party/WebKit/public/platform/WebLayer.h b/third_party/WebKit/public/platform/WebLayer.h
index 6ef2535c64630774d818aaf3fd53fd9e8ec67261..c5d4b7205c238d7adc584b476df368f6ab031b0d 100644
--- a/third_party/WebKit/public/platform/WebLayer.h
+++ b/third_party/WebKit/public/platform/WebLayer.h
@@ -31,6 +31,7 @@
#include "WebCommon.h"
#include "WebCompositorAnimation.h"
#include "WebDoublePoint.h"
+#include "WebEventListenerProperties.h"
#include "WebFloatPoint3D.h"
#include "WebPoint.h"
#include "WebRect.h"
@@ -201,8 +202,11 @@ public:
virtual bool userScrollableHorizontal() const = 0;
virtual bool userScrollableVertical() const = 0;
- virtual void setHaveWheelEventHandlers(bool) = 0;
- virtual bool haveWheelEventHandlers() const = 0;
+ virtual void setTouchEventListenerProperties(WebEventListenerProperties) = 0;
+ virtual WebEventListenerProperties touchEventListenerProperties() const = 0;
+
+ virtual void setWheelEventListenerProperties(WebEventListenerProperties) = 0;
+ virtual WebEventListenerProperties wheelEventListenerProperties() const = 0;
virtual void setHaveScrollEventHandlers(bool) = 0;
virtual bool haveScrollEventHandlers() const = 0;
« cc/layers/layer_impl.cc ('K') | « third_party/WebKit/public/platform/WebEventListenerProperties.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698