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

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

Issue 388253005: Revert of DevTools: fixed compilation problem with InjectedScriptSource.js (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 * @param {*} object 80 * @param {*} object
81 */ 81 */
82 InjectedScriptHostClass.prototype.type = function(object) { } 82 InjectedScriptHostClass.prototype.type = function(object) { }
83 /** 83 /**
84 * @param {*} object 84 * @param {*} object
85 */ 85 */
86 InjectedScriptHostClass.prototype.getEventListeners = function(object) { } 86 InjectedScriptHostClass.prototype.getEventListeners = function(object) { }
87 /** 87 /**
88 * @param {string} expression 88 * @param {string} expression
89 */ 89 */
90 InjectedScriptHostClass.prototype.eval = function(expression) { } 90 InjectedScriptHostClass.prototype.evaluate = function(expression) { }
91 /**
92 * @param {string} expression
93 */
94 InjectedScriptHostClass.prototype.evaluateWithExceptionDetails = function(expres sion) { }
95 /** 91 /**
96 * @param {*} fn 92 * @param {*} fn
97 */ 93 */
98 InjectedScriptHostClass.prototype.debugFunction = function(fn) { } 94 InjectedScriptHostClass.prototype.debugFunction = function(fn) { }
99 /** 95 /**
100 * @param {*} fn 96 * @param {*} fn
101 */ 97 */
102 InjectedScriptHostClass.prototype.undebugFunction = function(fn) { } 98 InjectedScriptHostClass.prototype.undebugFunction = function(fn) { }
103 /** 99 /**
104 * @param {*} fn 100 * @param {*} fn
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 /** @type {string} */ 136 /** @type {string} */
141 this.stepInPositions; 137 this.stepInPositions;
142 } 138 }
143 139
144 /** 140 /**
145 * @param {number} index 141 * @param {number} index
146 */ 142 */
147 JavaScriptCallFrame.prototype.scopeType = function(index) { } 143 JavaScriptCallFrame.prototype.scopeType = function(index) { }
148 144
149 JavaScriptCallFrame.prototype.restart = function() { } 145 JavaScriptCallFrame.prototype.restart = function() { }
150 /** 146
151 * @param {string} expression
152 */
153 JavaScriptCallFrame.prototype.evaluateWithExceptionDetails = function(expression ) { }
154 /** 147 /**
155 * @param {number} scopeNumber 148 * @param {number} scopeNumber
156 * @param {string} variableName 149 * @param {string} variableName
157 * @param {*} newValue 150 * @param {*} newValue
158 */ 151 */
159 JavaScriptCallFrame.prototype.setVariableValue = function(scopeNumber, variableN ame, newValue) {} 152 JavaScriptCallFrame.prototype.setVariableValue = function(scopeNumber, variableN ame, newValue) {}
160 153
161 /** 154 /**
162 * @constructor 155 * @constructor
163 */ 156 */
164 function JavaScriptFunction() 157 function JavaScriptFunction()
165 { 158 {
166 /** @type {Array} */ 159 /** @type {Array} */
167 this.rawScopes; 160 this.rawScopes;
168 } 161 }
169 162
170 // FIXME: Remove once ES6 is supported natively by JS compiler. 163 // FIXME: Remove once ES6 is supported natively by JS compiler.
171 164
172 /** @typedef {string} */ 165 /** @typedef {string} */
173 var symbol; 166 var symbol;
174 167
175 /** 168 /**
176 * @param {string} description 169 * @param {string} description
177 * @return {symbol} 170 * @return {symbol}
178 */ 171 */
179 function Symbol(description) {} 172 function Symbol(description) {}
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698