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 797 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
808 this._timelineGrid.hideEventDividers(); | 808 this._timelineGrid.hideEventDividers(); |
809 }, | 809 }, |
810 | 810 |
811 showEventDividers: function() | 811 showEventDividers: function() |
812 { | 812 { |
813 if (Runtime.experiments.isEnabled("canvasNetworkTimeline")) | 813 if (Runtime.experiments.isEnabled("canvasNetworkTimeline")) |
814 return; | 814 return; |
815 this._timelineGrid.showEventDividers(); | 815 this._timelineGrid.showEventDividers(); |
816 }, | 816 }, |
817 | 817 |
| 818 /** |
| 819 * @param {number} time |
| 820 */ |
| 821 selectFilmStripFrame: function(time) |
| 822 { |
| 823 for (var divider of this._eventDividers) |
| 824 divider.element.classList.toggle("network-frame-divider-selected", d
ivider.time === time); |
| 825 }, |
| 826 |
| 827 clearFilmStripFrame: function() |
| 828 { |
| 829 for (var divider of this._eventDividers) |
| 830 divider.element.classList.toggle("network-frame-divider-selected", f
alse); |
| 831 }, |
| 832 |
818 _updateRowsSize: function() | 833 _updateRowsSize: function() |
819 { | 834 { |
820 if (Runtime.experiments.isEnabled("canvasNetworkTimeline")) | 835 if (Runtime.experiments.isEnabled("canvasNetworkTimeline")) |
821 return; | 836 return; |
822 this._timelineGrid.element.classList.toggle("small", !this._networkLogLa
rgeRowsSetting.get()); | 837 this._timelineGrid.element.classList.toggle("small", !this._networkLogLa
rgeRowsSetting.get()); |
823 } | 838 } |
824 } | 839 } |
OLD | NEW |