OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef ThreadDebugger_h | 5 #ifndef ThreadDebugger_h |
6 #define ThreadDebugger_h | 6 #define ThreadDebugger_h |
7 | 7 |
8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
9 #include "platform/v8_inspector/public/V8Debugger.h" | 9 #include "platform/v8_inspector/public/V8Debugger.h" |
10 #include "platform/v8_inspector/public/V8DebuggerClient.h" | 10 #include "platform/v8_inspector/public/V8DebuggerClient.h" |
(...skipping 13 matching lines...) Expand all Loading... |
24 | 24 |
25 // V8DebuggerClient implementation. | 25 // V8DebuggerClient implementation. |
26 void muteWarningsAndDeprecations() override { }; | 26 void muteWarningsAndDeprecations() override { }; |
27 void unmuteWarningsAndDeprecations() override { }; | 27 void unmuteWarningsAndDeprecations() override { }; |
28 void eventListeners(v8::Local<v8::Value>, V8EventListenerInfoMap&) override; | 28 void eventListeners(v8::Local<v8::Value>, V8EventListenerInfoMap&) override; |
29 v8::MaybeLocal<v8::Object> instantiateObject(v8::Local<v8::Function>) overri
de; | 29 v8::MaybeLocal<v8::Object> instantiateObject(v8::Local<v8::Function>) overri
de; |
30 v8::MaybeLocal<v8::Value> runCompiledScript(v8::Local<v8::Context>, v8::Loca
l<v8::Script>) override; | 30 v8::MaybeLocal<v8::Value> runCompiledScript(v8::Local<v8::Context>, v8::Loca
l<v8::Script>) override; |
31 v8::MaybeLocal<v8::Value> compileAndRunInternalScript(v8::Local<v8::String>)
override; | 31 v8::MaybeLocal<v8::Value> compileAndRunInternalScript(v8::Local<v8::String>)
override; |
32 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[]
) override; | 32 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[]
) override; |
33 v8::MaybeLocal<v8::Value> callInternalFunction(v8::Local<v8::Function>, v8::
Local<v8::Value> receiver, int argc, v8::Local<v8::Value> info[]) override; | 33 v8::MaybeLocal<v8::Value> callInternalFunction(v8::Local<v8::Function>, v8::
Local<v8::Value> receiver, int argc, v8::Local<v8::Value> info[]) override; |
34 String valueSubtype(v8::Local<v8::Value>) override; | 34 String16 valueSubtype(v8::Local<v8::Value>) override; |
35 bool formatAccessorsAsProperties(v8::Local<v8::Value>) override; | 35 bool formatAccessorsAsProperties(v8::Local<v8::Value>) override; |
36 bool hasRecursionLevel() override; | 36 bool hasRecursionLevel() override; |
37 double currentTimeMS() override; | 37 double currentTimeMS() override; |
38 | 38 |
39 V8Debugger* debugger() const { return m_debugger.get(); } | 39 V8Debugger* debugger() const { return m_debugger.get(); } |
40 virtual bool isWorker() { return true; } | 40 virtual bool isWorker() { return true; } |
41 | 41 |
42 protected: | 42 protected: |
43 v8::Isolate* m_isolate; | 43 v8::Isolate* m_isolate; |
44 OwnPtr<V8Debugger> m_debugger; | 44 OwnPtr<V8Debugger> m_debugger; |
45 }; | 45 }; |
46 | 46 |
47 } // namespace blink | 47 } // namespace blink |
48 | 48 |
49 #endif // ThreadDebugger_h | 49 #endif // ThreadDebugger_h |
OLD | NEW |