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

Side by Side Diff: third_party/WebKit/Source/platform/v8_inspector/injected_script_externs.js

Issue 1823883002: [DevTools] Removed InjectedScriptHost.eval and InjectedScriptHost.objectForId (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move-get-collection-entries
Patch Set: Created 4 years, 9 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 | « third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.cpp ('k') | 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 // 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
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
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
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;
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698