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

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

Issue 2249663003: Revert of [DevTools] Rename entities in js_protocol, remove deprecated ones. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 V8Debugger_h 5 #ifndef V8Debugger_h
6 #define V8Debugger_h 6 #define V8Debugger_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/V8DebuggerScript.h" 10 #include "platform/v8_inspector/V8DebuggerScript.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 void setPauseOnExceptionsState(PauseOnExceptionsState); 48 void setPauseOnExceptionsState(PauseOnExceptionsState);
49 void setPauseOnNextStatement(bool); 49 void setPauseOnNextStatement(bool);
50 bool canBreakProgram(); 50 bool canBreakProgram();
51 void breakProgram(); 51 void breakProgram();
52 void continueProgram(); 52 void continueProgram();
53 void stepIntoStatement(); 53 void stepIntoStatement();
54 void stepOverStatement(); 54 void stepOverStatement();
55 void stepOutOfFunction(); 55 void stepOutOfFunction();
56 void clearStepping(); 56 void clearStepping();
57 57
58 bool setScriptSource(const String16& sourceID, v8::Local<v8::String> newSour ce, bool dryRun, ErrorString*, protocol::Maybe<protocol::Runtime::ExceptionDetai ls>*, JavaScriptCallFrames* newCallFrames, protocol::Maybe<bool>* stackChanged); 58 bool setScriptSource(const String16& sourceID, v8::Local<v8::String> newSour ce, bool preview, ErrorString*, protocol::Maybe<protocol::Runtime::ExceptionDeta ils>*, JavaScriptCallFrames* newCallFrames, protocol::Maybe<bool>* stackChanged) ;
59 JavaScriptCallFrames currentCallFrames(int limit = 0); 59 JavaScriptCallFrames currentCallFrames(int limit = 0);
60 60
61 // Each script inherits debug data from v8::Context where it has been compil ed. 61 // Each script inherits debug data from v8::Context where it has been compil ed.
62 // Only scripts whose debug data matches |contextGroupId| will be reported. 62 // Only scripts whose debug data matches |contextGroupId| will be reported.
63 // Passing 0 will result in reporting all scripts. 63 // Passing 0 will result in reporting all scripts.
64 void getCompiledScripts(int contextGroupId, std::vector<std::unique_ptr<V8De buggerScript>>&); 64 void getCompiledScripts(int contextGroupId, std::vector<std::unique_ptr<V8De buggerScript>>&);
65 void enable(); 65 void enable();
66 void disable(); 66 void disable();
67 67
68 bool isPaused(); 68 bool isPaused();
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 protocol::HashSet<void*> m_recurringTasks; 120 protocol::HashSet<void*> m_recurringTasks;
121 int m_maxAsyncCallStackDepth; 121 int m_maxAsyncCallStackDepth;
122 std::vector<void*> m_currentTasks; 122 std::vector<void*> m_currentTasks;
123 std::vector<std::unique_ptr<V8StackTraceImpl>> m_currentStacks; 123 std::vector<std::unique_ptr<V8StackTraceImpl>> m_currentStacks;
124 protocol::HashMap<V8DebuggerAgentImpl*, int> m_maxAsyncCallStackDepthMap; 124 protocol::HashMap<V8DebuggerAgentImpl*, int> m_maxAsyncCallStackDepthMap;
125 }; 125 };
126 126
127 } // namespace blink 127 } // namespace blink
128 128
129 #endif // V8Debugger_h 129 #endif // V8Debugger_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698