Home | History | Annotate | Download | only in inspector
      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
      3 // found in the LICENSE file.
      4 
      5 /** @interface */
      6 function InjectedScriptHostClass()
      7 {
      8 }
      9 
     10 /**
     11  * @param {*} obj
     12  */
     13 InjectedScriptHostClass.prototype.nullifyPrototype = function(obj) {}
     14 
     15 /**
     16  * @param {*} obj
     17  * @return {string}
     18  */
     19 InjectedScriptHostClass.prototype.internalConstructorName = function(obj) {}
     20 
     21 /**
     22  * @param {*} obj
     23  * @param {function()|undefined} func
     24  * @return {boolean}
     25  */
     26 InjectedScriptHostClass.prototype.formatAccessorsAsProperties = function(obj, func) {}
     27 
     28 /**
     29  * @param {*} obj
     30  * @return {string}
     31  */
     32 InjectedScriptHostClass.prototype.subtype = function(obj) {}
     33 
     34 /**
     35  * @param {*} obj
     36  * @return {boolean}
     37  */
     38 InjectedScriptHostClass.prototype.isTypedArray = function(obj) {}
     39 
     40 /**
     41  * @param {*} obj
     42  * @return {!Array.<*>}
     43  */
     44 InjectedScriptHostClass.prototype.getInternalProperties = function(obj) {}
     45 
     46 /**
     47  * @param {!Object} object
     48  * @param {string} propertyName
     49  * @return {boolean}
     50  */
     51 InjectedScriptHostClass.prototype.objectHasOwnProperty = function(object, propertyName) {}
     52 
     53 /**
     54  * @param {*} value
     55  * @param {string} groupName
     56  * @return {number}
     57  */
     58 InjectedScriptHostClass.prototype.bind = function(value, groupName) {}
     59 
     60 /**
     61  * @param {!Object} object
     62  * @return {!Object}
     63  */
     64 InjectedScriptHostClass.prototype.proxyTargetValue = function(object) {}
     65 
     66 /** @type {!InjectedScriptHostClass} */
     67 var InjectedScriptHost;
     68 /** @type {!Window} */
     69 var inspectedGlobalObject;
     70 /** @type {number} */
     71 var injectedScriptId;
     72