OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 /** @interface */ | 5 /** @interface */ |
6 function InjectedScriptHostClass() | 6 function InjectedScriptHostClass() |
7 { | 7 { |
8 } | 8 } |
9 | 9 |
10 /** | 10 /** |
11 * @param {*} obj | 11 * @param {*} obj |
12 */ | 12 */ |
13 InjectedScriptHostClass.prototype.nullifyPrototype = function(obj) {} | 13 InjectedScriptHostClass.prototype.nullifyPrototype = function(obj) {} |
14 | 14 |
15 /** | 15 /** |
16 * @param {*} obj | 16 * @param {*} obj |
| 17 * @param {string} name |
| 18 * @return {*} |
| 19 */ |
| 20 InjectedScriptHostClass.prototype.getProperty = function(obj, name) {} |
| 21 |
| 22 /** |
| 23 * @param {*} obj |
17 * @return {string} | 24 * @return {string} |
18 */ | 25 */ |
19 InjectedScriptHostClass.prototype.internalConstructorName = function(obj) {} | 26 InjectedScriptHostClass.prototype.internalConstructorName = function(obj) {} |
20 | 27 |
21 /** | 28 /** |
22 * @param {*} obj | 29 * @param {*} obj |
23 * @param {function()|undefined} func | 30 * @param {function()|undefined} func |
24 * @return {boolean} | 31 * @return {boolean} |
25 */ | 32 */ |
26 InjectedScriptHostClass.prototype.formatAccessorsAsProperties = function(obj, fu
nc) {} | 33 InjectedScriptHostClass.prototype.formatAccessorsAsProperties = function(obj, fu
nc) {} |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 * @return {!Object} | 69 * @return {!Object} |
63 */ | 70 */ |
64 InjectedScriptHostClass.prototype.proxyTargetValue = function(object) {} | 71 InjectedScriptHostClass.prototype.proxyTargetValue = function(object) {} |
65 | 72 |
66 /** @type {!InjectedScriptHostClass} */ | 73 /** @type {!InjectedScriptHostClass} */ |
67 var InjectedScriptHost; | 74 var InjectedScriptHost; |
68 /** @type {!Window} */ | 75 /** @type {!Window} */ |
69 var inspectedGlobalObject; | 76 var inspectedGlobalObject; |
70 /** @type {number} */ | 77 /** @type {number} */ |
71 var injectedScriptId; | 78 var injectedScriptId; |
OLD | NEW |