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" | 8 #include "platform/inspector_protocol/FrontendChannel.h" |
9 #include "platform/inspector_protocol/Platform.h" | 9 #include "platform/inspector_protocol/Platform.h" |
10 | 10 |
11 #include <v8.h> | 11 #include <v8.h> |
12 | 12 |
13 namespace blink { | 13 namespace blink { |
14 | 14 |
15 class PLATFORM_EXPORT V8InspectorSessionClient | 15 class PLATFORM_EXPORT V8InspectorSessionClient |
16 { | 16 { |
17 public: | 17 public: |
18 virtual ~V8InspectorSessionClient() { } | 18 virtual ~V8InspectorSessionClient() { } |
19 virtual void runtimeEnabled() = 0; | 19 virtual void runtimeEnabled() = 0; |
20 virtual void runtimeDisabled() = 0; | 20 virtual void runtimeDisabled() = 0; |
21 virtual void resumeStartup() = 0; | 21 virtual void resumeStartup() = 0; |
22 virtual bool canExecuteScripts() = 0; | 22 virtual bool canExecuteScripts() = 0; |
23 virtual void profilingStarted() = 0; | 23 virtual void profilingStarted() = 0; |
24 virtual void profilingStopped() = 0; | 24 virtual void profilingStopped() = 0; |
25 virtual void consoleEnabled() = 0; | |
26 virtual void consoleCleared() = 0; | 25 virtual void consoleCleared() = 0; |
27 }; | 26 }; |
28 | 27 |
29 } // namespace blink | 28 } // namespace blink |
30 | 29 |
31 #endif // V8InspectorSessionClient_h | 30 #endif // V8InspectorSessionClient_h |
OLD | NEW |