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 815 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
826 WebInspector.TargetAware.call(this, target); | 826 WebInspector.TargetAware.call(this, target); |
827 this._debuggerModel = target.debuggerModel; | 827 this._debuggerModel = target.debuggerModel; |
828 this.scriptId = scriptId; | 828 this.scriptId = scriptId; |
829 this.lineNumber = lineNumber; | 829 this.lineNumber = lineNumber; |
830 this.columnNumber = columnNumber; | 830 this.columnNumber = columnNumber; |
831 } | 831 } |
832 | 832 |
833 /** | 833 /** |
834 * @param {!WebInspector.Target} target | 834 * @param {!WebInspector.Target} target |
835 * @param {!DebuggerAgent.Location} payload | 835 * @param {!DebuggerAgent.Location} payload |
| 836 * @return {!WebInspector.DebuggerModel.Location} |
836 */ | 837 */ |
837 WebInspector.DebuggerModel.Location.fromPayload = function(target, payload) | 838 WebInspector.DebuggerModel.Location.fromPayload = function(target, payload) |
838 { | 839 { |
839 return new WebInspector.DebuggerModel.Location(target, payload.scriptId, pay
load.lineNumber, payload.columnNumber); | 840 return new WebInspector.DebuggerModel.Location(target, payload.scriptId, pay
load.lineNumber, payload.columnNumber); |
840 } | 841 } |
841 | 842 |
842 WebInspector.DebuggerModel.Location.prototype = { | 843 WebInspector.DebuggerModel.Location.prototype = { |
843 /** | 844 /** |
844 * @return {!DebuggerAgent.Location} | 845 * @return {!DebuggerAgent.Location} |
845 */ | 846 */ |
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1151 this.asyncStackTrace.dispose(); | 1152 this.asyncStackTrace.dispose(); |
1152 }, | 1153 }, |
1153 | 1154 |
1154 __proto__: WebInspector.TargetAware.prototype | 1155 __proto__: WebInspector.TargetAware.prototype |
1155 } | 1156 } |
1156 | 1157 |
1157 /** | 1158 /** |
1158 * @type {!WebInspector.DebuggerModel} | 1159 * @type {!WebInspector.DebuggerModel} |
1159 */ | 1160 */ |
1160 WebInspector.debuggerModel; | 1161 WebInspector.debuggerModel; |
OLD | NEW |