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

Side by Side Diff: Source/devtools/front_end/extensions/ExtensionServer.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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 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 485 matching lines...) Expand 10 before | Expand all | Expand 10 after
496 } 496 }
497 var uiSourceCodes = WebInspector.workspace.uiSourceCodesForProjectType(W ebInspector.projectTypes.Network); 497 var uiSourceCodes = WebInspector.workspace.uiSourceCodesForProjectType(W ebInspector.projectTypes.Network);
498 uiSourceCodes = uiSourceCodes.concat(WebInspector.workspace.uiSourceCode sForProjectType(WebInspector.projectTypes.ContentScripts)); 498 uiSourceCodes = uiSourceCodes.concat(WebInspector.workspace.uiSourceCode sForProjectType(WebInspector.projectTypes.ContentScripts));
499 uiSourceCodes.forEach(pushResourceData.bind(this)); 499 uiSourceCodes.forEach(pushResourceData.bind(this));
500 WebInspector.resourceTreeModel.forAllResources(pushResourceData.bind(thi s)); 500 WebInspector.resourceTreeModel.forAllResources(pushResourceData.bind(thi s));
501 return Object.values(resources); 501 return Object.values(resources);
502 }, 502 },
503 503
504 /** 504 /**
505 * @param {!WebInspector.ContentProvider} contentProvider 505 * @param {!WebInspector.ContentProvider} contentProvider
506 * @param {!Object} message
507 * @param {!MessagePort} port
506 */ 508 */
507 _getResourceContent: function(contentProvider, message, port) 509 _getResourceContent: function(contentProvider, message, port)
508 { 510 {
509 /** 511 /**
510 * @param {?string} content 512 * @param {?string} content
511 * @this {WebInspector.ExtensionServer} 513 * @this {WebInspector.ExtensionServer}
512 */ 514 */
513 function onContentAvailable(content) 515 function onContentAvailable(content)
514 { 516 {
515 var response = { 517 var response = {
(...skipping 559 matching lines...) Expand 10 before | Expand all | Expand 10 after
1075 /** 1077 /**
1076 * @typedef {{code: string, description: string, details: !Array.<*>}} 1078 * @typedef {{code: string, description: string, details: !Array.<*>}}
1077 */ 1079 */
1078 WebInspector.ExtensionStatus.Record; 1080 WebInspector.ExtensionStatus.Record;
1079 1081
1080 WebInspector.extensionAPI = {}; 1082 WebInspector.extensionAPI = {};
1081 defineCommonExtensionSymbols(WebInspector.extensionAPI); 1083 defineCommonExtensionSymbols(WebInspector.extensionAPI);
1082 1084
1083 importScript("ExtensionPanel.js"); 1085 importScript("ExtensionPanel.js");
1084 importScript("ExtensionView.js"); 1086 importScript("ExtensionView.js");
OLDNEW
« no previous file with comments | « Source/devtools/front_end/extensions/ExtensionPanel.js ('k') | Source/devtools/front_end/network/NetworkPanel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698