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

Unified Diff: third_party/WebKit/Source/platform/v8_inspector/public/V8EventListenerInfo.h

Issue 1950403002: Add the ability to return descedant event listeners. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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/platform/v8_inspector/public/V8EventListenerInfo.h
diff --git a/third_party/WebKit/Source/platform/v8_inspector/public/V8EventListenerInfo.h b/third_party/WebKit/Source/platform/v8_inspector/public/V8EventListenerInfo.h
index 03370be8da27a004a5c15af2daa2dcfdb4c51545..d67063f666e685eca99e31e647834e34cc872e70 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/public/V8EventListenerInfo.h
+++ b/third_party/WebKit/Source/platform/v8_inspector/public/V8EventListenerInfo.h
@@ -14,6 +14,10 @@ namespace blink {
class V8EventListenerInfo {
public:
+ static const unsigned EventListenerFilterShowDescendants = 1 << 0;
caseq 2016/05/20 00:47:24 use enum perhaps?
dtapuska 2016/05/26 20:37:44 Enums that are bitsets aren't permitted in chromiu
+ static const unsigned EventListenerFilterShowPassive = 1 << 1;
+ static const unsigned EventListenerFilterShowBlocking = 1 << 2;
+
V8EventListenerInfo(const String16& eventType, bool useCapture, bool passive, v8::Local<v8::Object> handler)
: eventType(eventType)
, useCapture(useCapture)

Powered by Google App Engine
This is Rietveld 408576698