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

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

Issue 2726763002: [Devtools] Fixed flicker in network for large stream of requests (Closed)
Patch Set: Created 3 years, 9 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/data_grid/ViewportDataGrid.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 /* 1 /*
2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2008, 2009 Anthony Ricaud <rik@webkit.org> 3 * Copyright (C) 2008, 2009 Anthony Ricaud <rik@webkit.org>
4 * Copyright (C) 2011 Google Inc. All rights reserved. 4 * Copyright (C) 2011 Google Inc. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 9 *
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 835 matching lines...) Expand 10 before | Expand all | Expand 10 after
846 node.refresh(); 846 node.refresh();
847 847
848 this._highlightNthMatchedRequestForSearch( 848 this._highlightNthMatchedRequestForSearch(
849 this._updateMatchCountAndFindMatchIndex(this._currentMatchedRequestNode) , false); 849 this._updateMatchCountAndFindMatchIndex(this._currentMatchedRequestNode) , false);
850 850
851 this._staleRequestIds = {}; 851 this._staleRequestIds = {};
852 this._updateSummaryBar(); 852 this._updateSummaryBar();
853 853
854 if (nodesToInsert.size) 854 if (nodesToInsert.size)
855 this._columns.sortByCurrentColumn(); 855 this._columns.sortByCurrentColumn();
856
857 this._dataGrid.updateInstantly();
pfeldman 2017/03/02 00:11:05 rename it to forceUpdate.
856 } 858 }
857 859
858 /** 860 /**
859 * @param {!Network.NetworkRequestNode} node 861 * @param {!Network.NetworkRequestNode} node
860 * @return {?Network.NetworkNode} 862 * @return {?Network.NetworkNode}
861 */ 863 */
862 _parentNodeForInsert(node) { 864 _parentNodeForInsert(node) {
863 if (!this._activeGroupLookup) 865 if (!this._activeGroupLookup)
864 return this._dataGrid.rootNode(); 866 return this._dataGrid.rootNode();
865 867
(...skipping 926 matching lines...) Expand 10 before | Expand all | Expand 10 after
1792 */ 1794 */
1793 Network.NetworkGroupLookupInterface = function() {}; 1795 Network.NetworkGroupLookupInterface = function() {};
1794 1796
1795 Network.NetworkGroupLookupInterface.prototype = { 1797 Network.NetworkGroupLookupInterface.prototype = {
1796 /** 1798 /**
1797 * @param {!SDK.NetworkRequest} request 1799 * @param {!SDK.NetworkRequest} request
1798 * @return {?string} 1800 * @return {?string}
1799 */ 1801 */
1800 lookup(request) {} 1802 lookup(request) {}
1801 }; 1803 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/data_grid/ViewportDataGrid.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698