OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 V8InspectorSessionClient_h | 5 #ifndef V8InspectorSessionClient_h |
6 #define V8InspectorSessionClient_h | 6 #define V8InspectorSessionClient_h |
7 | 7 |
8 #include "platform/inspector_protocol/FrontendChannel.h" | |
9 #include "platform/inspector_protocol/Platform.h" | 8 #include "platform/inspector_protocol/Platform.h" |
10 | 9 |
11 #include <v8.h> | 10 #include <v8.h> |
12 | 11 |
13 namespace blink { | 12 namespace blink { |
14 | 13 |
15 class PLATFORM_EXPORT V8InspectorSessionClient | 14 class PLATFORM_EXPORT V8InspectorSessionClient { |
16 { | |
17 public: | 15 public: |
18 virtual ~V8InspectorSessionClient() { } | 16 virtual ~V8InspectorSessionClient() { } |
19 virtual void runtimeEnabled() = 0; | 17 virtual void runtimeEnabled() = 0; |
20 virtual void runtimeDisabled() = 0; | 18 virtual void runtimeDisabled() = 0; |
21 virtual void resumeStartup() = 0; | 19 virtual void resumeStartup() = 0; |
| 20 // TODO(dgozman): this was added to support service worker shadow page. We s
hould not connect at all. |
22 virtual bool canExecuteScripts() = 0; | 21 virtual bool canExecuteScripts() = 0; |
23 virtual void profilingStarted() = 0; | 22 virtual void profilingStarted() = 0; |
24 virtual void profilingStopped() = 0; | 23 virtual void profilingStopped() = 0; |
25 virtual void consoleCleared() = 0; | 24 virtual void consoleCleared() = 0; |
26 }; | 25 }; |
27 | 26 |
28 } // namespace blink | 27 } // namespace blink |
29 | 28 |
30 #endif // V8InspectorSessionClient_h | 29 #endif // V8InspectorSessionClient_h |
OLD | NEW |