| OLD | NEW |
| 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 | 107 |
| 108 v8::MaybeLocal<v8::Value> functionScopes(v8::Local<v8::Function>); | 108 v8::MaybeLocal<v8::Value> functionScopes(v8::Local<v8::Function>); |
| 109 v8::MaybeLocal<v8::Array> internalProperties(v8::Local<v8::Context>, v8::Loc
al<v8::Value>); | 109 v8::MaybeLocal<v8::Array> internalProperties(v8::Local<v8::Context>, v8::Loc
al<v8::Value>); |
| 110 | 110 |
| 111 v8::Isolate* isolate() const { return m_isolate; } | 111 v8::Isolate* isolate() const { return m_isolate; } |
| 112 V8DebuggerClient* client() { return m_client; } | 112 V8DebuggerClient* client() { return m_client; } |
| 113 | 113 |
| 114 v8::MaybeLocal<v8::Value> runCompiledScript(v8::Local<v8::Context>, v8::Loca
l<v8::Script>); | 114 v8::MaybeLocal<v8::Value> runCompiledScript(v8::Local<v8::Context>, v8::Loca
l<v8::Script>); |
| 115 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[]
); | 115 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[]
); |
| 116 v8::MaybeLocal<v8::Value> compileAndRunInternalScript(v8::Local<v8::Context>
, v8::Local<v8::String>); | 116 v8::MaybeLocal<v8::Value> compileAndRunInternalScript(v8::Local<v8::Context>
, v8::Local<v8::String>); |
| 117 v8::Local<v8::Script> compileInternalScript(v8::Local<v8::Context>, v8::Loca
l<v8::String>, const String16& fileName); | 117 v8::Local<v8::Script> compileScript(v8::Local<v8::Context>, v8::Local<v8::St
ring>, const String16& fileName, bool markAsInternal); |
| 118 v8::Local<v8::Context> regexContext(); | 118 v8::Local<v8::Context> regexContext(); |
| 119 | 119 |
| 120 void enableStackCapturingIfNeeded(); | 120 void enableStackCapturingIfNeeded(); |
| 121 void disableStackCapturingIfNeeded(); | 121 void disableStackCapturingIfNeeded(); |
| 122 V8ConsoleMessageStorage* ensureConsoleMessageStorage(int contextGroupId); | 122 V8ConsoleMessageStorage* ensureConsoleMessageStorage(int contextGroupId); |
| 123 | 123 |
| 124 // V8Debugger implementation | 124 // V8Debugger implementation |
| 125 std::unique_ptr<V8InspectorSession> connect(int contextGroupId, protocol::Fr
ontendChannel*, V8InspectorSessionClient*, const String16* state) override; | 125 std::unique_ptr<V8InspectorSession> connect(int contextGroupId, protocol::Fr
ontendChannel*, V8InspectorSessionClient*, const String16* state) override; |
| 126 void contextCreated(const V8ContextInfo&) override; | 126 void contextCreated(const V8ContextInfo&) override; |
| 127 void contextDestroyed(v8::Local<v8::Context>) override; | 127 void contextDestroyed(v8::Local<v8::Context>) override; |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 int m_maxAsyncCallStackDepth; | 200 int m_maxAsyncCallStackDepth; |
| 201 std::vector<void*> m_currentTasks; | 201 std::vector<void*> m_currentTasks; |
| 202 std::vector<std::unique_ptr<V8StackTraceImpl>> m_currentStacks; | 202 std::vector<std::unique_ptr<V8StackTraceImpl>> m_currentStacks; |
| 203 protocol::HashMap<V8DebuggerAgentImpl*, int> m_maxAsyncCallStackDepthMap; | 203 protocol::HashMap<V8DebuggerAgentImpl*, int> m_maxAsyncCallStackDepthMap; |
| 204 }; | 204 }; |
| 205 | 205 |
| 206 } // namespace blink | 206 } // namespace blink |
| 207 | 207 |
| 208 | 208 |
| 209 #endif // V8DebuggerImpl_h | 209 #endif // V8DebuggerImpl_h |
| OLD | NEW |