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

Unified Diff: Source/core/inspector/InjectedScript.h

Issue 1268353005: [DevTools] Support JQuery event listeners (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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: Source/core/inspector/InjectedScript.h
diff --git a/Source/core/inspector/InjectedScript.h b/Source/core/inspector/InjectedScript.h
index bfe33e4a3f7337862db14bb92d88d6825592b421..5fa0d191ee9123d3cbca9c128304887fdfa06d58 100644
--- a/Source/core/inspector/InjectedScript.h
+++ b/Source/core/inspector/InjectedScript.h
@@ -113,6 +113,9 @@ public:
void setCustomObjectFormatterEnabled(bool);
+ v8::Local<v8::Array> frameworkUserEventListeners(v8::Local<v8::Value>);
+ v8::Local<v8::Set> frameworkInternalEventHandlers(v8::Local<v8::Value>);
+
private:
friend InjectedScript InjectedScriptManager::injectedScriptFor(ScriptState*);
using InspectedStateAccessCheck = bool (*)(ScriptState*);
@@ -125,6 +128,7 @@ private:
void makeCall(ScriptFunctionCall&, RefPtr<JSONValue>* result);
void makeEvalCall(ErrorString*, ScriptFunctionCall&, RefPtr<TypeBuilder::Runtime::RemoteObject>* result, TypeBuilder::OptOutput<bool>* wasThrown, RefPtr<TypeBuilder::Debugger::ExceptionDetails>* = 0);
void makeCallWithExceptionDetails(ScriptFunctionCall&, RefPtr<JSONValue>* result, RefPtr<TypeBuilder::Debugger::ExceptionDetails>*);
+ ScriptValue callMethod(String methodName, v8::Local<v8::Value>);
ScriptValue m_injectedScriptObject;
InspectedStateAccessCheck m_inspectedStateAccessCheck;

Powered by Google App Engine
This is Rietveld 408576698