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

Side by Side Diff: third_party/WebKit/Source/platform/v8_inspector/V8DebuggerImpl.h

Issue 1804043002: Revert of Remove V8RecrusionScope, cleanup call sites. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2010, Google Inc. All rights reserved. 2 * Copyright (c) 2010, Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 v8::Local<v8::Context> pausedContext() { return m_pausedContext; } 91 v8::Local<v8::Context> pausedContext() { return m_pausedContext; }
92 92
93 v8::MaybeLocal<v8::Value> functionScopes(v8::Local<v8::Function>); 93 v8::MaybeLocal<v8::Value> functionScopes(v8::Local<v8::Function>);
94 v8::Local<v8::Value> generatorObjectDetails(v8::Local<v8::Object>&); 94 v8::Local<v8::Value> generatorObjectDetails(v8::Local<v8::Object>&);
95 v8::Local<v8::Value> collectionEntries(v8::Local<v8::Object>&); 95 v8::Local<v8::Value> collectionEntries(v8::Local<v8::Object>&);
96 v8::MaybeLocal<v8::Value> setFunctionVariableValue(v8::Local<v8::Value> func tionValue, int scopeNumber, const String16& variableName, v8::Local<v8::Value> n ewValue); 96 v8::MaybeLocal<v8::Value> setFunctionVariableValue(v8::Local<v8::Value> func tionValue, int scopeNumber, const String16& variableName, v8::Local<v8::Value> n ewValue);
97 97
98 v8::Isolate* isolate() const { return m_isolate; } 98 v8::Isolate* isolate() const { return m_isolate; }
99 V8DebuggerClient* client() { return m_client; } 99 V8DebuggerClient* client() { return m_client; }
100 100
101 v8::MaybeLocal<v8::Value> runCompiledScript(v8::Local<v8::Context>, v8::Loca l<v8::Script>);
102 v8::MaybeLocal<v8::Value> callFunction(v8::Local<v8::Function>, v8::Local<v8 ::Context>, v8::Local<v8::Value> receiver, int argc, v8::Local<v8::Value> info[] );
103 v8::MaybeLocal<v8::Value> compileAndRunInternalScript(v8::Local<v8::Context> , v8::Local<v8::String>);
104 v8::Local<v8::Script> compileInternalScript(v8::Local<v8::Context>, v8::Loca l<v8::String>, const String16& fileName); 101 v8::Local<v8::Script> compileInternalScript(v8::Local<v8::Context>, v8::Loca l<v8::String>, const String16& fileName);
105 v8::Local<v8::Context> regexContext(); 102 v8::Local<v8::Context> regexContext();
106 103
107 // V8Debugger implementation 104 // V8Debugger implementation
108 void contextCreated(const V8ContextInfo&) override; 105 void contextCreated(const V8ContextInfo&) override;
109 void contextDestroyed(v8::Local<v8::Context>) override; 106 void contextDestroyed(v8::Local<v8::Context>) override;
110 PassOwnPtr<V8StackTrace> createStackTrace(v8::Local<v8::StackTrace>, size_t maxStackSize) override; 107 PassOwnPtr<V8StackTrace> createStackTrace(v8::Local<v8::StackTrace>, size_t maxStackSize) override;
111 PassOwnPtr<V8StackTrace> captureStackTrace(size_t maxStackSize) override; 108 PassOwnPtr<V8StackTrace> captureStackTrace(size_t maxStackSize) override;
112 109
113 private: 110 private:
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 v8::Local<v8::Object> m_executionState; 150 v8::Local<v8::Object> m_executionState;
154 v8::Local<v8::Context> m_pausedContext; 151 v8::Local<v8::Context> m_pausedContext;
155 bool m_runningNestedMessageLoop; 152 bool m_runningNestedMessageLoop;
156 v8::Global<v8::Context> m_regexContext; 153 v8::Global<v8::Context> m_regexContext;
157 }; 154 };
158 155
159 } // namespace blink 156 } // namespace blink
160 157
161 158
162 #endif // V8DebuggerImpl_h 159 #endif // V8DebuggerImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698