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

Unified Diff: third_party/WebKit/Source/platform/v8_inspector/JavaScriptCallFrame.h

Issue 1653053002: Devtools: parse variables scopes and sourcemap them (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/platform/v8_inspector/JavaScriptCallFrame.h
diff --git a/third_party/WebKit/Source/platform/v8_inspector/JavaScriptCallFrame.h b/third_party/WebKit/Source/platform/v8_inspector/JavaScriptCallFrame.h
index 6a8060ed60c2a6553041aa1c960b3e2584e7657b..06d6e5fc3de8b7e0d9501ff1c186b32aac73872c 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/JavaScriptCallFrame.h
+++ b/third_party/WebKit/Source/platform/v8_inspector/JavaScriptCallFrame.h
@@ -60,6 +60,8 @@ public:
v8::Local<v8::Value> scopeChain() const;
int scopeType(int scopeIndex) const;
v8::Local<v8::String> scopeName(int scopeIndex) const;
+ v8::Local<v8::Value> scopeStartLocation(int scopeIndex) const;
+ v8::Local<v8::Value> scopeEndLocation(int scopeIndex) const;
v8::Local<v8::Value> thisObject() const;
String stepInPositions() const;
bool isAtReturn() const;
@@ -82,6 +84,7 @@ private:
int callV8FunctionReturnInt(const char* name) const;
String callV8FunctionReturnString(const char* name) const;
+ v8::Local<v8::Value> callScopeLocationFunction(const char* name, int scopeIndex) const;
V8DebuggerClient* m_client;
v8::Isolate* m_isolate;

Powered by Google App Engine
This is Rietveld 408576698