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 V8DebuggerClient_h | 5 #ifndef V8DebuggerClient_h |
6 #define V8DebuggerClient_h | 6 #define V8DebuggerClient_h |
7 | 7 |
8 #include "platform/inspector_protocol/Platform.h" | 8 #include "platform/inspector_protocol/Platform.h" |
9 #include "platform/v8_inspector/public/V8ConsoleTypes.h" | 9 #include "platform/v8_inspector/public/V8ConsoleTypes.h" |
10 #include "platform/v8_inspector/public/V8ContextInfo.h" | 10 #include "platform/v8_inspector/public/V8ContextInfo.h" |
(...skipping 19 matching lines...) Expand all Loading... |
30 virtual v8::Local<v8::Context> ensureDefaultContextInGroup(int contextGroupI
d) = 0; | 30 virtual v8::Local<v8::Context> ensureDefaultContextInGroup(int contextGroupI
d) = 0; |
31 virtual bool isInspectableHeapObject(v8::Local<v8::Object>) = 0; | 31 virtual bool isInspectableHeapObject(v8::Local<v8::Object>) = 0; |
32 virtual void enableAsyncInstrumentation() = 0; | 32 virtual void enableAsyncInstrumentation() = 0; |
33 virtual void disableAsyncInstrumentation() = 0; | 33 virtual void disableAsyncInstrumentation() = 0; |
34 | 34 |
35 virtual void installAdditionalCommandLineAPI(v8::Local<v8::Context>, v8::Loc
al<v8::Object>) = 0; | 35 virtual void installAdditionalCommandLineAPI(v8::Local<v8::Context>, v8::Loc
al<v8::Object>) = 0; |
36 | 36 |
37 virtual void consoleTime(const String16& title) = 0; | 37 virtual void consoleTime(const String16& title) = 0; |
38 virtual void consoleTimeEnd(const String16& title) = 0; | 38 virtual void consoleTimeEnd(const String16& title) = 0; |
39 virtual void consoleTimeStamp(const String16& title) = 0; | 39 virtual void consoleTimeStamp(const String16& title) = 0; |
40 // TODO(dgozman: route all messages through here, remove FrameConsole. | 40 virtual void consoleAPIMessage(int contextGroupId, MessageLevel, const Strin
g16& message, const String16& url, unsigned lineNumber, unsigned columnNumber, V
8StackTrace*) = 0; |
41 virtual void messageAddedToConsole(int contextGroupId, MessageSource, Messag
eLevel, const String16& message, const String16& url, unsigned lineNumber, unsig
ned columnNumber, V8StackTrace*) = 0; | |
42 | 41 |
43 virtual v8::MaybeLocal<v8::Value> memoryInfo(v8::Isolate*, v8::Local<v8::Con
text>) = 0; | 42 virtual v8::MaybeLocal<v8::Value> memoryInfo(v8::Isolate*, v8::Local<v8::Con
text>) = 0; |
44 | 43 |
45 typedef void (*TimerCallback)(void*); | 44 typedef void (*TimerCallback)(void*); |
46 virtual void startRepeatingTimer(double, TimerCallback, void* data) = 0; | 45 virtual void startRepeatingTimer(double, TimerCallback, void* data) = 0; |
47 virtual void cancelTimer(void* data) = 0; | 46 virtual void cancelTimer(void* data) = 0; |
48 }; | 47 }; |
49 | 48 |
50 } // namespace blink | 49 } // namespace blink |
51 | 50 |
52 | 51 |
53 #endif // V8DebuggerClient_h | 52 #endif // V8DebuggerClient_h |
OLD | NEW |