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

Side by Side Diff: Source/devtools/front_end/extensions/ExtensionPanel.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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 */ 164 */
165 setObject: function(object, title, callback) 165 setObject: function(object, title, callback)
166 { 166 {
167 this._createObjectPropertiesView(); 167 this._createObjectPropertiesView();
168 this._setObject(WebInspector.RemoteObject.fromLocalObject(object), title , callback); 168 this._setObject(WebInspector.RemoteObject.fromLocalObject(object), title , callback);
169 }, 169 },
170 170
171 /** 171 /**
172 * @param {string} expression 172 * @param {string} expression
173 * @param {string} title 173 * @param {string} title
174 * @param {!Object} evaluateOptions
175 * @param {string} securityOrigin
174 * @param {function(?string=)} callback 176 * @param {function(?string=)} callback
175 */ 177 */
176 setExpression: function(expression, title, evaluateOptions, securityOrigin, callback) 178 setExpression: function(expression, title, evaluateOptions, securityOrigin, callback)
177 { 179 {
178 this._createObjectPropertiesView(); 180 this._createObjectPropertiesView();
179 WebInspector.extensionServer.evaluate(expression, true, false, evaluateO ptions, securityOrigin, this._onEvaluate.bind(this, title, callback)); 181 WebInspector.extensionServer.evaluate(expression, true, false, evaluateO ptions, securityOrigin, this._onEvaluate.bind(this, title, callback));
180 }, 182 },
181 183
182 /** 184 /**
183 * @param {string} url 185 * @param {string} url
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 if (!title) 252 if (!title)
251 section.headerElement.classList.add("hidden"); 253 section.headerElement.classList.add("hidden");
252 section.expanded = true; 254 section.expanded = true;
253 section.editable = false; 255 section.editable = false;
254 this._objectPropertiesView.element.appendChild(section.element); 256 this._objectPropertiesView.element.appendChild(section.element);
255 callback(); 257 callback();
256 }, 258 },
257 259
258 __proto__: WebInspector.SidebarPane.prototype 260 __proto__: WebInspector.SidebarPane.prototype
259 } 261 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/extensions/ExtensionAPI.js ('k') | Source/devtools/front_end/extensions/ExtensionServer.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698