| 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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> compileInternalScript(v8::Local<v8::Context>, v8::Loca
l<v8::String>, const String16& fileName); |
| 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 bool hasConsoleMessageStorage(int contextGroupId); |
| 123 | 124 |
| 124 // V8Debugger implementation | 125 // V8Debugger implementation |
| 125 std::unique_ptr<V8InspectorSession> connect(int contextGroupId, protocol::Fr
ontendChannel*, V8InspectorSessionClient*, const String16* state) override; | 126 std::unique_ptr<V8InspectorSession> connect(int contextGroupId, protocol::Fr
ontendChannel*, V8InspectorSessionClient*, const String16* state) override; |
| 126 void contextCreated(const V8ContextInfo&) override; | 127 void contextCreated(const V8ContextInfo&) override; |
| 127 void contextDestroyed(v8::Local<v8::Context>) override; | 128 void contextDestroyed(v8::Local<v8::Context>) override; |
| 128 void resetContextGroup(int contextGroupId) override; | 129 void resetContextGroup(int contextGroupId) override; |
| 129 void willExecuteScript(v8::Local<v8::Context>, int scriptId) override; | 130 void willExecuteScript(v8::Local<v8::Context>, int scriptId) override; |
| 130 void didExecuteScript(v8::Local<v8::Context>) override; | 131 void didExecuteScript(v8::Local<v8::Context>) override; |
| 131 void idleStarted() override; | 132 void idleStarted() override; |
| 132 void idleFinished() override; | 133 void idleFinished() override; |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 int m_maxAsyncCallStackDepth; | 203 int m_maxAsyncCallStackDepth; |
| 203 std::vector<void*> m_currentTasks; | 204 std::vector<void*> m_currentTasks; |
| 204 std::vector<std::unique_ptr<V8StackTraceImpl>> m_currentStacks; | 205 std::vector<std::unique_ptr<V8StackTraceImpl>> m_currentStacks; |
| 205 protocol::HashMap<V8DebuggerAgentImpl*, int> m_maxAsyncCallStackDepthMap; | 206 protocol::HashMap<V8DebuggerAgentImpl*, int> m_maxAsyncCallStackDepthMap; |
| 206 }; | 207 }; |
| 207 | 208 |
| 208 } // namespace blink | 209 } // namespace blink |
| 209 | 210 |
| 210 | 211 |
| 211 #endif // V8DebuggerImpl_h | 212 #endif // V8DebuggerImpl_h |
| OLD | NEW |