OLD | NEW |
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 Loading... |
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 Loading... |
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; |
OLD | NEW |