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

Side by Side Diff: Source/devtools/front_end/sdk/SASSSourceMapping.js

Issue 404763002: DevTools: Inject styleSheetId in WebInspector.CSSLocation constructor (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased patch Created 6 years, 5 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
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(this._cssModel.target(), uiSourceCod e.url || "", lineNumber, columnNumber); 564 return new WebInspector.CSSLocation(this._cssModel.target(), null, uiSou rceCode.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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
626 this._cssURLsForSASSURL = {}; 626 this._cssURLsForSASSURL = {};
627 /** @type {!Object.<string, !Array.<function(?WebInspector.SourceMap)>>} */ 627 /** @type {!Object.<string, !Array.<function(?WebInspector.SourceMap)>>} */
628 this._pendingSourceMapLoadingCallbacks = {}; 628 this._pendingSourceMapLoadingCallbacks = {};
629 /** @type {!Object.<string, !{deadlineMs: number, dataByURL: !Object.<st ring, !{timer: number, previousPoll: number}>}>} */ 629 /** @type {!Object.<string, !{deadlineMs: number, dataByURL: !Object.<st ring, !{timer: number, previousPoll: number}>}>} */
630 this._pollDataForSASSURL = {}; 630 this._pollDataForSASSURL = {};
631 /** @type {!Object.<string, !WebInspector.SourceMap>} */ 631 /** @type {!Object.<string, !WebInspector.SourceMap>} */
632 this._sourceMapByURL = {}; 632 this._sourceMapByURL = {};
633 this._sourceMapByStyleSheetURL = {}; 633 this._sourceMapByStyleSheetURL = {};
634 } 634 }
635 } 635 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/sdk/Linkifier.js ('k') | Source/devtools/front_end/sdk/StylesSourceMapping.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698