| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 V8Debugger_h | 5 #ifndef V8Debugger_h |
| 6 #define V8Debugger_h | 6 #define V8Debugger_h |
| 7 | 7 |
| 8 #include "platform/PlatformExport.h" | 8 #include "platform/PlatformExport.h" |
| 9 #include "platform/inspector_protocol/Frontend.h" | 9 #include "platform/inspector_protocol/Frontend.h" |
| 10 #include "wtf/PassOwnPtr.h" | 10 #include "wtf/PassOwnPtr.h" |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 virtual void contextCreated(const V8ContextInfo&) = 0; | 42 virtual void contextCreated(const V8ContextInfo&) = 0; |
| 43 virtual void contextDestroyed(v8::Local<v8::Context>) = 0; | 43 virtual void contextDestroyed(v8::Local<v8::Context>) = 0; |
| 44 // TODO(dgozman): remove this one. | 44 // TODO(dgozman): remove this one. |
| 45 virtual void resetContextGroup(int contextGroupId) = 0; | 45 virtual void resetContextGroup(int contextGroupId) = 0; |
| 46 virtual void willExecuteScript(v8::Local<v8::Context>, int scriptId) = 0; | 46 virtual void willExecuteScript(v8::Local<v8::Context>, int scriptId) = 0; |
| 47 virtual void didExecuteScript(v8::Local<v8::Context>) = 0; | 47 virtual void didExecuteScript(v8::Local<v8::Context>) = 0; |
| 48 | 48 |
| 49 virtual PassOwnPtr<V8InspectorSession> connect(int contextGroupId) = 0; | 49 virtual PassOwnPtr<V8InspectorSession> connect(int contextGroupId) = 0; |
| 50 virtual bool isPaused() = 0; | 50 virtual bool isPaused() = 0; |
| 51 | 51 |
| 52 static v8::Local<v8::Symbol> scopeExtensionSymbol(v8::Isolate*); | 52 static v8::Local<v8::Private> scopeExtensionPrivate(v8::Isolate*); |
| 53 static bool isCommandLineAPIMethod(const String16& name); | 53 static bool isCommandLineAPIMethod(const String16& name); |
| 54 static bool isCommandLineAPIGetter(const String16& name); | 54 static bool isCommandLineAPIGetter(const String16& name); |
| 55 static bool isRemoteObjectAPIMethod(const String16& name); | 55 static bool isRemoteObjectAPIMethod(const String16& name); |
| 56 | 56 |
| 57 virtual PassOwnPtr<V8StackTrace> createStackTrace(v8::Local<v8::StackTrace>,
size_t maxStackSize) = 0; | 57 virtual PassOwnPtr<V8StackTrace> createStackTrace(v8::Local<v8::StackTrace>,
size_t maxStackSize) = 0; |
| 58 virtual PassOwnPtr<V8StackTrace> captureStackTrace(size_t maxStackSize) = 0; | 58 virtual PassOwnPtr<V8StackTrace> captureStackTrace(size_t maxStackSize) = 0; |
| 59 }; | 59 }; |
| 60 | 60 |
| 61 } // namespace blink | 61 } // namespace blink |
| 62 | 62 |
| 63 | 63 |
| 64 #endif // V8Debugger_h | 64 #endif // V8Debugger_h |
| OLD | NEW |