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

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

Issue 322293003: Removed dead API entries. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2008 the V8 project authors. All rights reserved. 1 // Copyright 2008 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_DEBUG_H_ 5 #ifndef V8_V8_DEBUG_H_
6 #define V8_V8_DEBUG_H_ 6 #define V8_V8_DEBUG_H_
7 7
8 #include "v8.h" 8 #include "v8.h"
9 9
10 /** 10 /**
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 // happened yet. 165 // happened yet.
166 static void CancelDebugBreak(Isolate* isolate); 166 static void CancelDebugBreak(Isolate* isolate);
167 167
168 // Break execution of JavaScript in the given isolate (this method 168 // Break execution of JavaScript in the given isolate (this method
169 // can be invoked from a non-VM thread) for further client command 169 // can be invoked from a non-VM thread) for further client command
170 // execution on a VM thread. Client data is then passed in 170 // execution on a VM thread. Client data is then passed in
171 // EventDetails to EventCallback2 at the moment when the VM actually 171 // EventDetails to EventCallback2 at the moment when the VM actually
172 // stops. 172 // stops.
173 static void DebugBreakForCommand(Isolate* isolate, ClientData* data); 173 static void DebugBreakForCommand(Isolate* isolate, ClientData* data);
174 174
175 // TODO(svenpanne) Remove this when Chrome is updated.
176 static void DebugBreakForCommand(ClientData* data, Isolate* isolate) {
177 DebugBreakForCommand(isolate, data);
178 }
179
180 // Message based interface. The message protocol is JSON. 175 // Message based interface. The message protocol is JSON.
181 static void SetMessageHandler(MessageHandler handler); 176 static void SetMessageHandler(MessageHandler handler);
182 177
183 static void SendCommand(Isolate* isolate, 178 static void SendCommand(Isolate* isolate,
184 const uint16_t* command, int length, 179 const uint16_t* command, int length,
185 ClientData* client_data = NULL); 180 ClientData* client_data = NULL);
186 181
187 /** 182 /**
188 * Run a JavaScript function in the debugger. 183 * Run a JavaScript function in the debugger.
189 * \param fun the function to call 184 * \param fun the function to call
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 */ 246 */
252 static Local<Context> GetDebugContext(); 247 static Local<Context> GetDebugContext();
253 248
254 249
255 /** 250 /**
256 * Enable/disable LiveEdit functionality for the given Isolate 251 * Enable/disable LiveEdit functionality for the given Isolate
257 * (default Isolate if not provided). V8 will abort if LiveEdit is 252 * (default Isolate if not provided). V8 will abort if LiveEdit is
258 * unexpectedly used. LiveEdit is enabled by default. 253 * unexpectedly used. LiveEdit is enabled by default.
259 */ 254 */
260 static void SetLiveEditEnabled(Isolate* isolate, bool enable); 255 static void SetLiveEditEnabled(Isolate* isolate, bool enable);
261
262 // TODO(svenpanne) Remove this when Chrome is updated.
263 static void SetLiveEditEnabled(bool enable, Isolate* isolate) {
264 SetLiveEditEnabled(isolate, enable);
265 }
266 }; 256 };
267 257
268 258
269 } // namespace v8 259 } // namespace v8
270 260
271 261
272 #undef EXPORT 262 #undef EXPORT
273 263
274 264
275 #endif // V8_V8_DEBUG_H_ 265 #endif // V8_V8_DEBUG_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698