Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(899)

Side by Side Diff: Source/core/inspector/injected_script_externs.js

Issue 1149383005: DevTools: remove InjectedScriptHost.idl, implement the binding without generator (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/inspector/InjectedScriptManager.cpp ('k') | Source/devtools/PRESUBMIT.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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()
7 {
8 }
9
10 /**
11 */
12 InjectedScriptHostClass.prototype.clearConsoleMessages = function() {}
13
14 /**
15 * @param {*} objectId
16 * @param {!Object} hints
17 */
18 InjectedScriptHostClass.prototype.inspect = function(objectId, hints) {}
19
20 /**
21 * @param {number} num
22 * @return {*}
23 */
24 InjectedScriptHostClass.prototype.inspectedObject = function(num) {}
25
26 /**
27 * @param {*} obj
28 * @return {string}
29 */
30 InjectedScriptHostClass.prototype.internalConstructorName = function(obj) {}
31
32 /**
33 * @param {*} obj
34 * @return {boolean}
35 */
36 InjectedScriptHostClass.prototype.isDOMWrapper = function(obj) {}
37
38 /**
39 * @param {*} obj
40 * @return {boolean}
41 */
42 InjectedScriptHostClass.prototype.isHTMLAllCollection = function(obj) {}
43
44 /**
45 * @param {*} obj
46 * @return {boolean}
47 */
48 InjectedScriptHostClass.prototype.isTypedArray = function(obj) {}
49
50 /**
51 * @param {*} obj
52 * @return {string}
53 */
54 InjectedScriptHostClass.prototype.subtype = function(obj) {}
55
56 /**
57 * @param {!Function} obj
58 * @return {*}
59 */
60 InjectedScriptHostClass.prototype.functionDetails = function(obj) {}
61
62 /**
63 * @param {!Object} obj
64 * @return {?Object}
65 */
66 InjectedScriptHostClass.prototype.generatorObjectDetails = function(obj) {}
67
68 /**
69 * @param {!Object} obj
70 * @return {?Array.<*>}
71 */
72 InjectedScriptHostClass.prototype.collectionEntries = function(obj) {}
73
74 /**
75 * @param {*} obj
76 * @return {!Array.<*>}
77 */
78 InjectedScriptHostClass.prototype.getInternalProperties = function(obj) {}
79
80 /**
81 * @param {!EventTarget} target
82 * @return {!Array.<*>}
83 */
84 InjectedScriptHostClass.prototype.getEventListeners = function(target) {}
85
86 /**
87 * @param {string} text
88 * @return {*}
89 */
90 InjectedScriptHostClass.prototype.eval = function(text) {}
91
92 /**
93 * @param {string} text
94 * @return {*}
95 */
96 InjectedScriptHostClass.prototype.evaluateWithExceptionDetails = function(text) {}
97
98 /**
99 * @param {*} fn
100 */
101 InjectedScriptHostClass.prototype.debugFunction = function(fn) {}
102
103 /**
104 * @param {*} fn
105 */
106 InjectedScriptHostClass.prototype.undebugFunction = function(fn) {}
107
108 /**
109 * @param {*} fn
110 */
111 InjectedScriptHostClass.prototype.monitorFunction = function(fn) {}
112
113 /**
114 * @param {*} fn
115 */
116 InjectedScriptHostClass.prototype.unmonitorFunction = function(fn) {}
117
118 /**
119 * @param {!Function} fn
120 * @param {*} receiver
121 * @param {!Array.<*>=} argv
122 * @return {*}
123 */
124 InjectedScriptHostClass.prototype.callFunction = function(fn, receiver, argv) {}
125
126 /**
127 * @param {!Function} fn
128 * @param {*} receiver
129 * @param {!Array.<*>=} argv
130 * @return {*}
131 */
132 InjectedScriptHostClass.prototype.suppressWarningsAndCallFunction = function(fn, receiver, argv) {}
133
134 /**
135 * @param {!Object} obj
136 * @param {string} key
137 * @param {*} value
138 */
139 InjectedScriptHostClass.prototype.setNonEnumProperty = function(obj, key, value) {}
140
141 /**
142 * @param {!Function} functionObject
143 * @param {number} scopeIndex
144 * @param {string} variableName
145 * @param {*} newValue
146 * @return {*}
147 */
148 InjectedScriptHostClass.prototype.setFunctionVariableValue = function(functionOb ject, scopeIndex, variableName, newValue) {}
149
150 /**
151 * @param {*} value
152 * @param {string} groupName
153 * @return {number}
154 */
155 InjectedScriptHostClass.prototype.bind = function(value, groupName) {}
156
157 /**
158 * @param {number} id
159 * @return {*}
160 */
161 InjectedScriptHostClass.prototype.objectForId = function(id) {}
162
163 /**
164 * @param {number} id
165 * @return {string}
166 */
167 InjectedScriptHostClass.prototype.idToObjectGroupName = function(id) {}
168
169 /** @type {!InjectedScriptHostClass} */
170 var InjectedScriptHost;
171
172 /** @interface */
6 function JavaScriptCallFrame() 173 function JavaScriptCallFrame()
7 { 174 {
8 /** @type {!JavaScriptCallFrame} */ 175 /** @type {!JavaScriptCallFrame} */
9 this.caller; 176 this.caller;
10 /** @type {number} */ 177 /** @type {number} */
11 this.sourceID; 178 this.sourceID;
12 /** @type {number} */ 179 /** @type {number} */
13 this.line; 180 this.line;
14 /** @type {number} */ 181 /** @type {number} */
15 this.column; 182 this.column;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 * @return {*} 217 * @return {*}
51 */ 218 */
52 JavaScriptCallFrame.prototype.setVariableValue = function(scopeIndex, variableNa me, newValue) {} 219 JavaScriptCallFrame.prototype.setVariableValue = function(scopeIndex, variableNa me, newValue) {}
53 220
54 /** 221 /**
55 * @param {number} scopeIndex 222 * @param {number} scopeIndex
56 * @return {number} 223 * @return {number}
57 */ 224 */
58 JavaScriptCallFrame.prototype.scopeType = function(scopeIndex) {} 225 JavaScriptCallFrame.prototype.scopeType = function(scopeIndex) {}
59 226
227
228 /** @type {!Window} */
229 var inspectedWindow;
230 /** @type {number} */
231 var injectedScriptId;
OLDNEW
« no previous file with comments | « Source/core/inspector/InjectedScriptManager.cpp ('k') | Source/devtools/PRESUBMIT.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698