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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.h

Issue 2687003002: DevTools RDP: add parameters to DOMDebugger.getEventListeners (Closed)
Patch Set: f-e compile Created 3 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/inspector/InspectorDOMDebuggerAgent.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.h b/third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.h
index 16560788576ce86b3707a9b7d58ae8d0a27891c8..7349008ea0dd514a97ce1bd2ba07173c94d2fca8 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.h
@@ -58,7 +58,7 @@ class CORE_EXPORT InspectorDOMDebuggerAgent final
public:
static void eventListenersInfoForTarget(v8::Isolate*,
v8::Local<v8::Value>,
- V8EventListenerInfoList& listeners);
+ V8EventListenerInfoList* listeners);
InspectorDOMDebuggerAgent(v8::Isolate*,
InspectorDOMAgent*,
@@ -79,6 +79,8 @@ class CORE_EXPORT InspectorDOMDebuggerAgent final
Response removeXHRBreakpoint(const String& url) override;
Response getEventListeners(
const String& objectId,
+ Maybe<int> depth,
+ Maybe<bool> pierce,
std::unique_ptr<protocol::Array<protocol::DOMDebugger::EventListener>>*
listeners) override;
@@ -105,6 +107,11 @@ class CORE_EXPORT InspectorDOMDebuggerAgent final
void didCommitLoadForLocalFrame(LocalFrame*) override;
private:
+ static void eventListenersInfoForTarget(v8::Isolate*,
+ v8::Local<v8::Value>,
+ int depth,
+ bool pierce,
+ V8EventListenerInfoList* listeners);
void pauseOnNativeEventIfNeeded(
std::unique_ptr<protocol::DictionaryValue> eventData,
bool synchronous);

Powered by Google App Engine
This is Rietveld 408576698