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: Source/devtools/front_end/SASSSourceMapping.js

Issue 220903002: DevTools: wrap DebuggerAgent.Location with DebuggerModel.Location. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: All tests!!! Created 6 years, 8 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 | « Source/devtools/front_end/RuntimeModel.js ('k') | Source/devtools/front_end/Script.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 543 matching lines...) Expand 10 before | Expand all | Expand 10 after
554 554
555 /** 555 /**
556 * @param {!WebInspector.UISourceCode} uiSourceCode 556 * @param {!WebInspector.UISourceCode} uiSourceCode
557 * @param {number} lineNumber 557 * @param {number} lineNumber
558 * @param {number} columnNumber 558 * @param {number} columnNumber
559 * @return {!WebInspector.RawLocation} 559 * @return {!WebInspector.RawLocation}
560 */ 560 */
561 uiLocationToRawLocation: function(uiSourceCode, lineNumber, columnNumber) 561 uiLocationToRawLocation: function(uiSourceCode, lineNumber, columnNumber)
562 { 562 {
563 // FIXME: Implement this when ui -> raw mapping has clients. 563 // FIXME: Implement this when ui -> raw mapping has clients.
564 return new WebInspector.CSSLocation(uiSourceCode.url || "", lineNumber, columnNumber); 564 return new WebInspector.CSSLocation(this._cssModel.target(), uiSourceCod e.url || "", lineNumber, columnNumber);
565 }, 565 },
566 566
567 /** 567 /**
568 * @return {boolean} 568 * @return {boolean}
569 */ 569 */
570 isIdentity: function() 570 isIdentity: function()
571 { 571 {
572 return false; 572 return false;
573 }, 573 },
574 574
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
608 this._cssURLsForSASSURL = {}; 608 this._cssURLsForSASSURL = {};
609 /** @type {!Object.<string, !Array.<function(?WebInspector.SourceMap)>>} */ 609 /** @type {!Object.<string, !Array.<function(?WebInspector.SourceMap)>>} */
610 this._pendingSourceMapLoadingCallbacks = {}; 610 this._pendingSourceMapLoadingCallbacks = {};
611 /** @type {!Object.<string, !{deadlineMs: number, dataByURL: !Object.<st ring, !{timer: number, previousPoll: number}>}>} */ 611 /** @type {!Object.<string, !{deadlineMs: number, dataByURL: !Object.<st ring, !{timer: number, previousPoll: number}>}>} */
612 this._pollDataForSASSURL = {}; 612 this._pollDataForSASSURL = {};
613 /** @type {!Object.<string, !WebInspector.SourceMap>} */ 613 /** @type {!Object.<string, !WebInspector.SourceMap>} */
614 this._sourceMapByURL = {}; 614 this._sourceMapByURL = {};
615 this._sourceMapByStyleSheetURL = {}; 615 this._sourceMapByStyleSheetURL = {};
616 } 616 }
617 } 617 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/RuntimeModel.js ('k') | Source/devtools/front_end/Script.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698