Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(124)

Side by Side Diff: third_party/WebKit/Source/platform/v8_inspector/public/V8InspectorSessionClient.h

Issue 2139363003: [DevTools] Cleanup v8_inspector API part 1. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/platform/v8_inspector/public/V8InspectorSession.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/v8_inspector/public/V8InspectorSession.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698