| 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 594 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 605 { | 605 { |
| 606 if (!this._recording) | 606 if (!this._recording) |
| 607 return; | 607 return; |
| 608 var data = /** @type {number} */ (event.data); | 608 var data = /** @type {number} */ (event.data); |
| 609 if (data) { | 609 if (data) { |
| 610 this._mainRequestDOMContentLoadedTime = data; | 610 this._mainRequestDOMContentLoadedTime = data; |
| 611 this._columns.addEventDividers([data], "network-blue-divider"); | 611 this._columns.addEventDividers([data], "network-blue-divider"); |
| 612 } | 612 } |
| 613 }, | 613 }, |
| 614 | 614 |
| 615 /** |
| 616 * @override |
| 617 */ |
| 615 wasShown: function() | 618 wasShown: function() |
| 616 { | 619 { |
| 617 this._refreshIfNeeded(); | 620 this._refreshIfNeeded(); |
| 618 this._columns.wasShown(); | 621 this._columns.wasShown(); |
| 619 }, | 622 }, |
| 620 | 623 |
| 624 /** |
| 625 * @override |
| 626 */ |
| 621 willHide: function() | 627 willHide: function() |
| 622 { | 628 { |
| 623 this._columns.willHide(); | 629 this._columns.willHide(); |
| 624 }, | 630 }, |
| 625 | 631 |
| 626 _refresh: function() | 632 _refresh: function() |
| 627 { | 633 { |
| 628 this._needsRefresh = false; | 634 this._needsRefresh = false; |
| 629 | 635 |
| 630 if (this._refreshRequestId) { | 636 if (this._refreshRequestId) { |
| (...skipping 1137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1768 * @return {boolean} | 1774 * @return {boolean} |
| 1769 */ | 1775 */ |
| 1770 WebInspector.NetworkLogView._requestTimeFilter = function(windowStart, windowEnd
, request) | 1776 WebInspector.NetworkLogView._requestTimeFilter = function(windowStart, windowEnd
, request) |
| 1771 { | 1777 { |
| 1772 if (request.issueTime() > windowEnd) | 1778 if (request.issueTime() > windowEnd) |
| 1773 return false; | 1779 return false; |
| 1774 if (request.endTime !== -1 && request.endTime < windowStart) | 1780 if (request.endTime !== -1 && request.endTime < windowStart) |
| 1775 return false; | 1781 return false; |
| 1776 return true; | 1782 return true; |
| 1777 }; | 1783 }; |
| OLD | NEW |