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

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

Issue 301163005: DevTools: [JSDoc] Avoid partial arg list annotations in code except "profiler" module (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 6 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 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 */ 239 */
240 target: function() { return null; }, 240 target: function() { return null; },
241 } 241 }
242 242
243 /** 243 /**
244 * @constructor 244 * @constructor
245 * @implements {WebInspector.ScriptFile} 245 * @implements {WebInspector.ScriptFile}
246 * @extends {WebInspector.Object} 246 * @extends {WebInspector.Object}
247 * @param {!WebInspector.ResourceScriptMapping} resourceScriptMapping 247 * @param {!WebInspector.ResourceScriptMapping} resourceScriptMapping
248 * @param {!WebInspector.UISourceCode} uiSourceCode 248 * @param {!WebInspector.UISourceCode} uiSourceCode
249 * @param {!Array.<!WebInspector.Script>} scripts
249 */ 250 */
250 WebInspector.ResourceScriptFile = function(resourceScriptMapping, uiSourceCode, scripts) 251 WebInspector.ResourceScriptFile = function(resourceScriptMapping, uiSourceCode, scripts)
251 { 252 {
252 console.assert(scripts.length); 253 console.assert(scripts.length);
253 254
254 WebInspector.ScriptFile.call(this); 255 WebInspector.ScriptFile.call(this);
255 this._resourceScriptMapping = resourceScriptMapping; 256 this._resourceScriptMapping = resourceScriptMapping;
256 this._uiSourceCode = uiSourceCode; 257 this._uiSourceCode = uiSourceCode;
257 258
258 if (this._uiSourceCode.contentType() === WebInspector.resourceTypes.Script) 259 if (this._uiSourceCode.contentType() === WebInspector.resourceTypes.Script)
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 return this._script.target(); 400 return this._script.target();
400 }, 401 },
401 402
402 dispose: function() 403 dispose: function()
403 { 404 {
404 this._uiSourceCode.removeEventListener(WebInspector.UISourceCode.Events. WorkingCopyChanged, this._workingCopyChanged, this); 405 this._uiSourceCode.removeEventListener(WebInspector.UISourceCode.Events. WorkingCopyChanged, this._workingCopyChanged, this);
405 }, 406 },
406 407
407 __proto__: WebInspector.Object.prototype 408 __proto__: WebInspector.Object.prototype
408 } 409 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/sdk/OverridesSupport.js ('k') | Source/devtools/front_end/sdk/Target.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698