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

Side by Side Diff: Source/devtools/front_end/sdk/StylesSourceMapping.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
« no previous file with comments | « Source/devtools/front_end/sdk/SASSSourceMapping.js ('k') | no next file » | 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 }, 65 },
66 66
67 /** 67 /**
68 * @param {!WebInspector.UISourceCode} uiSourceCode 68 * @param {!WebInspector.UISourceCode} uiSourceCode
69 * @param {number} lineNumber 69 * @param {number} lineNumber
70 * @param {number} columnNumber 70 * @param {number} columnNumber
71 * @return {!WebInspector.RawLocation} 71 * @return {!WebInspector.RawLocation}
72 */ 72 */
73 uiLocationToRawLocation: function(uiSourceCode, lineNumber, columnNumber) 73 uiLocationToRawLocation: function(uiSourceCode, lineNumber, columnNumber)
74 { 74 {
75 return new WebInspector.CSSLocation(this._cssModel.target(), uiSourceCod e.url || "", lineNumber, columnNumber); 75 return new WebInspector.CSSLocation(this._cssModel.target(), null, uiSou rceCode.url || "", lineNumber, columnNumber);
76 }, 76 },
77 77
78 /** 78 /**
79 * @return {boolean} 79 * @return {boolean}
80 */ 80 */
81 isIdentity: function() 81 isIdentity: function()
82 { 82 {
83 return true; 83 return true;
84 }, 84 },
85 85
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 this._uiSourceCode.addRevision(content); 391 this._uiSourceCode.addRevision(content);
392 delete this._isAddingRevision; 392 delete this._isAddingRevision;
393 }, 393 },
394 394
395 dispose: function() 395 dispose: function()
396 { 396 {
397 this._uiSourceCode.removeEventListener(WebInspector.UISourceCode.Events. WorkingCopyCommitted, this._workingCopyCommitted, this); 397 this._uiSourceCode.removeEventListener(WebInspector.UISourceCode.Events. WorkingCopyCommitted, this._workingCopyCommitted, this);
398 this._uiSourceCode.removeEventListener(WebInspector.UISourceCode.Events. WorkingCopyChanged, this._workingCopyChanged, this); 398 this._uiSourceCode.removeEventListener(WebInspector.UISourceCode.Events. WorkingCopyChanged, this._workingCopyChanged, this);
399 } 399 }
400 } 400 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/sdk/SASSSourceMapping.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698