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 V8InspectorClient_h | 5 #ifndef V8InspectorClient_h |
6 #define V8InspectorClient_h | 6 #define V8InspectorClient_h |
7 | 7 |
8 #include "platform/inspector_protocol/Platform.h" | 8 #include "platform/inspector_protocol/Platform.h" |
9 #include "platform/v8_inspector/public/V8ContextInfo.h" | |
10 | 9 |
11 #include <v8.h> | 10 #include <v8.h> |
12 | 11 |
13 namespace blink { | 12 namespace blink { |
14 | 13 |
15 class V8StackTrace; | 14 class V8StackTrace; |
16 | 15 |
17 enum class V8ConsoleAPIType { kClear, kDebug, kLog, kInfo, kWarning, kError }; | 16 enum class V8ConsoleAPIType { kClear, kDebug, kLog, kInfo, kWarning, kError }; |
18 | 17 |
19 class PLATFORM_EXPORT V8InspectorClient { | 18 class PLATFORM_EXPORT V8InspectorClient { |
(...skipping 27 matching lines...) Expand all Loading... |
47 | 46 |
48 typedef void (*TimerCallback)(void*); | 47 typedef void (*TimerCallback)(void*); |
49 virtual void startRepeatingTimer(double, TimerCallback, void* data) = 0; | 48 virtual void startRepeatingTimer(double, TimerCallback, void* data) = 0; |
50 virtual void cancelTimer(void* data) = 0; | 49 virtual void cancelTimer(void* data) = 0; |
51 }; | 50 }; |
52 | 51 |
53 } // namespace blink | 52 } // namespace blink |
54 | 53 |
55 | 54 |
56 #endif // V8InspectorClient_h | 55 #endif // V8InspectorClient_h |
OLD | NEW |