| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 | 124 |
| 125 /** | 125 /** |
| 126 * @return {boolean} | 126 * @return {boolean} |
| 127 */ | 127 */ |
| 128 isNode: function() | 128 isNode: function() |
| 129 { | 129 { |
| 130 return false; | 130 return false; |
| 131 }, | 131 }, |
| 132 | 132 |
| 133 /** | 133 /** |
| 134 * @param {function(?DebuggerAgent.FunctionDetails)} callback | 134 * @param {function(?WebInspector.DebuggerModel.FunctionDetails)} callback |
| 135 */ | 135 */ |
| 136 functionDetails: function(callback) | 136 functionDetails: function(callback) |
| 137 { | 137 { |
| 138 callback(null); | 138 callback(null); |
| 139 } | 139 } |
| 140 } | 140 } |
| 141 | 141 |
| 142 /** | 142 /** |
| 143 * @param {*} value | 143 * @param {*} value |
| 144 * @return {!WebInspector.RemoteObject} | 144 * @return {!WebInspector.RemoteObject} |
| (...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 583 | 583 |
| 584 /** | 584 /** |
| 585 * @return {boolean} | 585 * @return {boolean} |
| 586 */ | 586 */ |
| 587 isNode: function() | 587 isNode: function() |
| 588 { | 588 { |
| 589 return !!this._objectId && this.type === "object" && this.subtype === "n
ode"; | 589 return !!this._objectId && this.type === "object" && this.subtype === "n
ode"; |
| 590 }, | 590 }, |
| 591 | 591 |
| 592 /** | 592 /** |
| 593 * @param {function(?DebuggerAgent.FunctionDetails)} callback | 593 * @param {function(?WebInspector.DebuggerModel.FunctionDetails)} callback |
| 594 */ | 594 */ |
| 595 functionDetails: function(callback) | 595 functionDetails: function(callback) |
| 596 { | 596 { |
| 597 this._target.debuggerModel.functionDetails(this, callback) | 597 this._target.debuggerModel.functionDetails(this, callback) |
| 598 }, | 598 }, |
| 599 | 599 |
| 600 __proto__: WebInspector.RemoteObject.prototype | 600 __proto__: WebInspector.RemoteObject.prototype |
| 601 }; | 601 }; |
| 602 | 602 |
| 603 | 603 |
| (...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1024 result = functionDeclaration.apply(target, rawArgs); | 1024 result = functionDeclaration.apply(target, rawArgs); |
| 1025 } catch (e) { | 1025 } catch (e) { |
| 1026 result = null; | 1026 result = null; |
| 1027 } | 1027 } |
| 1028 | 1028 |
| 1029 callback(result); | 1029 callback(result); |
| 1030 }, | 1030 }, |
| 1031 | 1031 |
| 1032 __proto__: WebInspector.RemoteObject.prototype | 1032 __proto__: WebInspector.RemoteObject.prototype |
| 1033 } | 1033 } |
| OLD | NEW |