OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 21 matching lines...) Expand all Loading... |
32 * @constructor | 32 * @constructor |
33 */ | 33 */ |
34 function InjectedScriptHostClass() { } | 34 function InjectedScriptHostClass() { } |
35 InjectedScriptHostClass.prototype.storageId = function(object) { } | 35 InjectedScriptHostClass.prototype.storageId = function(object) { } |
36 InjectedScriptHostClass.prototype.getInternalProperties = function(object) { } | 36 InjectedScriptHostClass.prototype.getInternalProperties = function(object) { } |
37 /** | 37 /** |
38 * @param {Function} func | 38 * @param {Function} func |
39 */ | 39 */ |
40 InjectedScriptHostClass.prototype.functionDetails = function(func) { } | 40 InjectedScriptHostClass.prototype.functionDetails = function(func) { } |
41 /** | 41 /** |
42 * @param {!Object} receiver | |
43 * @param {!Function} func | 42 * @param {!Function} func |
44 * @param {...*} args | 43 * @param {*} receiver |
| 44 * @param {!Array.<*>=} args |
45 */ | 45 */ |
46 InjectedScriptHostClass.prototype.suppressWarningsAndCall = function(receiver, f
unc, args) { } | 46 InjectedScriptHostClass.prototype.callFunction = function(func, receiver, args)
{ } |
| 47 /** |
| 48 * @param {!Function} func |
| 49 * @param {*} receiver |
| 50 * @param {!Array.<*>=} args |
| 51 */ |
| 52 InjectedScriptHostClass.prototype.suppressWarningsAndCallFunction = function(fun
c, receiver, args) { } |
47 /** | 53 /** |
48 * @param {*} object | 54 * @param {*} object |
49 */ | 55 */ |
50 InjectedScriptHostClass.prototype.isHTMLAllCollection = function(object) { } | 56 InjectedScriptHostClass.prototype.isHTMLAllCollection = function(object) { } |
51 /** | 57 /** |
52 * @param {*} object | 58 * @param {*} object |
53 */ | 59 */ |
54 InjectedScriptHostClass.prototype.internalConstructorName = function(object) { } | 60 InjectedScriptHostClass.prototype.internalConstructorName = function(object) { } |
55 | 61 |
56 InjectedScriptHostClass.prototype.clearConsoleMessages = function() { } | 62 InjectedScriptHostClass.prototype.clearConsoleMessages = function() { } |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 // FIXME: Remove once ES6 is supported natively by JS compiler. | 176 // FIXME: Remove once ES6 is supported natively by JS compiler. |
171 | 177 |
172 /** @typedef {string} */ | 178 /** @typedef {string} */ |
173 var symbol; | 179 var symbol; |
174 | 180 |
175 /** | 181 /** |
176 * @param {string} description | 182 * @param {string} description |
177 * @return {symbol} | 183 * @return {symbol} |
178 */ | 184 */ |
179 function Symbol(description) {} | 185 function Symbol(description) {} |
OLD | NEW |