OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium 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 /** |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 */ | 59 */ |
60 InjectedScriptHostClass.prototype.getInternalProperties = function(obj) {} | 60 InjectedScriptHostClass.prototype.getInternalProperties = function(obj) {} |
61 | 61 |
62 /** | 62 /** |
63 * @param {!EventTarget} target | 63 * @param {!EventTarget} target |
64 * @return {!Object|undefined} | 64 * @return {!Object|undefined} |
65 */ | 65 */ |
66 InjectedScriptHostClass.prototype.getEventListeners = function(target) {} | 66 InjectedScriptHostClass.prototype.getEventListeners = function(target) {} |
67 | 67 |
68 /** | 68 /** |
69 * @param {string} text | |
70 * @return {*} | |
71 */ | |
72 InjectedScriptHostClass.prototype.eval = function(text) {} | |
73 | |
74 /** | |
75 * @param {*} fn | 69 * @param {*} fn |
76 */ | 70 */ |
77 InjectedScriptHostClass.prototype.debugFunction = function(fn) {} | 71 InjectedScriptHostClass.prototype.debugFunction = function(fn) {} |
78 | 72 |
79 /** | 73 /** |
80 * @param {*} fn | 74 * @param {*} fn |
81 */ | 75 */ |
82 InjectedScriptHostClass.prototype.undebugFunction = function(fn) {} | 76 InjectedScriptHostClass.prototype.undebugFunction = function(fn) {} |
83 | 77 |
84 /** | 78 /** |
(...skipping 29 matching lines...) Expand all Loading... |
114 */ | 108 */ |
115 InjectedScriptHostClass.prototype.setNonEnumProperty = function(obj, key, value)
{} | 109 InjectedScriptHostClass.prototype.setNonEnumProperty = function(obj, key, value)
{} |
116 | 110 |
117 /** | 111 /** |
118 * @param {*} value | 112 * @param {*} value |
119 * @param {string} groupName | 113 * @param {string} groupName |
120 * @return {number} | 114 * @return {number} |
121 */ | 115 */ |
122 InjectedScriptHostClass.prototype.bind = function(value, groupName) {} | 116 InjectedScriptHostClass.prototype.bind = function(value, groupName) {} |
123 | 117 |
124 /** | |
125 * @param {number} id | |
126 * @return {*} | |
127 */ | |
128 InjectedScriptHostClass.prototype.objectForId = function(id) {} | |
129 | |
130 /** | |
131 * @param {number} id | |
132 * @return {string} | |
133 */ | |
134 InjectedScriptHostClass.prototype.idToObjectGroupName = function(id) {} | |
135 | |
136 /** @type {!InjectedScriptHostClass} */ | 118 /** @type {!InjectedScriptHostClass} */ |
137 var InjectedScriptHost; | 119 var InjectedScriptHost; |
138 | 120 |
139 /** @interface */ | 121 /** @interface */ |
140 function JavaScriptCallFrame() | 122 function JavaScriptCallFrame() |
141 { | 123 { |
142 /** @type {!JavaScriptCallFrame} */ | 124 /** @type {!JavaScriptCallFrame} */ |
143 this.caller; | 125 this.caller; |
144 /** @type {number} */ | 126 /** @type {number} */ |
145 this.sourceID; | 127 this.sourceID; |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 * @param {number} scopeIndex | 169 * @param {number} scopeIndex |
188 * @return {?DebuggerAgent.Location} | 170 * @return {?DebuggerAgent.Location} |
189 */ | 171 */ |
190 JavaScriptCallFrame.prototype.scopeEndLocation = function(scopeIndex) {} | 172 JavaScriptCallFrame.prototype.scopeEndLocation = function(scopeIndex) {} |
191 | 173 |
192 | 174 |
193 /** @type {!Window} */ | 175 /** @type {!Window} */ |
194 var inspectedGlobalObject; | 176 var inspectedGlobalObject; |
195 /** @type {number} */ | 177 /** @type {number} */ |
196 var injectedScriptId; | 178 var injectedScriptId; |
OLD | NEW |