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

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

Issue 2249743002: [DevTools] Rename entities in js_protocol, remove deprecated ones. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased 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 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 V8DebuggerAgentImpl_h 5 #ifndef V8DebuggerAgentImpl_h
6 #define V8DebuggerAgentImpl_h 6 #define V8DebuggerAgentImpl_h
7 7
8 #include "platform/inspector_protocol/InspectorProtocol.h" 8 #include "platform/inspector_protocol/InspectorProtocol.h"
9 #include "platform/v8_inspector/JavaScriptCallFrame.h" 9 #include "platform/v8_inspector/JavaScriptCallFrame.h"
10 #include "platform/v8_inspector/protocol/Debugger.h" 10 #include "platform/v8_inspector/protocol/Debugger.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 }; 44 };
45 45
46 V8DebuggerAgentImpl(V8InspectorSessionImpl*, protocol::FrontendChannel*, pro tocol::DictionaryValue* state); 46 V8DebuggerAgentImpl(V8InspectorSessionImpl*, protocol::FrontendChannel*, pro tocol::DictionaryValue* state);
47 ~V8DebuggerAgentImpl() override; 47 ~V8DebuggerAgentImpl() override;
48 void restore(); 48 void restore();
49 49
50 // Part of the protocol. 50 // Part of the protocol.
51 void enable(ErrorString*) override; 51 void enable(ErrorString*) override;
52 void disable(ErrorString*) override; 52 void disable(ErrorString*) override;
53 void setBreakpointsActive(ErrorString*, bool active) override; 53 void setBreakpointsActive(ErrorString*, bool active) override;
54 void setSkipAllPauses(ErrorString*, bool skipped) override; 54 void setSkipAllPauses(ErrorString*, bool skip) override;
55 void setBreakpointByUrl(ErrorString*, 55 void setBreakpointByUrl(ErrorString*,
56 int lineNumber, 56 int lineNumber,
57 const Maybe<String16>& optionalURL, 57 const Maybe<String16>& optionalURL,
58 const Maybe<String16>& optionalURLRegex, 58 const Maybe<String16>& optionalURLRegex,
59 const Maybe<int>& optionalColumnNumber, 59 const Maybe<int>& optionalColumnNumber,
60 const Maybe<String16>& optionalCondition, 60 const Maybe<String16>& optionalCondition,
61 String16*, 61 String16*,
62 std::unique_ptr<protocol::Array<protocol::Debugger::Location>>* location s) override; 62 std::unique_ptr<protocol::Array<protocol::Debugger::Location>>* location s) override;
63 void setBreakpoint(ErrorString*, 63 void setBreakpoint(ErrorString*,
64 std::unique_ptr<protocol::Debugger::Location>, 64 std::unique_ptr<protocol::Debugger::Location>,
65 const Maybe<String16>& optionalCondition, 65 const Maybe<String16>& optionalCondition,
66 String16*, 66 String16*,
67 std::unique_ptr<protocol::Debugger::Location>* actualLocation) override; 67 std::unique_ptr<protocol::Debugger::Location>* actualLocation) override;
68 void removeBreakpoint(ErrorString*, const String16& breakpointId) override; 68 void removeBreakpoint(ErrorString*, const String16& breakpointId) override;
69 void continueToLocation(ErrorString*, 69 void continueToLocation(ErrorString*,
70 std::unique_ptr<protocol::Debugger::Location>) override; 70 std::unique_ptr<protocol::Debugger::Location>) override;
71 void searchInContent(ErrorString*, 71 void searchInContent(ErrorString*,
72 const String16& scriptId, 72 const String16& scriptId,
73 const String16& query, 73 const String16& query,
74 const Maybe<bool>& optionalCaseSensitive, 74 const Maybe<bool>& optionalCaseSensitive,
75 const Maybe<bool>& optionalIsRegex, 75 const Maybe<bool>& optionalIsRegex,
76 std::unique_ptr<protocol::Array<protocol::Debugger::SearchMatch>>*) over ride; 76 std::unique_ptr<protocol::Array<protocol::Debugger::SearchMatch>>*) over ride;
77 void setScriptSource(ErrorString*, 77 void setScriptSource(ErrorString*,
78 const String16& inScriptId, 78 const String16& inScriptId,
79 const String16& inScriptSource, 79 const String16& inScriptSource,
80 const Maybe<bool>& inPreview, 80 const Maybe<bool>& dryRun,
81 Maybe<protocol::Array<protocol::Debugger::CallFrame>>* optOutCallFrames, 81 Maybe<protocol::Array<protocol::Debugger::CallFrame>>* optOutCallFrames,
82 Maybe<bool>* optOutStackChanged, 82 Maybe<bool>* optOutStackChanged,
83 Maybe<protocol::Runtime::StackTrace>* optOutAsyncStackTrace, 83 Maybe<protocol::Runtime::StackTrace>* optOutAsyncStackTrace,
84 Maybe<protocol::Runtime::ExceptionDetails>* optOutCompileError) override ; 84 Maybe<protocol::Runtime::ExceptionDetails>* optOutCompileError) override ;
85 void restartFrame(ErrorString*, 85 void restartFrame(ErrorString*,
86 const String16& callFrameId, 86 const String16& callFrameId,
87 std::unique_ptr<protocol::Array<protocol::Debugger::CallFrame>>* newCall Frames, 87 std::unique_ptr<protocol::Array<protocol::Debugger::CallFrame>>* newCall Frames,
88 Maybe<protocol::Runtime::StackTrace>* asyncStackTrace) override; 88 Maybe<protocol::Runtime::StackTrace>* asyncStackTrace) override;
89 void getScriptSource(ErrorString*, const String16& scriptId, String16* scrip tSource) override; 89 void getScriptSource(ErrorString*, const String16& scriptId, String16* scrip tSource) override;
90 void pause(ErrorString*) override; 90 void pause(ErrorString*) override;
91 void resume(ErrorString*) override; 91 void resume(ErrorString*) override;
92 void stepOver(ErrorString*) override; 92 void stepOver(ErrorString*) override;
93 void stepInto(ErrorString*) override; 93 void stepInto(ErrorString*) override;
94 void stepOut(ErrorString*) override; 94 void stepOut(ErrorString*) override;
95 void setPauseOnExceptions(ErrorString*, const String16& pauseState) override ; 95 void setPauseOnExceptions(ErrorString*, const String16& pauseState) override ;
96 void evaluateOnCallFrame(ErrorString*, 96 void evaluateOnCallFrame(ErrorString*,
97 const String16& callFrameId, 97 const String16& callFrameId,
98 const String16& expression, 98 const String16& expression,
99 const Maybe<String16>& objectGroup, 99 const Maybe<String16>& objectGroup,
100 const Maybe<bool>& includeCommandLineAPI, 100 const Maybe<bool>& includeCommandLineAPI,
101 const Maybe<bool>& doNotPauseOnExceptionsAndMuteConsole, 101 const Maybe<bool>& silent,
102 const Maybe<bool>& returnByValue, 102 const Maybe<bool>& returnByValue,
103 const Maybe<bool>& generatePreview, 103 const Maybe<bool>& generatePreview,
104 std::unique_ptr<protocol::Runtime::RemoteObject>* result, 104 std::unique_ptr<protocol::Runtime::RemoteObject>* result,
105 Maybe<protocol::Runtime::ExceptionDetails>*) override; 105 Maybe<protocol::Runtime::ExceptionDetails>*) override;
106 void setVariableValue(ErrorString*, 106 void setVariableValue(ErrorString*,
107 int scopeNumber, 107 int scopeNumber,
108 const String16& variableName, 108 const String16& variableName,
109 std::unique_ptr<protocol::Runtime::CallArgument> newValue, 109 std::unique_ptr<protocol::Runtime::CallArgument> newValue,
110 const String16& callFrame) override; 110 const String16& callFrame) override;
111 void setAsyncCallStackDepth(ErrorString*, int depth) override; 111 void setAsyncCallStackDepth(ErrorString*, int depth) override;
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 int m_recursionLevelForStepFrame; 203 int m_recursionLevelForStepFrame;
204 bool m_skipAllPauses; 204 bool m_skipAllPauses;
205 205
206 std::unique_ptr<V8Regex> m_blackboxPattern; 206 std::unique_ptr<V8Regex> m_blackboxPattern;
207 protocol::HashMap<String16, std::vector<std::pair<int, int>>> m_blackboxedPo sitions; 207 protocol::HashMap<String16, std::vector<std::pair<int, int>>> m_blackboxedPo sitions;
208 }; 208 };
209 209
210 } // namespace v8_inspector 210 } // namespace v8_inspector
211 211
212 #endif // V8DebuggerAgentImpl_h 212 #endif // V8DebuggerAgentImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698