| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 397 | 397 |
| 398 /** | 398 /** |
| 399 * @param {number} operationId | 399 * @param {number} operationId |
| 400 */ | 400 */ |
| 401 removeAsyncOperationBreakpoint: function(operationId) | 401 removeAsyncOperationBreakpoint: function(operationId) |
| 402 { | 402 { |
| 403 this._agent.removeAsyncOperationBreakpoint(operationId); | 403 this._agent.removeAsyncOperationBreakpoint(operationId); |
| 404 }, | 404 }, |
| 405 | 405 |
| 406 /** | 406 /** |
| 407 * @param {string} scriptId |
| 408 * @param {string} sourceMapURL |
| 409 * @param {string} content |
| 410 */ |
| 411 setSourceMapContent: function(scriptId, sourceMapURL, content) |
| 412 { |
| 413 this._agent.setSourceMapContent(scriptId, sourceMapURL, content); |
| 414 }, |
| 415 |
| 416 /** |
| 407 * @param {!DebuggerAgent.BreakpointId} breakpointId | 417 * @param {!DebuggerAgent.BreakpointId} breakpointId |
| 408 * @param {!DebuggerAgent.Location} location | 418 * @param {!DebuggerAgent.Location} location |
| 409 */ | 419 */ |
| 410 _breakpointResolved: function(breakpointId, location) | 420 _breakpointResolved: function(breakpointId, location) |
| 411 { | 421 { |
| 412 this._breakpointResolvedEventTarget.dispatchEventToListeners(breakpointI
d, WebInspector.DebuggerModel.Location.fromPayload(this, location)); | 422 this._breakpointResolvedEventTarget.dispatchEventToListeners(breakpointI
d, WebInspector.DebuggerModel.Location.fromPayload(this, location)); |
| 413 }, | 423 }, |
| 414 | 424 |
| 415 _globalObjectCleared: function() | 425 _globalObjectCleared: function() |
| 416 { | 426 { |
| (...skipping 1070 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1487 /** | 1497 /** |
| 1488 * @param {?WebInspector.Target} target | 1498 * @param {?WebInspector.Target} target |
| 1489 * @return {?WebInspector.DebuggerModel} | 1499 * @return {?WebInspector.DebuggerModel} |
| 1490 */ | 1500 */ |
| 1491 WebInspector.DebuggerModel.fromTarget = function(target) | 1501 WebInspector.DebuggerModel.fromTarget = function(target) |
| 1492 { | 1502 { |
| 1493 if (!target || !target.hasJSContext()) | 1503 if (!target || !target.hasJSContext()) |
| 1494 return null; | 1504 return null; |
| 1495 return /** @type {?WebInspector.DebuggerModel} */ (target.model(WebInspector
.DebuggerModel)); | 1505 return /** @type {?WebInspector.DebuggerModel} */ (target.model(WebInspector
.DebuggerModel)); |
| 1496 } | 1506 } |
| OLD | NEW |