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 1970 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1981 { | 1981 { |
1982 this._networkLogView.jumpToNextSearchResult(); | 1982 this._networkLogView.jumpToNextSearchResult(); |
1983 }, | 1983 }, |
1984 | 1984 |
1985 searchCanceled: function() | 1985 searchCanceled: function() |
1986 { | 1986 { |
1987 this._networkLogView.searchCanceled(); | 1987 this._networkLogView.searchCanceled(); |
1988 }, | 1988 }, |
1989 | 1989 |
1990 /** | 1990 /** |
| 1991 * @param {!Event} event |
1991 * @param {!WebInspector.ContextMenu} contextMenu | 1992 * @param {!WebInspector.ContextMenu} contextMenu |
1992 * @param {!Object} target | 1993 * @param {!Object} target |
1993 * @this {WebInspector.NetworkPanel} | 1994 * @this {WebInspector.NetworkPanel} |
1994 */ | 1995 */ |
1995 appendApplicableItems: function(event, contextMenu, target) | 1996 appendApplicableItems: function(event, contextMenu, target) |
1996 { | 1997 { |
1997 /** | 1998 /** |
1998 * @this {WebInspector.NetworkPanel} | 1999 * @this {WebInspector.NetworkPanel} |
1999 */ | 2000 */ |
2000 function reveal(request) | 2001 function reveal(request) |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2061 /** | 2062 /** |
2062 * @constructor | 2063 * @constructor |
2063 * @implements {WebInspector.ContextMenu.Provider} | 2064 * @implements {WebInspector.ContextMenu.Provider} |
2064 */ | 2065 */ |
2065 WebInspector.NetworkPanel.ContextMenuProvider = function() | 2066 WebInspector.NetworkPanel.ContextMenuProvider = function() |
2066 { | 2067 { |
2067 } | 2068 } |
2068 | 2069 |
2069 WebInspector.NetworkPanel.ContextMenuProvider.prototype = { | 2070 WebInspector.NetworkPanel.ContextMenuProvider.prototype = { |
2070 /** | 2071 /** |
| 2072 * @param {!Event} event |
2071 * @param {!WebInspector.ContextMenu} contextMenu | 2073 * @param {!WebInspector.ContextMenu} contextMenu |
2072 * @param {!Object} target | 2074 * @param {!Object} target |
2073 */ | 2075 */ |
2074 appendApplicableItems: function(event, contextMenu, target) | 2076 appendApplicableItems: function(event, contextMenu, target) |
2075 { | 2077 { |
2076 WebInspector.inspectorView.panel("network").appendApplicableItems(event,
contextMenu, target); | 2078 WebInspector.inspectorView.panel("network").appendApplicableItems(event,
contextMenu, target); |
2077 } | 2079 } |
2078 } | 2080 } |
2079 | 2081 |
2080 /** | 2082 /** |
(...skipping 836 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2917 WebInspector.NetworkDataGridNode.RequestPropertyComparator = function(propertyNa
me, revert, a, b) | 2919 WebInspector.NetworkDataGridNode.RequestPropertyComparator = function(propertyNa
me, revert, a, b) |
2918 { | 2920 { |
2919 var aValue = a._request[propertyName]; | 2921 var aValue = a._request[propertyName]; |
2920 var bValue = b._request[propertyName]; | 2922 var bValue = b._request[propertyName]; |
2921 if (aValue > bValue) | 2923 if (aValue > bValue) |
2922 return revert ? -1 : 1; | 2924 return revert ? -1 : 1; |
2923 if (bValue > aValue) | 2925 if (bValue > aValue) |
2924 return revert ? 1 : -1; | 2926 return revert ? 1 : -1; |
2925 return 0; | 2927 return 0; |
2926 } | 2928 } |
OLD | NEW |