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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/V8EventListenerInfo.h

Issue 2034533002: [DevTools] Add removeFunction to EventListener protocol object (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/bindings/core/v8/V8EventListenerInfo.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8EventListenerInfo.h b/third_party/WebKit/Source/bindings/core/v8/V8EventListenerInfo.h
index 3cb533bba6f1e886f3ce25c2a9debb409931385d..87612e2b4a39bb6b2aaa1473b3b74d8912ee23c0 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8EventListenerInfo.h
+++ b/third_party/WebKit/Source/bindings/core/v8/V8EventListenerInfo.h
@@ -14,11 +14,12 @@ namespace blink {
class V8EventListenerInfo {
public:
- V8EventListenerInfo(AtomicString eventType, bool useCapture, bool passive, v8::Local<v8::Object> handler)
+ V8EventListenerInfo(AtomicString eventType, bool useCapture, bool passive, v8::Local<v8::Object> handler, v8::MaybeLocal<v8::Function> removeFunction)
: eventType(eventType)
, useCapture(useCapture)
, passive(passive)
, handler(handler)
+ , removeFunction(removeFunction)
{
}
@@ -26,7 +27,7 @@ public:
bool useCapture;
bool passive;
v8::Local<v8::Object> handler;
-
+ v8::MaybeLocal<v8::Function> removeFunction;
};
using V8EventListenerInfoList = Vector<V8EventListenerInfo>;

Powered by Google App Engine
This is Rietveld 408576698