| 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 747 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 758 } | 758 } |
| 759 | 759 |
| 760 /** | 760 /** |
| 761 * @override | 761 * @override |
| 762 */ | 762 */ |
| 763 wasShown() { | 763 wasShown() { |
| 764 this._refreshIfNeeded(); | 764 this._refreshIfNeeded(); |
| 765 this._columns.wasShown(); | 765 this._columns.wasShown(); |
| 766 } | 766 } |
| 767 | 767 |
| 768 /** |
| 769 * @override |
| 770 */ |
| 771 willHide() { |
| 772 this._columns.willHide(); |
| 773 } |
| 774 |
| 768 _refresh() { | 775 _refresh() { |
| 769 this._needsRefresh = false; | 776 this._needsRefresh = false; |
| 770 | 777 |
| 771 if (this._refreshRequestId) { | 778 if (this._refreshRequestId) { |
| 772 this.element.window().cancelAnimationFrame(this._refreshRequestId); | 779 this.element.window().cancelAnimationFrame(this._refreshRequestId); |
| 773 delete this._refreshRequestId; | 780 delete this._refreshRequestId; |
| 774 } | 781 } |
| 775 | 782 |
| 776 this.removeAllNodeHighlights(); | 783 this.removeAllNodeHighlights(); |
| 777 | 784 |
| (...skipping 919 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1697 Network.NetworkLogView.IsFilterType = { | 1704 Network.NetworkLogView.IsFilterType = { |
| 1698 Running: 'running' | 1705 Running: 'running' |
| 1699 }; | 1706 }; |
| 1700 | 1707 |
| 1701 /** @type {!Array<string>} */ | 1708 /** @type {!Array<string>} */ |
| 1702 Network.NetworkLogView._searchKeys = | 1709 Network.NetworkLogView._searchKeys = |
| 1703 Object.keys(Network.NetworkLogView.FilterType).map(key => Network.NetworkLog
View.FilterType[key]); | 1710 Object.keys(Network.NetworkLogView.FilterType).map(key => Network.NetworkLog
View.FilterType[key]); |
| 1704 | 1711 |
| 1705 /** @typedef {function(!SDK.NetworkRequest): boolean} */ | 1712 /** @typedef {function(!SDK.NetworkRequest): boolean} */ |
| 1706 Network.NetworkLogView.Filter; | 1713 Network.NetworkLogView.Filter; |
| OLD | NEW |