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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/network/NetworkLogViewColumns.js

Issue 2417723002: [Devtools] Bug fix of event dividers not showing in network panel (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/network/NetworkLogView.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/network/NetworkLogView.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698