| 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/InspectorProtocol.h" |
| 9 #include "platform/inspector_protocol/String16.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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 virtual void cancelTimer(void* data) { } | 50 virtual void cancelTimer(void* data) { } |
| 52 | 51 |
| 53 // TODO(dgozman): this was added to support service worker shadow page. We s
hould not connect at all. | 52 // TODO(dgozman): this was added to support service worker shadow page. We s
hould not connect at all. |
| 54 virtual bool canExecuteScripts(int contextGroupId) { return true; } | 53 virtual bool canExecuteScripts(int contextGroupId) { return true; } |
| 55 }; | 54 }; |
| 56 | 55 |
| 57 } // namespace blink | 56 } // namespace blink |
| 58 | 57 |
| 59 | 58 |
| 60 #endif // V8InspectorClient_h | 59 #endif // V8InspectorClient_h |
| OLD | NEW |