Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(123)

Side by Side Diff: Source/devtools/front_end/network/NetworkPanel.js

Issue 315223002: DevTools: [JSDoc] Fix invalid @param and @return annotations (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 2471 matching lines...) Expand 10 before | Expand all | Expand 10 after
2482 case "initiator": this._renderInitiatorCell(cell); break; 2482 case "initiator": this._renderInitiatorCell(cell); break;
2483 case "size": this._renderSizeCell(cell); break; 2483 case "size": this._renderSizeCell(cell); break;
2484 case "time": this._renderTimeCell(cell); break; 2484 case "time": this._renderTimeCell(cell); break;
2485 default: cell.setTextAndTitle(this._request.responseHeaderValue(columnId entifier) || ""); break; 2485 default: cell.setTextAndTitle(this._request.responseHeaderValue(columnId entifier) || ""); break;
2486 } 2486 }
2487 2487
2488 return cell; 2488 return cell;
2489 }, 2489 },
2490 2490
2491 /** 2491 /**
2492 * @param array {?Array} 2492 * @param {?Array} array
2493 * @return {string} 2493 * @return {string}
2494 */ 2494 */
2495 _arrayLength: function(array) 2495 _arrayLength: function(array)
2496 { 2496 {
2497 return array ? "" + array.length : ""; 2497 return array ? "" + array.length : "";
2498 }, 2498 },
2499 2499
2500 wasDetached: function() 2500 wasDetached: function()
2501 { 2501 {
2502 this._linkifier.reset(); 2502 this._linkifier.reset();
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after
2919 WebInspector.NetworkDataGridNode.RequestPropertyComparator = function(propertyNa me, revert, a, b) 2919 WebInspector.NetworkDataGridNode.RequestPropertyComparator = function(propertyNa me, revert, a, b)
2920 { 2920 {
2921 var aValue = a._request[propertyName]; 2921 var aValue = a._request[propertyName];
2922 var bValue = b._request[propertyName]; 2922 var bValue = b._request[propertyName];
2923 if (aValue > bValue) 2923 if (aValue > bValue)
2924 return revert ? -1 : 1; 2924 return revert ? -1 : 1;
2925 if (bValue > aValue) 2925 if (bValue > aValue)
2926 return revert ? 1 : -1; 2926 return revert ? 1 : -1;
2927 return 0; 2927 return 0;
2928 } 2928 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/ScreencastView.js ('k') | Source/devtools/front_end/profiler/heap_snapshot_worker/HeapSnapshot.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698