| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 /** | 5 /** |
| 6 * @constructor | 6 * @constructor |
| 7 * @extends {WebInspector.VBox} | 7 * @extends {WebInspector.VBox} |
| 8 */ | 8 */ |
| 9 WebInspector.TimelineTreeView = function() | 9 WebInspector.TimelineTreeView = function() |
| 10 { | 10 { |
| (...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 322 WebInspector.TimelineTreeView.GridNode.prototype = { | 322 WebInspector.TimelineTreeView.GridNode.prototype = { |
| 323 /** | 323 /** |
| 324 * @override | 324 * @override |
| 325 * @param {string} columnId | 325 * @param {string} columnId |
| 326 * @return {!Element} | 326 * @return {!Element} |
| 327 */ | 327 */ |
| 328 createCell: function(columnId) | 328 createCell: function(columnId) |
| 329 { | 329 { |
| 330 if (columnId === "activity") | 330 if (columnId === "activity") |
| 331 return this._createNameCell(columnId); | 331 return this._createNameCell(columnId); |
| 332 return this._createValueCell(columnId) || WebInspector.DataGridNode.prot
otype.createCell.call(this, columnId); | 332 return this._createValueCell(columnId) || super.createCell(columnId); |
| 333 }, | 333 }, |
| 334 | 334 |
| 335 /** | 335 /** |
| 336 * @param {string} columnId | 336 * @param {string} columnId |
| 337 * @return {!Element} | 337 * @return {!Element} |
| 338 */ | 338 */ |
| 339 _createNameCell: function(columnId) | 339 _createNameCell: function(columnId) |
| 340 { | 340 { |
| 341 var cell = this.createTD(columnId); | 341 var cell = this.createTD(columnId); |
| 342 var container = cell.createChild("div", "name-container"); | 342 var container = cell.createChild("div", "name-container"); |
| (...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 887 return selectedNode && /** @type {!WebInspector.TimelineTreeView.GridNod
e} */ (selectedNode)._profileNode; | 887 return selectedNode && /** @type {!WebInspector.TimelineTreeView.GridNod
e} */ (selectedNode)._profileNode; |
| 888 }, | 888 }, |
| 889 | 889 |
| 890 _onSelectionChanged: function() | 890 _onSelectionChanged: function() |
| 891 { | 891 { |
| 892 this.dispatchEventToListeners(WebInspector.TimelineStackView.Events.Sele
ctionChanged); | 892 this.dispatchEventToListeners(WebInspector.TimelineStackView.Events.Sele
ctionChanged); |
| 893 }, | 893 }, |
| 894 | 894 |
| 895 __proto__: WebInspector.VBox.prototype | 895 __proto__: WebInspector.VBox.prototype |
| 896 }; | 896 }; |
| OLD | NEW |