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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js

Issue 1583383003: [DevTools] Send source map content from frontend to backend (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@blackbox-inline-source-map
Patch Set: Created 4 years, 10 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 /* 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
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698