Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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 Loading... | |
| 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_ |
| OLD | NEW |