OLD | NEW |
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 Loading... |
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 Loading... |
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 } |
OLD | NEW |