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

Side by Side Diff: Source/devtools/front_end/console/ConsoleViewMessage.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 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. 3 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
4 * Copyright (C) 2009 Joseph Pecoraro 4 * Copyright (C) 2009 Joseph Pecoraro
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 9 *
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 var section = new WebInspector.ObjectPropertiesSection(obj, titleElement ); 429 var section = new WebInspector.ObjectPropertiesSection(obj, titleElement );
430 section.enableContextMenu(); 430 section.enableContextMenu();
431 elem.appendChild(section.element); 431 elem.appendChild(section.element);
432 432
433 var note = section.titleElement.createChild("span", "object-info-state-n ote"); 433 var note = section.titleElement.createChild("span", "object-info-state-n ote");
434 note.title = WebInspector.UIString("Object state below is captured upon first expansion"); 434 note.title = WebInspector.UIString("Object state below is captured upon first expansion");
435 }, 435 },
436 436
437 /** 437 /**
438 * @param {!WebInspector.RemoteObject} obj 438 * @param {!WebInspector.RemoteObject} obj
439 * @param {?Event} event
439 */ 440 */
440 _contextMenuEventFired: function(obj, event) 441 _contextMenuEventFired: function(obj, event)
441 { 442 {
442 var contextMenu = new WebInspector.ContextMenu(event); 443 var contextMenu = new WebInspector.ContextMenu(event);
443 contextMenu.appendApplicableItems(obj); 444 contextMenu.appendApplicableItems(obj);
444 contextMenu.show(); 445 contextMenu.show();
445 }, 446 },
446 447
447 /** 448 /**
448 * @param {!WebInspector.RemoteObject} obj 449 * @param {!WebInspector.RemoteObject} obj
(...skipping 787 matching lines...) Expand 10 before | Expand all | Expand 10 after
1236 { 1237 {
1237 if (!this._wrapperElement) { 1238 if (!this._wrapperElement) {
1238 WebInspector.ConsoleViewMessage.prototype.toMessageElement.call(this ); 1239 WebInspector.ConsoleViewMessage.prototype.toMessageElement.call(this );
1239 this._wrapperElement.classList.toggle("collapsed", this._collapsed); 1240 this._wrapperElement.classList.toggle("collapsed", this._collapsed);
1240 } 1241 }
1241 return this._wrapperElement; 1242 return this._wrapperElement;
1242 }, 1243 },
1243 1244
1244 __proto__: WebInspector.ConsoleViewMessage.prototype 1245 __proto__: WebInspector.ConsoleViewMessage.prototype
1245 } 1246 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/components/Panel.js ('k') | Source/devtools/front_end/elements/ElementsPanel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698