| 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 597 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 wasShown: function() | 615 wasShown: function() |
| 616 { | 616 { |
| 617 this._refreshIfNeeded(); | 617 this._refreshIfNeeded(); |
| 618 this._columns.wasShown(); |
| 618 }, | 619 }, |
| 619 | 620 |
| 620 willHide: function() | 621 willHide: function() |
| 621 { | 622 { |
| 622 this._columns.willHide(); | 623 this._columns.willHide(); |
| 623 }, | 624 }, |
| 624 | 625 |
| 625 _refresh: function() | 626 _refresh: function() |
| 626 { | 627 { |
| 627 this._needsRefresh = false; | 628 this._needsRefresh = false; |
| (...skipping 1141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1769 * @return {boolean} | 1770 * @return {boolean} |
| 1770 */ | 1771 */ |
| 1771 WebInspector.NetworkLogView._requestTimeFilter = function(windowStart, windowEnd
, request) | 1772 WebInspector.NetworkLogView._requestTimeFilter = function(windowStart, windowEnd
, request) |
| 1772 { | 1773 { |
| 1773 if (request.issueTime() > windowEnd) | 1774 if (request.issueTime() > windowEnd) |
| 1774 return false; | 1775 return false; |
| 1775 if (request.endTime !== -1 && request.endTime < windowStart) | 1776 if (request.endTime !== -1 && request.endTime < windowStart) |
| 1776 return false; | 1777 return false; |
| 1777 return true; | 1778 return true; |
| 1778 }; | 1779 }; |
| OLD | NEW |