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

Side by Side Diff: include/v8-inspector.h

Issue 2451893005: [DONT COMMIT] Inspector: Change V8InspectorClient to support Worklets [2] (Closed)
Patch Set: Created 4 years, 1 month 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 | « no previous file | src/inspector/v8-debugger.cc » ('j') | 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 V8 project authors. All rights reserved. 1 // Copyright 2016 the V8 project 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 V8_V8_INSPECTOR_H_ 5 #ifndef V8_V8_INSPECTOR_H_
6 #define V8_V8_INSPECTOR_H_ 6 #define V8_V8_INSPECTOR_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 #include <cctype> 9 #include <cctype>
10 10
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 virtual void releaseObjectGroup(const StringView&) = 0; 156 virtual void releaseObjectGroup(const StringView&) = 0;
157 }; 157 };
158 158
159 enum class V8ConsoleAPIType { kClear, kDebug, kLog, kInfo, kWarning, kError }; 159 enum class V8ConsoleAPIType { kClear, kDebug, kLog, kInfo, kWarning, kError };
160 160
161 class V8_EXPORT V8InspectorClient { 161 class V8_EXPORT V8InspectorClient {
162 public: 162 public:
163 virtual ~V8InspectorClient() {} 163 virtual ~V8InspectorClient() {}
164 164
165 virtual void runMessageLoopOnPause(int contextGroupId) {} 165 virtual void runMessageLoopOnPause(int contextGroupId) {}
166 virtual void quitMessageLoopOnPause() {} 166 virtual void quitMessageLoopOnPause(int contextGroupId) {}
dgozman 2016/11/02 17:13:47 V8Inspector guarantees that quitMessageLoopOnPause
nhiroki 2016/11/04 11:30:30 Thank you for the clarification. I'll address this
167 virtual void runIfWaitingForDebugger(int contextGroupId) {} 167 virtual void runIfWaitingForDebugger(int contextGroupId) {}
168 168
169 virtual void muteMetrics(int contextGroupId) {} 169 virtual void muteMetrics(int contextGroupId) {}
170 virtual void unmuteMetrics(int contextGroupId) {} 170 virtual void unmuteMetrics(int contextGroupId) {}
171 171
172 virtual void beginUserGesture() {} 172 virtual void beginUserGesture() {}
173 virtual void endUserGesture() {} 173 virtual void endUserGesture() {}
174 174
175 virtual std::unique_ptr<StringBuffer> valueSubtype(v8::Local<v8::Value>) { 175 virtual std::unique_ptr<StringBuffer> valueSubtype(v8::Local<v8::Value>) {
176 return nullptr; 176 return nullptr;
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 258
259 // API methods. 259 // API methods.
260 virtual std::unique_ptr<V8StackTrace> createStackTrace( 260 virtual std::unique_ptr<V8StackTrace> createStackTrace(
261 v8::Local<v8::StackTrace>) = 0; 261 v8::Local<v8::StackTrace>) = 0;
262 virtual std::unique_ptr<V8StackTrace> captureStackTrace(bool fullStack) = 0; 262 virtual std::unique_ptr<V8StackTrace> captureStackTrace(bool fullStack) = 0;
263 }; 263 };
264 264
265 } // namespace v8_inspector 265 } // namespace v8_inspector
266 266
267 #endif // V8_V8_INSPECTOR_H_ 267 #endif // V8_V8_INSPECTOR_H_
OLDNEW
« no previous file with comments | « no previous file | src/inspector/v8-debugger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698