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

Side by Side Diff: core/inspector/InspectorInstrumentation.idl

Issue 2786203002: Roll 50: Copied IDLs, PYTHON scripts from WebKit removed deleted files in WebCore (Closed)
Patch Set: Created 3 years, 8 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 | « core/inspector/DevToolsHost.idl ('k') | core/inspector/InspectorOverlayHost.idl » ('j') | 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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 [DOMDebugger, Inline=FastReturn] 131 [DOMDebugger, Inline=FastReturn]
132 void didFireWebGLErrorOrWarning(Element*, const String& message); 132 void didFireWebGLErrorOrWarning(Element*, const String& message);
133 133
134 [AsyncCallTracker, DOMDebugger, Inline=FastReturn] 134 [AsyncCallTracker, DOMDebugger, Inline=FastReturn]
135 void didInstallTimer([Keep] ExecutionContext*, int timerId, int timeout, boo l singleShot); 135 void didInstallTimer([Keep] ExecutionContext*, int timerId, int timeout, boo l singleShot);
136 136
137 [AsyncCallTracker, DOMDebugger, Inline=FastReturn] 137 [AsyncCallTracker, DOMDebugger, Inline=FastReturn]
138 void didRemoveTimer([Keep] ExecutionContext*, int timerId); 138 void didRemoveTimer([Keep] ExecutionContext*, int timerId);
139 139
140 [Debugger, Inline=FastReturn] 140 [Debugger, Inline=FastReturn]
141 InspectorInstrumentationCookie willCallFunction([Keep] ExecutionContext*, co nst DevToolsFunctionInfo&); 141 InspectorInstrumentationCookie willExecuteScript(ExecutionContext*, int scri ptId);
142 142
143 [Debugger, Inline=FastReturn] 143 [Debugger, Inline=FastReturn]
144 void didCallFunction(const InspectorInstrumentationCookie&); 144 void didExecuteScript(const InspectorInstrumentationCookie&);
145 145
146 [AsyncCallTracker, Inline=FastReturn] 146 [AsyncCallTracker, Inline=FastReturn]
147 void didEnqueueEvent([Keep] EventTarget*, Event*); 147 void didEnqueueEvent([Keep] EventTarget*, Event*);
148 148
149 [AsyncCallTracker, Inline=FastReturn] 149 [AsyncCallTracker, Inline=FastReturn]
150 void didRemoveEvent([Keep] EventTarget*, Event*); 150 void didRemoveEvent([Keep] EventTarget*, Event*);
151 151
152 [AsyncCallTracker, DOMDebugger, Inline=FastReturn] 152 [AsyncCallTracker, DOMDebugger, Inline=FastReturn]
153 InspectorInstrumentationCookie willHandleEvent([Keep] EventTarget*, Event*, EventListener* listener, bool useCapture); 153 InspectorInstrumentationCookie willHandleEvent([Keep] EventTarget*, Event*, EventListener* listener, bool useCapture);
154 154
155 [AsyncCallTracker, Debugger, Inline=FastReturn] 155 [AsyncCallTracker, DOMDebugger, Inline=FastReturn]
156 void didHandleEvent(const InspectorInstrumentationCookie&); 156 void didHandleEvent(const InspectorInstrumentationCookie&);
157 157
158 [AsyncCallTracker, Inline=FastReturn] 158 [AsyncCallTracker, Inline=FastReturn]
159 void didEnqueueMutationRecord([Keep] ExecutionContext*, MutationObserver*); 159 void didEnqueueMutationRecord([Keep] ExecutionContext*, MutationObserver*);
160 160
161 [AsyncCallTracker, Inline=FastReturn] 161 [AsyncCallTracker, Inline=FastReturn]
162 void didClearAllMutationRecords([Keep] ExecutionContext*, MutationObserver*) ; 162 void didClearAllMutationRecords([Keep] ExecutionContext*, MutationObserver*) ;
163 163
164 [AsyncCallTracker, Inline=FastReturn] 164 [AsyncCallTracker, Inline=FastReturn]
165 void willDeliverMutationRecords([Keep] ExecutionContext*, MutationObserver*) ; 165 void willDeliverMutationRecords([Keep] ExecutionContext*, MutationObserver*) ;
166 166
167 [AsyncCallTracker, Inline=FastReturn] 167 [AsyncCallTracker, Inline=FastReturn]
168 void didDeliverMutationRecords(ExecutionContext*); 168 void didDeliverMutationRecords(ExecutionContext*);
169 169
170 [AsyncCallTracker, Inline=FastReturn] 170 [AsyncCallTracker, Inline=FastReturn]
171 void didPostExecutionContextTask([Keep] ExecutionContext*, ExecutionContextT ask*); 171 void didPostExecutionContextTask([Keep] ExecutionContext*, ExecutionContextT ask*);
172 172
173 [AsyncCallTracker, Inline=FastReturn] 173 [AsyncCallTracker, Inline=FastReturn]
174 void didKillAllExecutionContextTasks([Keep] ExecutionContext*); 174 void didKillAllExecutionContextTasks([Keep] ExecutionContext*);
175 175
176 [AsyncCallTracker, Inline=FastReturn] 176 [AsyncCallTracker, Inline=FastReturn]
177 void willPerformExecutionContextTask([Keep] ExecutionContext*, ExecutionCont extTask*); 177 void willPerformExecutionContextTask([Keep] ExecutionContext*, ExecutionCont extTask*);
178 178
179 [AsyncCallTracker, Inline=FastReturn] 179 [AsyncCallTracker, Inline=FastReturn]
180 void didPerformExecutionContextTask(ExecutionContext*); 180 void didPerformExecutionContextTask(ExecutionContext*);
181 181
182 [Debugger, DOMDebugger, Inline=FastReturn] 182 [DOMDebugger, Inline=FastReturn]
183 InspectorInstrumentationCookie willEvaluateScript([Keep] LocalFrame*, const String& url, int lineNumber); 183 void willEvaluateScript(ExecutionContext*);
184
185 [Debugger, Inline=FastReturn]
186 void didEvaluateScript(const InspectorInstrumentationCookie&);
187 184
188 [PageRuntime] 185 [PageRuntime]
189 void didCreateScriptContext([Keep] LocalFrame*, ScriptState*, SecurityOrigin *, int worldId); 186 void didCreateScriptContext([Keep] LocalFrame*, ScriptState*, SecurityOrigin *, int worldId);
190 187
191 [PageRuntime, Inline=FastReturn] 188 [PageRuntime, Inline=FastReturn]
192 void willReleaseScriptContext([Keep] LocalFrame*, ScriptState*); 189 void willReleaseScriptContext([Keep] LocalFrame*, ScriptState*);
193 190
194 [AsyncCallTracker, DOMDebugger, Inline=FastReturn] 191 [AsyncCallTracker, DOMDebugger, Inline=FastReturn]
195 InspectorInstrumentationCookie willFireTimer([Keep] ExecutionContext*, int t imerId); 192 InspectorInstrumentationCookie willFireTimer([Keep] ExecutionContext*, int t imerId);
196 193
197 [AsyncCallTracker, Debugger, Inline=FastReturn] 194 [AsyncCallTracker, DOMDebugger, Inline=FastReturn]
198 void didFireTimer(const InspectorInstrumentationCookie&); 195 void didFireTimer(const InspectorInstrumentationCookie&);
199 196
200 [Page, Inline=FastReturn] 197 [Page, Inline=FastReturn]
201 void didLayout(LocalFrame*); 198 void didUpdateLayout(LocalFrame*);
202
203 [Page, Inline=FastReturn]
204 void didScroll(LocalFrame*);
205 199
206 [Page, Inline=FastReturn] 200 [Page, Inline=FastReturn]
207 void didResizeMainFrame(LocalFrame*); 201 void didResizeMainFrame(LocalFrame*);
208 202
209 [AsyncCallTracker, Inline=FastReturn] 203 [AsyncCallTracker, Inline=FastReturn]
210 void didDispatchXHRLoadendEvent(ExecutionContext*, XMLHttpRequest*); 204 void didDispatchXHRLoadendEvent(ExecutionContext*, XMLHttpRequest*);
211 205
212 [LayerTree, Inline=FastReturn] 206 [LayerTree, Inline=FastReturn]
213 void didPaint([Keep] LayoutObject*, const GraphicsLayer*, GraphicsContext*, const LayoutRect&); 207 void didPaint([Keep] LayoutObject*, const GraphicsLayer*, GraphicsContext&, const LayoutRect&);
214 208
215 [Resource, Inline=FastReturn] 209 [Resource, Inline=FastReturn]
216 InspectorInstrumentationCookie willRecalculateStyle([Keep] Document*); 210 InspectorInstrumentationCookie willRecalculateStyle([Keep] Document*);
217 211
218 [Resource, Inline=FastReturn] 212 [Resource, Page, Inline=FastReturn]
219 void didRecalculateStyle(const InspectorInstrumentationCookie&, int elementC ount); 213 void didRecalculateStyle(const InspectorInstrumentationCookie&, int elementC ount);
220 214
221 [Resource, Inline=FastReturn] 215 [Resource, Inline=FastReturn]
222 void didScheduleStyleRecalculation([Keep] Document*); 216 void didScheduleStyleRecalculation([Keep] Document*);
223 217
224 [Resource, Inline=FastReturn] 218 [Resource, Inline=FastReturn]
225 void applyUserAgentOverride(LocalFrame*, String* userAgent); 219 void applyUserAgentOverride(LocalFrame*, String* userAgent);
226 220
227 [Resource] 221 [Resource]
228 void willSendRequest(LocalFrame*, unsigned long identifier, DocumentLoader*, ResourceRequest&, const ResourceResponse& redirectResponse, const FetchInitiato rInfo&); 222 void didBlockRequest([Keep] LocalFrame*, const ResourceRequest&, DocumentLoa der*, const FetchInitiatorInfo&, ResourceRequestBlockedReason);
223
224 [Resource]
225 void willSendRequest([Keep] LocalFrame*, unsigned long identifier, DocumentL oader*, ResourceRequest&, const ResourceResponse& redirectResponse, const FetchI nitiatorInfo&);
229 226
230 [Resource] 227 [Resource]
231 void markResourceAsCached(LocalFrame*, unsigned long identifier); 228 void markResourceAsCached(LocalFrame*, unsigned long identifier);
232 229
233 [Resource] 230 [Resource]
234 void didReceiveResourceResponse([Keep] LocalFrame*, unsigned long identifier , DocumentLoader*, const ResourceResponse&, ResourceLoader*); 231 void didReceiveResourceResponse([Keep] LocalFrame*, unsigned long identifier , DocumentLoader*, const ResourceResponse&, ResourceLoader*);
235 232
236 [Inline=Forward] 233 [Inline=Forward]
237 void continueAfterXFrameOptionsDenied(LocalFrame* frame, DocumentLoader* loa der, unsigned long identifier, const ResourceResponse& r); 234 void continueAfterXFrameOptionsDenied(LocalFrame* frame, DocumentLoader* loa der, unsigned long identifier, const ResourceResponse& r);
238 235
(...skipping 12 matching lines...) Expand all
251 [Resource] 248 [Resource]
252 void didFailLoading(LocalFrame* frame, unsigned long identifier, const Resou rceError&); 249 void didFailLoading(LocalFrame* frame, unsigned long identifier, const Resou rceError&);
253 250
254 [Resource] 251 [Resource]
255 void documentThreadableLoaderStartedLoadingForClient(ExecutionContext*, unsi gned long identifier, ThreadableLoaderClient* client); 252 void documentThreadableLoaderStartedLoadingForClient(ExecutionContext*, unsi gned long identifier, ThreadableLoaderClient* client);
256 253
257 [Resource] 254 [Resource]
258 void willSendEventSourceRequest(ExecutionContext*, ThreadableLoaderClient* e ventSource); 255 void willSendEventSourceRequest(ExecutionContext*, ThreadableLoaderClient* e ventSource);
259 256
260 [Resource] 257 [Resource]
261 void willDispachEventSourceEvent(ExecutionContext*, ThreadableLoaderClient* eventSource, const AtomicString& eventName, const AtomicString& eventId, const V ector<UChar>& data); 258 void willDispatchEventSourceEvent(ExecutionContext*, ThreadableLoaderClient* eventSource, const AtomicString& eventName, const AtomicString& eventId, const String& data);
262 259
263 [Resource] 260 [Resource]
264 void didFinishEventSourceRequest(ExecutionContext*, ThreadableLoaderClient* eventSource); 261 void didFinishEventSourceRequest(ExecutionContext*, ThreadableLoaderClient* eventSource);
265 262
266 [AsyncCallTracker, Resource] 263 [AsyncCallTracker, Resource]
267 void willLoadXHR(ExecutionContext*, XMLHttpRequest* xhr, ThreadableLoaderCli ent* client, const AtomicString& method, const KURL& url, bool async, PassRefPtr <FormData>, const HTTPHeaderMap& headers, bool includeCredentials); 264 void willLoadXHR(ExecutionContext*, XMLHttpRequest* xhr, ThreadableLoaderCli ent* client, const AtomicString& method, const KURL& url, bool async, PassRefPtr <EncodedFormData>, const HTTPHeaderMap& headers, bool includeCredentials);
268 265
269 [Resource] 266 [Resource]
270 void didFailXHRLoading([Keep] ExecutionContext*, XMLHttpRequest* xhr, Thread ableLoaderClient* client, const AtomicString& method, const String& url); 267 void didFailXHRLoading([Keep] ExecutionContext*, XMLHttpRequest* xhr, Thread ableLoaderClient* client, const AtomicString& method, const String& url);
271 268
272 [Resource] 269 [Resource]
273 void didFinishXHRLoading([Keep] ExecutionContext*, XMLHttpRequest* xhr, Thre adableLoaderClient* client, const AtomicString& method, const String& url); 270 void didFinishXHRLoading([Keep] ExecutionContext*, XMLHttpRequest* xhr, Thre adableLoaderClient* client, const AtomicString& method, const String& url);
274 271
275 [Resource] 272 [Resource]
273 void willStartFetch(ExecutionContext*, ThreadableLoaderClient*);
274
275 [Resource]
276 void didFailFetch(ExecutionContext*, ThreadableLoaderClient*);
277
278 [Resource]
279 void didFinishFetch([Keep] ExecutionContext*, ThreadableLoaderClient*, const AtomicString& method, const String& url);
280
281 [Resource]
276 void scriptImported(ExecutionContext*, unsigned long identifier, const Strin g& sourceString); 282 void scriptImported(ExecutionContext*, unsigned long identifier, const Strin g& sourceString);
277 283
278 [Debugger] 284 [Debugger]
279 void scriptExecutionBlockedByCSP(ExecutionContext*, const String& directiveT ext); 285 void scriptExecutionBlockedByCSP(ExecutionContext*, const String& directiveT ext);
280 286
281 [Resource] 287 [Resource]
282 void didReceiveScriptResponse(ExecutionContext*, unsigned long identifier); 288 void didReceiveScriptResponse(ExecutionContext*, unsigned long identifier);
283 289
284 [PageDebugger] 290 [PageDebugger]
285 void didStartProvisionalLoad([Keep] LocalFrame*); 291 void didStartProvisionalLoad([Keep] LocalFrame*);
(...skipping 28 matching lines...) Expand all
314 [Page, Resource] 320 [Page, Resource]
315 void frameClearedScheduledNavigation([Keep] LocalFrame*); 321 void frameClearedScheduledNavigation([Keep] LocalFrame*);
316 322
317 [Page, Inline=FastReturn] 323 [Page, Inline=FastReturn]
318 InspectorInstrumentationCookie willRunJavaScriptDialog(LocalFrame*, const St ring& message, ChromeClient::DialogType dialogType); 324 InspectorInstrumentationCookie willRunJavaScriptDialog(LocalFrame*, const St ring& message, ChromeClient::DialogType dialogType);
319 325
320 [Page, Inline=FastReturn] 326 [Page, Inline=FastReturn]
321 void didRunJavaScriptDialog(const InspectorInstrumentationCookie&, bool resu lt); 327 void didRunJavaScriptDialog(const InspectorInstrumentationCookie&, bool resu lt);
322 328
323 [Inline=Forward] 329 [Inline=Forward]
324 void willDestroyResource(Resource* cachedResource); 330 void removedResourceFromMemoryCache(Resource* cachedResource);
325 331
326 [AsyncCallTracker, DOMDebugger] 332 [AsyncCallTracker, DOMDebugger]
327 void didRequestAnimationFrame([Keep] ExecutionContext*, int callbackId); 333 void didRequestAnimationFrame([Keep] ExecutionContext*, int callbackId);
328 334
329 [AsyncCallTracker, DOMDebugger] 335 [AsyncCallTracker, DOMDebugger]
330 void didCancelAnimationFrame([Keep] ExecutionContext*, int callbackId); 336 void didCancelAnimationFrame([Keep] ExecutionContext*, int callbackId);
331 337
332 [AsyncCallTracker, DOMDebugger] 338 [AsyncCallTracker, DOMDebugger]
333 InspectorInstrumentationCookie willFireAnimationFrame([Keep] ExecutionContex t*, int callbackId); 339 InspectorInstrumentationCookie willFireAnimationFrame([Keep] ExecutionContex t*, int callbackId);
334 340
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 [AsyncCallTracker, Inline=FastReturn] 407 [AsyncCallTracker, Inline=FastReturn]
402 InspectorInstrumentationCookie traceAsyncOperationCompletedCallbackStarting( [Keep] ExecutionContext*, int operationId); 408 InspectorInstrumentationCookie traceAsyncOperationCompletedCallbackStarting( [Keep] ExecutionContext*, int operationId);
403 409
404 [AsyncCallTracker, Inline=FastReturn] 410 [AsyncCallTracker, Inline=FastReturn]
405 InspectorInstrumentationCookie traceAsyncCallbackStarting([Keep] ExecutionCo ntext*, int operationId); 411 InspectorInstrumentationCookie traceAsyncCallbackStarting([Keep] ExecutionCo ntext*, int operationId);
406 412
407 [AsyncCallTracker, Inline=FastReturn] 413 [AsyncCallTracker, Inline=FastReturn]
408 void traceAsyncCallbackCompleted(const InspectorInstrumentationCookie&); 414 void traceAsyncCallbackCompleted(const InspectorInstrumentationCookie&);
409 415
410 [Animation, Inline=FastReturn] 416 [Animation, Inline=FastReturn]
411 void didCreateAnimation(Document*, Animation* player); 417 void didCreateAnimation(Document*, unsigned);
412 418
413 [Animation, Inline=FastReturn] 419 [Animation, Inline=FastReturn]
414 void didCancelAnimation(Document*, Animation* player); 420 void animationPlayStateChanged(Document*, Animation*, Animation::AnimationPl ayState oldPlayState, Animation::AnimationPlayState newPlayState);
421
422 [Page, Inline=FastReturn]
423 void windowCreated(LocalFrame* opener, LocalFrame* created);
415 } 424 }
416 425
417 interface InspectorConsoleInstrumentation { 426 interface InspectorConsoleInstrumentation {
418 427
419 #include "core/inspector/ScriptArguments.h" 428 #include "core/inspector/ScriptArguments.h"
420 429
421 class ConsoleMessage; 430 class ConsoleMessage;
422 431
423 [Console] 432 [Console]
424 void addMessageToConsole(ExecutionContext* context, ConsoleMessage* consoleM essage); 433 void addMessageToConsole(ExecutionContext* context, ConsoleMessage* consoleM essage);
(...skipping 11 matching lines...) Expand all
436 interface InspectorOverrides { 445 interface InspectorOverrides {
437 [CSS, Inline=FastReturn] 446 [CSS, Inline=FastReturn]
438 bool forcePseudoState([Keep] Element* element, CSSSelector::PseudoType pseud oState); 447 bool forcePseudoState([Keep] Element* element, CSSSelector::PseudoType pseud oState);
439 448
440 [Worker, Inline=FastReturn] 449 [Worker, Inline=FastReturn]
441 bool shouldPauseDedicatedWorkerOnStart(ExecutionContext* context); 450 bool shouldPauseDedicatedWorkerOnStart(ExecutionContext* context);
442 451
443 [Resource, Inline=FastReturn] 452 [Resource, Inline=FastReturn]
444 bool shouldForceCORSPreflight(Document*); 453 bool shouldForceCORSPreflight(Document*);
445 } 454 }
OLDNEW
« no previous file with comments | « core/inspector/DevToolsHost.idl ('k') | core/inspector/InspectorOverlayHost.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698