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

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

Issue 222443003: DevTools: Treat system object distances with less priority (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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 447 matching lines...) Expand 10 before | Expand all | Expand 10 after
458 get totalSize() 458 get totalSize()
459 { 459 {
460 return this._staticData.totalSize; 460 return this._staticData.totalSize;
461 }, 461 },
462 462
463 get uid() 463 get uid()
464 { 464 {
465 return this._profileUid; 465 return this._profileUid;
466 }, 466 },
467 467
468 get baseSystemDistance()
469 {
470 return this._staticData.baseSystemDistance;
471 },
472
468 setProfileUid: function(profileUid) 473 setProfileUid: function(profileUid)
469 { 474 {
470 this._profileUid = profileUid; 475 this._profileUid = profileUid;
471 }, 476 },
472 477
473 /** 478 /**
474 * @return {number} 479 * @return {number}
475 */ 480 */
476 maxJSObjectId: function() 481 maxJSObjectId: function()
477 { 482 {
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
530 * @param {!WebInspector.HeapSnapshotCommon.ComparatorConfig} comparator 535 * @param {!WebInspector.HeapSnapshotCommon.ComparatorConfig} comparator
531 * @param {function()} callback 536 * @param {function()} callback
532 */ 537 */
533 sortAndRewind: function(comparator, callback) 538 sortAndRewind: function(comparator, callback)
534 { 539 {
535 this.callMethod(callback, "sortAndRewind", comparator); 540 this.callMethod(callback, "sortAndRewind", comparator);
536 }, 541 },
537 542
538 __proto__: WebInspector.HeapSnapshotProxyObject.prototype 543 __proto__: WebInspector.HeapSnapshotProxyObject.prototype
539 } 544 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698