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