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