OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2011 Google Inc. All rights reserved. | 2 * Copyright (c) 2011 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 static WorkerThreadDebugger* from(v8::Isolate*); | 50 static WorkerThreadDebugger* from(v8::Isolate*); |
51 void reportConsoleMessage(ExecutionContext*, ConsoleMessage*) override; | 51 void reportConsoleMessage(ExecutionContext*, ConsoleMessage*) override; |
52 int contextGroupId(ExecutionContext*) override; | 52 int contextGroupId(ExecutionContext*) override; |
53 | 53 |
54 int contextGroupId(); | 54 int contextGroupId(); |
55 void contextCreated(v8::Local<v8::Context>); | 55 void contextCreated(v8::Local<v8::Context>); |
56 void contextWillBeDestroyed(v8::Local<v8::Context>); | 56 void contextWillBeDestroyed(v8::Local<v8::Context>); |
57 void exceptionThrown(ErrorEvent*); | 57 void exceptionThrown(ErrorEvent*); |
58 unsigned promiseRejected(v8::Local<v8::Context>, const String16& errorMessag
e, v8::Local<v8::Value> exception, std::unique_ptr<SourceLocation>); | 58 unsigned promiseRejected(v8::Local<v8::Context>, const String16& errorMessag
e, v8::Local<v8::Value> exception, std::unique_ptr<SourceLocation>); |
59 | 59 |
60 // V8DebuggerClient implementation. | 60 // V8InspectorClient implementation. |
61 void runMessageLoopOnPause(int contextGroupId) override; | 61 void runMessageLoopOnPause(int contextGroupId) override; |
62 void quitMessageLoopOnPause() override; | 62 void quitMessageLoopOnPause() override; |
63 void muteWarningsAndDeprecations(int contextGroupId) override; | 63 void muteWarningsAndDeprecations(int contextGroupId) override; |
64 void unmuteWarningsAndDeprecations(int contextGroupId) override; | 64 void unmuteWarningsAndDeprecations(int contextGroupId) override; |
65 v8::Local<v8::Context> ensureDefaultContextInGroup(int contextGroupId) overr
ide; | 65 v8::Local<v8::Context> ensureDefaultContextInGroup(int contextGroupId) overr
ide; |
66 void beginEnsureAllContextsInGroup(int contextGroupId) override; | 66 void beginEnsureAllContextsInGroup(int contextGroupId) override; |
67 void endEnsureAllContextsInGroup(int contextGroupId) override; | 67 void endEnsureAllContextsInGroup(int contextGroupId) override; |
68 bool canExecuteScripts(int contextGroupId) override; | 68 bool canExecuteScripts(int contextGroupId) override; |
69 | 69 |
70 v8::MaybeLocal<v8::Value> memoryInfo(v8::Isolate*, v8::Local<v8::Context>) o
verride; | 70 v8::MaybeLocal<v8::Value> memoryInfo(v8::Isolate*, v8::Local<v8::Context>) o
verride; |
71 void consoleAPIMessage(int contextGroupId, V8ConsoleAPIType, const String16&
message, const String16& url, unsigned lineNumber, unsigned columnNumber, V8Sta
ckTrace*) override; | 71 void consoleAPIMessage(int contextGroupId, V8ConsoleAPIType, const String16&
message, const String16& url, unsigned lineNumber, unsigned columnNumber, V8Sta
ckTrace*) override; |
72 | 72 |
73 private: | 73 private: |
74 WorkerThread* m_workerThread; | 74 WorkerThread* m_workerThread; |
75 }; | 75 }; |
76 | 76 |
77 } // namespace blink | 77 } // namespace blink |
78 | 78 |
79 #endif // WorkerThreadDebugger_h | 79 #endif // WorkerThreadDebugger_h |
OLD | NEW |