| 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 V8InspectorClient* client() { return m_client; } | 60 V8InspectorClient* client() { return m_client; } |
| 61 V8Debugger* debugger() { return m_debugger.get(); } | 61 V8Debugger* debugger() { return m_debugger.get(); } |
| 62 | 62 |
| 63 v8::MaybeLocal<v8::Value> runCompiledScript(v8::Local<v8::Context>, v8::Loca
l<v8::Script>); | 63 v8::MaybeLocal<v8::Value> runCompiledScript(v8::Local<v8::Context>, v8::Loca
l<v8::Script>); |
| 64 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[]
); | 64 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[]
); |
| 65 v8::MaybeLocal<v8::Value> compileAndRunInternalScript(v8::Local<v8::Context>
, v8::Local<v8::String>); | 65 v8::MaybeLocal<v8::Value> compileAndRunInternalScript(v8::Local<v8::Context>
, v8::Local<v8::String>); |
| 66 v8::Local<v8::Script> compileScript(v8::Local<v8::Context>, v8::Local<v8::St
ring>, const String16& fileName, bool markAsInternal); | 66 v8::Local<v8::Script> compileScript(v8::Local<v8::Context>, v8::Local<v8::St
ring>, const String16& fileName, bool markAsInternal); |
| 67 v8::Local<v8::Context> regexContext(); | 67 v8::Local<v8::Context> regexContext(); |
| 68 | 68 |
| 69 // V8Inspector implementation. | 69 // V8Inspector implementation. |
| 70 std::unique_ptr<V8InspectorSession> connect(int contextGroupId, protocol::Fr
ontendChannel*, V8InspectorSessionClient*, const String16* state) override; | 70 std::unique_ptr<V8InspectorSession> connect(int contextGroupId, protocol::Fr
ontendChannel*, const String16* state) override; |
| 71 void contextCreated(const V8ContextInfo&) override; | 71 void contextCreated(const V8ContextInfo&) override; |
| 72 void contextDestroyed(v8::Local<v8::Context>) override; | 72 void contextDestroyed(v8::Local<v8::Context>) override; |
| 73 void resetContextGroup(int contextGroupId) override; | 73 void resetContextGroup(int contextGroupId) override; |
| 74 void willExecuteScript(v8::Local<v8::Context>, int scriptId) override; | 74 void willExecuteScript(v8::Local<v8::Context>, int scriptId) override; |
| 75 void didExecuteScript(v8::Local<v8::Context>) override; | 75 void didExecuteScript(v8::Local<v8::Context>) override; |
| 76 void idleStarted() override; | 76 void idleStarted() override; |
| 77 void idleFinished() override; | 77 void idleFinished() override; |
| 78 unsigned exceptionThrown(v8::Local<v8::Context>, const String16& message, v8
::Local<v8::Value> exception, const String16& detailedMessage, const String16& u
rl, unsigned lineNumber, unsigned columnNumber, std::unique_ptr<V8StackTrace>, i
nt scriptId) override; | 78 unsigned exceptionThrown(v8::Local<v8::Context>, const String16& message, v8
::Local<v8::Value> exception, const String16& detailedMessage, const String16& u
rl, unsigned lineNumber, unsigned columnNumber, std::unique_ptr<V8StackTrace>, i
nt scriptId) override; |
| 79 void exceptionRevoked(v8::Local<v8::Context>, unsigned exceptionId, const St
ring16& message) override; | 79 void exceptionRevoked(v8::Local<v8::Context>, unsigned exceptionId, const St
ring16& message) override; |
| 80 std::unique_ptr<V8StackTrace> createStackTrace(v8::Local<v8::StackTrace>) ov
erride; | 80 std::unique_ptr<V8StackTrace> createStackTrace(v8::Local<v8::StackTrace>) ov
erride; |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 SessionMap m_sessions; | 117 SessionMap m_sessions; |
| 118 | 118 |
| 119 using ConsoleStorageMap = protocol::HashMap<int, std::unique_ptr<V8ConsoleMe
ssageStorage>>; | 119 using ConsoleStorageMap = protocol::HashMap<int, std::unique_ptr<V8ConsoleMe
ssageStorage>>; |
| 120 ConsoleStorageMap m_consoleStorageMap; | 120 ConsoleStorageMap m_consoleStorageMap; |
| 121 }; | 121 }; |
| 122 | 122 |
| 123 } // namespace blink | 123 } // namespace blink |
| 124 | 124 |
| 125 | 125 |
| 126 #endif // V8InspectorImpl_h | 126 #endif // V8InspectorImpl_h |
| OLD | NEW |