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

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

Issue 1786243002: [DevTools] Move restartFrame and setCallFrameVariableValue to V8DebuggerAgent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@dgozman-patch
Patch Set: Created 4 years, 9 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/Collections.h" 8 #include "platform/inspector_protocol/Collections.h"
9 #include "platform/inspector_protocol/Dispatcher.h" 9 #include "platform/inspector_protocol/Dispatcher.h"
10 #include "platform/inspector_protocol/Frontend.h" 10 #include "platform/inspector_protocol/Frontend.h"
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 bool assertPaused(ErrorString*); 214 bool assertPaused(ErrorString*);
215 void clearBreakDetails(); 215 void clearBreakDetails();
216 216
217 bool isCallStackEmptyOrBlackboxed(); 217 bool isCallStackEmptyOrBlackboxed();
218 bool isTopCallFrameBlackboxed(); 218 bool isTopCallFrameBlackboxed();
219 bool isCallFrameWithUnknownScriptOrBlackboxed(JavaScriptCallFrame*); 219 bool isCallFrameWithUnknownScriptOrBlackboxed(JavaScriptCallFrame*);
220 220
221 void internalSetAsyncCallStackDepth(int); 221 void internalSetAsyncCallStackDepth(int);
222 void increaseCachedSkipStackGeneration(); 222 void increaseCachedSkipStackGeneration();
223 223
224 void setCallFrameVariableValue(ErrorString*,
225 int scopeNumber,
226 const String16& variableName,
227 PassOwnPtr<protocol::Runtime::CallArgument> newValue,
228 const Maybe<String16>& callFrameId);
229 void setFunctionVariableValue(ErrorString*,
230 int scopeNumber,
231 const String16& variableName,
232 PassOwnPtr<protocol::Runtime::CallArgument> newValueArgument,
233 const Maybe<String16>& functionObjectId);
234
224 using ScriptsMap = protocol::HashMap<String16, V8DebuggerScript>; 235 using ScriptsMap = protocol::HashMap<String16, V8DebuggerScript>;
225 using BreakpointIdToDebuggerBreakpointIdsMap = protocol::HashMap<String16, p rotocol::Vector<String16>>; 236 using BreakpointIdToDebuggerBreakpointIdsMap = protocol::HashMap<String16, p rotocol::Vector<String16>>;
226 using DebugServerBreakpointToBreakpointIdAndSourceMap = protocol::HashMap<St ring16, std::pair<String16, BreakpointSource>>; 237 using DebugServerBreakpointToBreakpointIdAndSourceMap = protocol::HashMap<St ring16, std::pair<String16, BreakpointSource>>;
227 using MuteBreakpoins = protocol::HashMap<String16, std::pair<String16, int>> ; 238 using MuteBreakpoins = protocol::HashMap<String16, std::pair<String16, int>> ;
228 239
229 enum DebuggerStep { 240 enum DebuggerStep {
230 NoStep = 0, 241 NoStep = 0,
231 StepInto, 242 StepInto,
232 StepOver, 243 StepOver,
233 StepOut 244 StepOut
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 int m_currentAsyncOperationId; 287 int m_currentAsyncOperationId;
277 bool m_pendingTraceAsyncOperationCompleted; 288 bool m_pendingTraceAsyncOperationCompleted;
278 bool m_startingStepIntoAsync; 289 bool m_startingStepIntoAsync;
279 protocol::HashMap<String16, protocol::Vector<std::pair<int, int>>> m_blackbo xedPositions; 290 protocol::HashMap<String16, protocol::Vector<std::pair<int, int>>> m_blackbo xedPositions;
280 }; 291 };
281 292
282 } // namespace blink 293 } // namespace blink
283 294
284 295
285 #endif // V8DebuggerAgentImpl_h 296 #endif // V8DebuggerAgentImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698