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

Side by Side Diff: Source/devtools/front_end/profiler/HeapSnapshotGridNodes.js

Issue 308643003: DevTools: [JSDoc] Avoid partial arg list annotations in the "profiler" module (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 474 matching lines...) Expand 10 before | Expand all | Expand 10 after
485 }, 485 },
486 486
487 __proto__: WebInspector.DataGridNode.prototype 487 __proto__: WebInspector.DataGridNode.prototype
488 } 488 }
489 489
490 490
491 /** 491 /**
492 * @constructor 492 * @constructor
493 * @extends {WebInspector.HeapSnapshotGridNode} 493 * @extends {WebInspector.HeapSnapshotGridNode}
494 * @param {!WebInspector.HeapSnapshotSortableDataGrid} dataGrid 494 * @param {!WebInspector.HeapSnapshotSortableDataGrid} dataGrid
495 * @param {!WebInspector.HeapSnapshotCommon.Node} node
495 */ 496 */
496 WebInspector.HeapSnapshotGenericObjectNode = function(dataGrid, node) 497 WebInspector.HeapSnapshotGenericObjectNode = function(dataGrid, node)
497 { 498 {
498 WebInspector.HeapSnapshotGridNode.call(this, dataGrid, false); 499 WebInspector.HeapSnapshotGridNode.call(this, dataGrid, false);
499 // node is null for DataGrid root nodes. 500 // node is null for DataGrid root nodes.
500 if (!node) 501 if (!node)
501 return; 502 return;
502 this._name = node.name; 503 this._name = node.name;
503 this._type = node.type; 504 this._type = node.type;
504 this._distance = node.distance; 505 this._distance = node.distance;
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
900 }, 901 },
901 902
902 __proto__: WebInspector.HeapSnapshotObjectNode.prototype 903 __proto__: WebInspector.HeapSnapshotObjectNode.prototype
903 } 904 }
904 905
905 /** 906 /**
906 * @constructor 907 * @constructor
907 * @extends {WebInspector.HeapSnapshotGenericObjectNode} 908 * @extends {WebInspector.HeapSnapshotGenericObjectNode}
908 * @param {!WebInspector.HeapSnapshotSortableDataGrid} dataGrid 909 * @param {!WebInspector.HeapSnapshotSortableDataGrid} dataGrid
909 * @param {!WebInspector.HeapSnapshotProxy} snapshot 910 * @param {!WebInspector.HeapSnapshotProxy} snapshot
911 * @param {!WebInspector.HeapSnapshotCommon.Node} node
910 * @param {boolean} isDeletedNode 912 * @param {boolean} isDeletedNode
911 */ 913 */
912 WebInspector.HeapSnapshotInstanceNode = function(dataGrid, snapshot, node, isDel etedNode) 914 WebInspector.HeapSnapshotInstanceNode = function(dataGrid, snapshot, node, isDel etedNode)
913 { 915 {
914 WebInspector.HeapSnapshotGenericObjectNode.call(this, dataGrid, node); 916 WebInspector.HeapSnapshotGenericObjectNode.call(this, dataGrid, node);
915 this._baseSnapshotOrSnapshot = snapshot; 917 this._baseSnapshotOrSnapshot = snapshot;
916 this._isDeletedNode = isDeletedNode; 918 this._isDeletedNode = isDeletedNode;
917 this.updateHasChildren(); 919 this.updateHasChildren();
918 920
919 var data = this.data; 921 var data = this.data;
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
1157 1159
1158 __proto__: WebInspector.HeapSnapshotGridNode.prototype 1160 __proto__: WebInspector.HeapSnapshotGridNode.prototype
1159 } 1161 }
1160 1162
1161 1163
1162 /** 1164 /**
1163 * @constructor 1165 * @constructor
1164 * @implements {WebInspector.HeapSnapshotGridNode.ChildrenProvider} 1166 * @implements {WebInspector.HeapSnapshotGridNode.ChildrenProvider}
1165 * @param {!WebInspector.HeapSnapshotProviderProxy} addedNodesProvider 1167 * @param {!WebInspector.HeapSnapshotProviderProxy} addedNodesProvider
1166 * @param {!WebInspector.HeapSnapshotProviderProxy} deletedNodesProvider 1168 * @param {!WebInspector.HeapSnapshotProviderProxy} deletedNodesProvider
1169 * @param {number} addedCount
1170 * @param {number} removedCount
1167 */ 1171 */
1168 WebInspector.HeapSnapshotDiffNodesProvider = function(addedNodesProvider, delete dNodesProvider, addedCount, removedCount) 1172 WebInspector.HeapSnapshotDiffNodesProvider = function(addedNodesProvider, delete dNodesProvider, addedCount, removedCount)
1169 { 1173 {
1170 this._addedNodesProvider = addedNodesProvider; 1174 this._addedNodesProvider = addedNodesProvider;
1171 this._deletedNodesProvider = deletedNodesProvider; 1175 this._deletedNodesProvider = deletedNodesProvider;
1172 this._addedCount = addedCount; 1176 this._addedCount = addedCount;
1173 this._removedCount = removedCount; 1177 this._removedCount = removedCount;
1174 } 1178 }
1175 1179
1176 WebInspector.HeapSnapshotDiffNodesProvider.prototype = { 1180 WebInspector.HeapSnapshotDiffNodesProvider.prototype = {
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
1399 }, 1403 },
1400 1404
1401 __proto__: WebInspector.HeapSnapshotGridNode.prototype 1405 __proto__: WebInspector.HeapSnapshotGridNode.prototype
1402 } 1406 }
1403 1407
1404 1408
1405 /** 1409 /**
1406 * @constructor 1410 * @constructor
1407 * @extends {WebInspector.HeapSnapshotGenericObjectNode} 1411 * @extends {WebInspector.HeapSnapshotGenericObjectNode}
1408 * @param {!WebInspector.HeapSnapshotSortableDataGrid} dataGrid 1412 * @param {!WebInspector.HeapSnapshotSortableDataGrid} dataGrid
1413 * @param {!WebInspector.HeapSnapshotCommon.Node} node
1409 */ 1414 */
1410 WebInspector.HeapSnapshotDominatorObjectNode = function(dataGrid, node) 1415 WebInspector.HeapSnapshotDominatorObjectNode = function(dataGrid, node)
1411 { 1416 {
1412 WebInspector.HeapSnapshotGenericObjectNode.call(this, dataGrid, node); 1417 WebInspector.HeapSnapshotGenericObjectNode.call(this, dataGrid, node);
1413 this.updateHasChildren(); 1418 this.updateHasChildren();
1414 }; 1419 };
1415 1420
1416 WebInspector.HeapSnapshotDominatorObjectNode.prototype = { 1421 WebInspector.HeapSnapshotDominatorObjectNode.prototype = {
1417 /** 1422 /**
1418 * @override 1423 * @override
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
1602 /** 1607 /**
1603 * @return {number} 1608 * @return {number}
1604 */ 1609 */
1605 allocationNodeId: function() 1610 allocationNodeId: function()
1606 { 1611 {
1607 return this._allocationNode.id; 1612 return this._allocationNode.id;
1608 }, 1613 },
1609 1614
1610 __proto__: WebInspector.HeapSnapshotGridNode.prototype 1615 __proto__: WebInspector.HeapSnapshotGridNode.prototype
1611 } 1616 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/profiler/HeapSnapshotDataGrids.js ('k') | Source/devtools/front_end/profiler/HeapSnapshotProxy.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698