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

Side by Side Diff: Source/devtools/front_end/sdk/DebuggerModel.js

Issue 340513003: DevTools: Add JSDoc for static methods, fix JSDoc types and induced errors (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased patch 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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 826 matching lines...) Expand 10 before | Expand all | Expand 10 after
837 WebInspector.TargetAware.call(this, target); 837 WebInspector.TargetAware.call(this, target);
838 this._debuggerModel = target.debuggerModel; 838 this._debuggerModel = target.debuggerModel;
839 this.scriptId = scriptId; 839 this.scriptId = scriptId;
840 this.lineNumber = lineNumber; 840 this.lineNumber = lineNumber;
841 this.columnNumber = columnNumber; 841 this.columnNumber = columnNumber;
842 } 842 }
843 843
844 /** 844 /**
845 * @param {!WebInspector.Target} target 845 * @param {!WebInspector.Target} target
846 * @param {!DebuggerAgent.Location} payload 846 * @param {!DebuggerAgent.Location} payload
847 * @return {!WebInspector.DebuggerModel.Location}
847 */ 848 */
848 WebInspector.DebuggerModel.Location.fromPayload = function(target, payload) 849 WebInspector.DebuggerModel.Location.fromPayload = function(target, payload)
849 { 850 {
850 return new WebInspector.DebuggerModel.Location(target, payload.scriptId, pay load.lineNumber, payload.columnNumber); 851 return new WebInspector.DebuggerModel.Location(target, payload.scriptId, pay load.lineNumber, payload.columnNumber);
851 } 852 }
852 853
853 WebInspector.DebuggerModel.Location.prototype = { 854 WebInspector.DebuggerModel.Location.prototype = {
854 /** 855 /**
855 * @return {!DebuggerAgent.Location} 856 * @return {!DebuggerAgent.Location}
856 */ 857 */
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
1162 this.asyncStackTrace.dispose(); 1163 this.asyncStackTrace.dispose();
1163 }, 1164 },
1164 1165
1165 __proto__: WebInspector.TargetAware.prototype 1166 __proto__: WebInspector.TargetAware.prototype
1166 } 1167 }
1167 1168
1168 /** 1169 /**
1169 * @type {!WebInspector.DebuggerModel} 1170 * @type {!WebInspector.DebuggerModel}
1170 */ 1171 */
1171 WebInspector.debuggerModel; 1172 WebInspector.debuggerModel;
OLDNEW
« no previous file with comments | « Source/devtools/front_end/sdk/CookieParser.js ('k') | Source/devtools/front_end/sdk/Linkifier.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698