| OLD | NEW |
| 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 778 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 789 _refresh() { | 789 _refresh() { |
| 790 this._needsRefresh = false; | 790 this._needsRefresh = false; |
| 791 | 791 |
| 792 if (this._refreshRequestId) { | 792 if (this._refreshRequestId) { |
| 793 this.element.window().cancelAnimationFrame(this._refreshRequestId); | 793 this.element.window().cancelAnimationFrame(this._refreshRequestId); |
| 794 delete this._refreshRequestId; | 794 delete this._refreshRequestId; |
| 795 } | 795 } |
| 796 | 796 |
| 797 this.removeAllNodeHighlights(); | 797 this.removeAllNodeHighlights(); |
| 798 | 798 |
| 799 var oldBoundary = this.calculator().boundary(); | |
| 800 this._timeCalculator.updateBoundariesForEventTime(this._mainRequestLoadTime)
; | 799 this._timeCalculator.updateBoundariesForEventTime(this._mainRequestLoadTime)
; |
| 801 this._durationCalculator.updateBoundariesForEventTime(this._mainRequestLoadT
ime); | 800 this._durationCalculator.updateBoundariesForEventTime(this._mainRequestLoadT
ime); |
| 802 this._timeCalculator.updateBoundariesForEventTime(this._mainRequestDOMConten
tLoadedTime); | 801 this._timeCalculator.updateBoundariesForEventTime(this._mainRequestDOMConten
tLoadedTime); |
| 803 this._durationCalculator.updateBoundariesForEventTime(this._mainRequestDOMCo
ntentLoadedTime); | 802 this._durationCalculator.updateBoundariesForEventTime(this._mainRequestDOMCo
ntentLoadedTime); |
| 804 | 803 |
| 805 var dataGrid = this._dataGrid; | 804 var dataGrid = this._dataGrid; |
| 806 var rootNode = dataGrid.rootNode(); | 805 var rootNode = dataGrid.rootNode(); |
| 807 /** @type {!Array<!Network.NetworkDataGridNode> } */ | 806 /** @type {!Array<!Network.NetworkDataGridNode> } */ |
| 808 var nodesToInsert = []; | 807 var nodesToInsert = []; |
| 809 /** @type {!Array<!Network.NetworkDataGridNode> } */ | 808 /** @type {!Array<!Network.NetworkDataGridNode> } */ |
| (...skipping 900 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1710 Running: 'running', | 1709 Running: 'running', |
| 1711 FromCache: 'from-cache' | 1710 FromCache: 'from-cache' |
| 1712 }; | 1711 }; |
| 1713 | 1712 |
| 1714 /** @type {!Array<string>} */ | 1713 /** @type {!Array<string>} */ |
| 1715 Network.NetworkLogView._searchKeys = | 1714 Network.NetworkLogView._searchKeys = |
| 1716 Object.keys(Network.NetworkLogView.FilterType).map(key => Network.NetworkLog
View.FilterType[key]); | 1715 Object.keys(Network.NetworkLogView.FilterType).map(key => Network.NetworkLog
View.FilterType[key]); |
| 1717 | 1716 |
| 1718 /** @typedef {function(!SDK.NetworkRequest): boolean} */ | 1717 /** @typedef {function(!SDK.NetworkRequest): boolean} */ |
| 1719 Network.NetworkLogView.Filter; | 1718 Network.NetworkLogView.Filter; |
| OLD | NEW |