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

Side by Side Diff: Source/devtools/front_end/HeapSnapshotProxy.js

Issue 203403002: Show live objects with given allocation call stack (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added more annotations Created 6 years, 9 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 copyrightdd 8 * * Redistributions of source code must retain the above copyrightdd
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 414 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 createNodesProviderForDominator: function(nodeIndex) 425 createNodesProviderForDominator: function(nodeIndex)
426 { 426 {
427 return this.callFactoryMethod(null, "createNodesProviderForDominator", W ebInspector.HeapSnapshotProviderProxy, nodeIndex); 427 return this.callFactoryMethod(null, "createNodesProviderForDominator", W ebInspector.HeapSnapshotProviderProxy, nodeIndex);
428 }, 428 },
429 429
430 allocationTracesTops: function(callback) 430 allocationTracesTops: function(callback)
431 { 431 {
432 this.callMethod(callback, "allocationTracesTops"); 432 this.callMethod(callback, "allocationTracesTops");
433 }, 433 },
434 434
435 /**
436 * @param {number} nodeId
437 * @param {function(!WebInspector.HeapSnapshotCommon.AllocationNodeCallers)} callback
438 */
435 allocationNodeCallers: function(nodeId, callback) 439 allocationNodeCallers: function(nodeId, callback)
436 { 440 {
437 this.callMethod(callback, "allocationNodeCallers", nodeId); 441 this.callMethod(callback, "allocationNodeCallers", nodeId);
438 }, 442 },
439 443
440 dispose: function() 444 dispose: function()
441 { 445 {
442 throw new Error("Should never be called"); 446 throw new Error("Should never be called");
443 }, 447 },
444 448
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
549 * @param {!WebInspector.HeapSnapshotCommon.ComparatorConfig} comparator 553 * @param {!WebInspector.HeapSnapshotCommon.ComparatorConfig} comparator
550 * @param {function()} callback 554 * @param {function()} callback
551 */ 555 */
552 sortAndRewind: function(comparator, callback) 556 sortAndRewind: function(comparator, callback)
553 { 557 {
554 this.callMethod(callback, "sortAndRewind", comparator); 558 this.callMethod(callback, "sortAndRewind", comparator);
555 }, 559 },
556 560
557 __proto__: WebInspector.HeapSnapshotProxyObject.prototype 561 __proto__: WebInspector.HeapSnapshotProxyObject.prototype
558 } 562 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/HeapSnapshotDataGrids.js ('k') | Source/devtools/front_end/HeapSnapshotView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698