| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 nodeSelfHeight: function() | 68 nodeSelfHeight: function() |
| 69 { | 69 { |
| 70 return this._parentView.rowHeight(); | 70 return this._parentView.rowHeight(); |
| 71 }, | 71 }, |
| 72 | 72 |
| 73 /** | 73 /** |
| 74 * @override | 74 * @override |
| 75 */ | 75 */ |
| 76 createCells: function() | 76 createCells: function() |
| 77 { | 77 { |
| 78 this._showTiming = !WebInspector.settings.networkColorCodeResourceTypes.
get() && !this._parentView.calculator().startAtZero; | 78 this._showTiming = !WebInspector.settings.networkColorCodeResourceTypes.
get(); |
| 79 this._nameCell = null; | 79 this._nameCell = null; |
| 80 this._timelineCell = null; | 80 this._timelineCell = null; |
| 81 this._initiatorCell = null; | 81 this._initiatorCell = null; |
| 82 | 82 |
| 83 this._element.classList.toggle("network-error-row", this._isFailed()); | 83 this._element.classList.toggle("network-error-row", this._isFailed()); |
| 84 this._element.classList.toggle("network-navigation-row", this._isNavigat
ionRequest); | 84 this._element.classList.toggle("network-navigation-row", this._isNavigat
ionRequest); |
| 85 WebInspector.SortableDataGridNode.prototype.createCells.call(this); | 85 WebInspector.SortableDataGridNode.prototype.createCells.call(this); |
| 86 | 86 |
| 87 this._updateGraph(); | 87 this._updateGraph(); |
| 88 }, | 88 }, |
| (...skipping 564 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 653 WebInspector.NetworkDataGridNode.RequestPropertyComparator = function(propertyNa
me, revert, a, b) | 653 WebInspector.NetworkDataGridNode.RequestPropertyComparator = function(propertyNa
me, revert, a, b) |
| 654 { | 654 { |
| 655 var aValue = a._request[propertyName]; | 655 var aValue = a._request[propertyName]; |
| 656 var bValue = b._request[propertyName]; | 656 var bValue = b._request[propertyName]; |
| 657 if (aValue > bValue) | 657 if (aValue > bValue) |
| 658 return revert ? -1 : 1; | 658 return revert ? -1 : 1; |
| 659 if (bValue > aValue) | 659 if (bValue > aValue) |
| 660 return revert ? 1 : -1; | 660 return revert ? 1 : -1; |
| 661 return a._request.indentityCompare(b._request); | 661 return a._request.indentityCompare(b._request); |
| 662 } | 662 } |
| OLD | NEW |