OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 * @param {!WebInspector.NetworkLogView} networkLogView | 7 * @param {!WebInspector.NetworkLogView} networkLogView |
8 * @param {!WebInspector.Setting} networkLogLargeRowsSetting | 8 * @param {!WebInspector.Setting} networkLogLargeRowsSetting |
9 */ | 9 */ |
10 WebInspector.NetworkLogViewColumns = function(networkLogView, networkLogLargeRow
sSetting) | 10 WebInspector.NetworkLogViewColumns = function(networkLogView, networkLogLargeRow
sSetting) |
(...skipping 26 matching lines...) Expand all Loading... |
37 /** @type {?WebInspector.DataGrid} */ | 37 /** @type {?WebInspector.DataGrid} */ |
38 this._dataGrid = null; | 38 this._dataGrid = null; |
39 /** @type {!Array.<!WebInspector.NetworkLogViewColumns.Descriptor>} */ | 39 /** @type {!Array.<!WebInspector.NetworkLogViewColumns.Descriptor>} */ |
40 this._columns = []; | 40 this._columns = []; |
41 | 41 |
42 /** @type {?WebInspector.TimelineGrid} */ | 42 /** @type {?WebInspector.TimelineGrid} */ |
43 this._timelineGrid = null; | 43 this._timelineGrid = null; |
44 | 44 |
45 /** @type {!WebInspector.Linkifier} */ | 45 /** @type {!WebInspector.Linkifier} */ |
46 this._popupLinkifier = new WebInspector.Linkifier(); | 46 this._popupLinkifier = new WebInspector.Linkifier(); |
47 } | 47 }; |
48 WebInspector.NetworkLogViewColumns._initialSortColumn = "timeline"; | 48 WebInspector.NetworkLogViewColumns._initialSortColumn = "timeline"; |
49 | 49 |
50 /** | 50 /** |
51 * @typedef {{ | 51 * @typedef {{ |
52 * id: string, | 52 * id: string, |
53 * title: string, | 53 * title: string, |
54 * titleDOMFragment: (!DocumentFragment|undefined), | 54 * titleDOMFragment: (!DocumentFragment|undefined), |
55 * subtitle: (string|null), | 55 * subtitle: (string|null), |
56 * visible: boolean, | 56 * visible: boolean, |
57 * weight: number, | 57 * weight: number, |
(...skipping 772 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
830 for (var divider of this._eventDividers) | 830 for (var divider of this._eventDividers) |
831 divider.element.classList.toggle("network-frame-divider-selected", f
alse); | 831 divider.element.classList.toggle("network-frame-divider-selected", f
alse); |
832 }, | 832 }, |
833 | 833 |
834 _updateRowsSize: function() | 834 _updateRowsSize: function() |
835 { | 835 { |
836 if (Runtime.experiments.isEnabled("canvasNetworkTimeline")) | 836 if (Runtime.experiments.isEnabled("canvasNetworkTimeline")) |
837 return; | 837 return; |
838 this._timelineGrid.element.classList.toggle("small", !this._networkLogLa
rgeRowsSetting.get()); | 838 this._timelineGrid.element.classList.toggle("small", !this._networkLogLa
rgeRowsSetting.get()); |
839 } | 839 } |
840 } | 840 }; |
OLD | NEW |