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

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

Issue 2159633002: [DevTools] Generate public versions of protocol classes to be exposed in v8_inspector/public. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed extra files Created 4 years, 4 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
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 V8InspectorSession_h 5 #ifndef V8InspectorSession_h
6 #define V8InspectorSession_h 6 #define V8InspectorSession_h
7 7
8 #include "platform/inspector_protocol/Platform.h" 8 #include "platform/inspector_protocol/Platform.h"
9 #include "platform/v8_inspector/protocol/Runtime.h" 9 #include "platform/v8_inspector/public/protocol/Runtime.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 V8InspectorSession { 15 class PLATFORM_EXPORT V8InspectorSession {
16 public: 16 public:
17 virtual ~V8InspectorSession() { } 17 virtual ~V8InspectorSession() { }
18 18
19 // Cross-context inspectable values (DOM nodes in different worlds, etc.). 19 // Cross-context inspectable values (DOM nodes in different worlds, etc.).
(...skipping 13 matching lines...) Expand all
33 // Debugger actions. 33 // Debugger actions.
34 virtual void schedulePauseOnNextStatement(const String16& breakReason, std:: unique_ptr<protocol::DictionaryValue> data) = 0; 34 virtual void schedulePauseOnNextStatement(const String16& breakReason, std:: unique_ptr<protocol::DictionaryValue> data) = 0;
35 virtual void cancelPauseOnNextStatement() = 0; 35 virtual void cancelPauseOnNextStatement() = 0;
36 virtual void breakProgram(const String16& breakReason, std::unique_ptr<proto col::DictionaryValue> data) = 0; 36 virtual void breakProgram(const String16& breakReason, std::unique_ptr<proto col::DictionaryValue> data) = 0;
37 virtual void setSkipAllPauses(bool) = 0; 37 virtual void setSkipAllPauses(bool) = 0;
38 virtual void resume() = 0; 38 virtual void resume() = 0;
39 virtual void stepOver() = 0; 39 virtual void stepOver() = 0;
40 40
41 // Remote objects. 41 // Remote objects.
42 static const char backtraceObjectGroup[]; 42 static const char backtraceObjectGroup[];
43 virtual std::unique_ptr<protocol::Runtime::RemoteObject> wrapObject(v8::Loca l<v8::Context>, v8::Local<v8::Value>, const String16& groupName, bool generatePr eview) = 0; 43 virtual std::unique_ptr<protocol::Runtime::API::RemoteObject> wrapObject(v8: :Local<v8::Context>, v8::Local<v8::Value>, const String16& groupName) = 0;
44 virtual v8::Local<v8::Value> findObject(ErrorString*, const String16& object Id, v8::Local<v8::Context>* = nullptr, String16* objectGroup = nullptr) = 0; 44 virtual v8::Local<v8::Value> findObject(ErrorString*, const String16& object Id, v8::Local<v8::Context>* = nullptr, String16* objectGroup = nullptr) = 0;
45 virtual void releaseObjectGroup(const String16&) = 0; 45 virtual void releaseObjectGroup(const String16&) = 0;
46 }; 46 };
47 47
48 } // namespace blink 48 } // namespace blink
49 49
50 #endif // V8InspectorSession_h 50 #endif // V8InspectorSession_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698