
        };
        SnapshotTileView.prototype.onSizeClick = function (e) {
            this._controller.viewSnapshot(this._model.summaryData.id, "Dominators", "retainedSize");
        };
        SnapshotTileView.prototype.onObjectCountClick = function (e) {
            this._controller.viewSnapshot(this._model.summaryData.id, "Types", "childrenCount");
        };
        SnapshotTileView.prototype.diffTo = function (id) {
            this._controller.compareSnapshots(this._model.summaryData.id, id, "Dominators", "retainedSize");
        };
        SnapshotTileView.prototype.onDiffClick = function (e) {
            var toSnapshot = this._comparableSnapshots[this._model.summaryData.id - 2];
            if(toSnapshot) {
                this._controller.compareSnapshots(this._model.summaryData.id, toSnapshot.id, "Dominators", "retainedSizeDiff");
            }
        };
        SnapshotTileView.prototype.onObjectDiffClick = function (e, target) {
            var toSnapshot = this._comparableSnapshots[this._model.summaryData.id - 2];
            if(toSnapshot) {
                this._controller.compareSnapshots(this._model.summaryData.id, toSnapshot.id, "Types", "childrenCountDiff");
            }
        };
        return SnapshotTileView;
    })(Common.Controls.TemplateControl);
    MemoryAnalyzer.SnapshotTileView = SnapshotTileView;    
})(MemoryAnalyzer || (MemoryAnalyzer = {}));
//@ sourceMappingURL=snapshotTileView.js.map

// snapshotView.ts
var __extends = this.__extends || func