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

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, 11 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} content
409 */
410 setSourceMapContent: function(scriptId, content)
411 {
412 this._agent.setSourceMapContent(scriptId, content);
413 },
414
415 /**
407 * @param {!DebuggerAgent.BreakpointId} breakpointId 416 * @param {!DebuggerAgent.BreakpointId} breakpointId
408 * @param {!DebuggerAgent.Location} location 417 * @param {!DebuggerAgent.Location} location
409 */ 418 */
410 _breakpointResolved: function(breakpointId, location) 419 _breakpointResolved: function(breakpointId, location)
411 { 420 {
412 this._breakpointResolvedEventTarget.dispatchEventToListeners(breakpointI d, WebInspector.DebuggerModel.Location.fromPayload(this, location)); 421 this._breakpointResolvedEventTarget.dispatchEventToListeners(breakpointI d, WebInspector.DebuggerModel.Location.fromPayload(this, location));
413 }, 422 },
414 423
415 _globalObjectCleared: function() 424 _globalObjectCleared: function()
416 { 425 {
(...skipping 1070 matching lines...) Expand 10 before | Expand all | Expand 10 after
1487 /** 1496 /**
1488 * @param {?WebInspector.Target} target 1497 * @param {?WebInspector.Target} target
1489 * @return {?WebInspector.DebuggerModel} 1498 * @return {?WebInspector.DebuggerModel}
1490 */ 1499 */
1491 WebInspector.DebuggerModel.fromTarget = function(target) 1500 WebInspector.DebuggerModel.fromTarget = function(target)
1492 { 1501 {
1493 if (!target || !target.hasJSContext()) 1502 if (!target || !target.hasJSContext())
1494 return null; 1503 return null;
1495 return /** @type {?WebInspector.DebuggerModel} */ (target.model(WebInspector .DebuggerModel)); 1504 return /** @type {?WebInspector.DebuggerModel} */ (target.model(WebInspector .DebuggerModel));
1496 } 1505 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698