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

Unified Diff: third_party/WebKit/Source/core/page/ChromeClient.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/Source/core/page/ChromeClient.h
diff --git a/third_party/WebKit/Source/core/page/ChromeClient.h b/third_party/WebKit/Source/core/page/ChromeClient.h
index 9ae983bc954de8cdc7e4e8ba2e8782b71db4708c..f28f6f53ebd5ed0b1fd9605aef6927bfd4dc8998 100644
--- a/third_party/WebKit/Source/core/page/ChromeClient.h
+++ b/third_party/WebKit/Source/core/page/ChromeClient.h
@@ -35,6 +35,7 @@
#include "platform/PopupMenu.h"
#include "platform/heap/Handle.h"
#include "platform/scroll/ScrollTypes.h"
+#include "public/platform/WebEventListenerProperties.h"
#include "public/platform/WebFocusType.h"
#include "wtf/Forward.h"
#include "wtf/PassOwnPtr.h"
@@ -198,9 +199,8 @@ public:
virtual void clearCompositedSelection() { }
virtual void updateCompositedSelection(const CompositedSelection&) { }
- virtual void needTouchEvents(bool) = 0;
- virtual void setHaveWheelEventHandlers(bool) = 0;
- virtual bool haveWheelEventHandlers() const = 0;
+ virtual void setEventListenerProperties(WebEventListenerClass, WebEventListenerProperties) = 0;
+ virtual WebEventListenerProperties eventListenerProperties(WebEventListenerClass) const = 0;
virtual void setHaveScrollEventHandlers(bool) = 0;
virtual bool haveScrollEventHandlers() const = 0;

Powered by Google App Engine
This is Rietveld 408576698