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

Side by Side Diff: Source/devtools/front_end/profiler/CPUProfileView.js

Issue 308643003: DevTools: [JSDoc] Avoid partial arg list annotations in the "profiler" module (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) 2008 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 696 matching lines...) Expand 10 before | Expand all | Expand 10 after
707 this._profile = JSON.parse(this._jsonifiedProfile); 707 this._profile = JSON.parse(this._jsonifiedProfile);
708 this._jsonifiedProfile = null; 708 this._jsonifiedProfile = null;
709 this.updateStatus(WebInspector.UIString("Loaded"), false); 709 this.updateStatus(WebInspector.UIString("Loaded"), false);
710 710
711 if (this._profileType.profileBeingRecorded() === this) 711 if (this._profileType.profileBeingRecorded() === this)
712 this._profileType.setProfileBeingRecorded(null); 712 this._profileType.setProfileBeingRecorded(null);
713 }, 713 },
714 714
715 /** 715 /**
716 * @param {!WebInspector.ChunkedReader} reader 716 * @param {!WebInspector.ChunkedReader} reader
717 * @param {?Event} e
717 */ 718 */
718 onError: function(reader, e) 719 onError: function(reader, e)
719 { 720 {
720 var subtitle; 721 var subtitle;
721 switch(e.target.error.code) { 722 switch(e.target.error.code) {
722 case e.target.error.NOT_FOUND_ERR: 723 case e.target.error.NOT_FOUND_ERR:
723 subtitle = WebInspector.UIString("'%s' not found.", reader.fileName( )); 724 subtitle = WebInspector.UIString("'%s' not found.", reader.fileName( ));
724 break; 725 break;
725 case e.target.error.NOT_READABLE_ERR: 726 case e.target.error.NOT_READABLE_ERR:
726 subtitle = WebInspector.UIString("'%s' is not readable", reader.file Name()); 727 subtitle = WebInspector.UIString("'%s' is not readable", reader.file Name());
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
887 _notifyTempFileReady: function() 888 _notifyTempFileReady: function()
888 { 889 {
889 if (this._onTempFileReady) { 890 if (this._onTempFileReady) {
890 this._onTempFileReady(); 891 this._onTempFileReady();
891 this._onTempFileReady = null; 892 this._onTempFileReady = null;
892 } 893 }
893 }, 894 },
894 895
895 __proto__: WebInspector.ProfileHeader.prototype 896 __proto__: WebInspector.ProfileHeader.prototype
896 } 897 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/profiler/CPUProfileFlameChart.js ('k') | Source/devtools/front_end/profiler/HeapSnapshotCommon.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698