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

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

Issue 581453002: Dartium Roll 38 roll (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Sync'd w/ r 182210 Created 6 years, 3 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 | « core/inspector/InspectorFrontendHost.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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 */ 64 */
65 65
66 interface InspectorInstrumentation { 66 interface InspectorInstrumentation {
67 67
68 #include "core/dom/PseudoElement.h" 68 #include "core/dom/PseudoElement.h"
69 69
70 [Page, Inspector, PageDebugger, PageRuntime] 70 [Page, Inspector, PageDebugger, PageRuntime]
71 void didClearDocumentOfWindowObject([Keep] LocalFrame*); 71 void didClearDocumentOfWindowObject([Keep] LocalFrame*);
72 72
73 [DOMDebugger, Inline=FastReturn] 73 [DOMDebugger, Inline=FastReturn]
74 void willCloseWindow(ExecutionContext*);
75
76 [DOMDebugger, Inline=FastReturn]
74 void willInsertDOMNode([Keep] Node* parent); 77 void willInsertDOMNode([Keep] Node* parent);
75 78
76 [DOM, DOMDebugger, Inline=FastReturn] 79 [DOM, DOMDebugger, Inline=FastReturn]
77 void didInsertDOMNode([Keep] Node*); 80 void didInsertDOMNode([Keep] Node*);
78 81
79 [DOMDebugger, DOM, Inline=FastReturn] 82 [DOMDebugger, DOM, Inline=FastReturn]
80 void willRemoveDOMNode([Keep] Node*); 83 void willRemoveDOMNode([Keep] Node*);
81 84
82 [DOMDebugger, DOM, Inline=FastReturn] 85 [DOMDebugger, DOM, Inline=FastReturn]
83 void willModifyDOMAttr([Keep] Element*, const AtomicString& oldValue, const AtomicString& newValue); 86 void willModifyDOMAttr([Keep] Element*, const AtomicString& oldValue, const AtomicString& newValue);
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 186
184 [Debugger, Inline=FastReturn] 187 [Debugger, Inline=FastReturn]
185 void didClearAllMutationRecords([Keep] ExecutionContext*, MutationObserver*) ; 188 void didClearAllMutationRecords([Keep] ExecutionContext*, MutationObserver*) ;
186 189
187 [Debugger, Inline=FastReturn] 190 [Debugger, Inline=FastReturn]
188 void willDeliverMutationRecords([Keep] ExecutionContext*, MutationObserver*) ; 191 void willDeliverMutationRecords([Keep] ExecutionContext*, MutationObserver*) ;
189 192
190 [Debugger, Inline=FastReturn] 193 [Debugger, Inline=FastReturn]
191 void didDeliverMutationRecords(ExecutionContext*); 194 void didDeliverMutationRecords(ExecutionContext*);
192 195
196 [Debugger, Inline=FastReturn]
197 void didPostExecutionContextTask([Keep] ExecutionContext*, ExecutionContextT ask*);
198
199 [Debugger, Inline=FastReturn]
200 void didKillAllExecutionContextTasks([Keep] ExecutionContext*);
201
202 [Debugger, Inline=FastReturn]
203 void willPerformExecutionContextTask([Keep] ExecutionContext*, ExecutionCont extTask*);
204
205 [Debugger, Inline=FastReturn]
206 void didPerformExecutionContextTask(ExecutionContext*);
207
193 [Timeline, Inline=FastReturn] 208 [Timeline, Inline=FastReturn]
194 InspectorInstrumentationCookie willEvaluateScript([Keep] LocalFrame*, const String& url, int lineNumber); 209 InspectorInstrumentationCookie willEvaluateScript([Keep] LocalFrame*, const String& url, int lineNumber);
195 210
196 [Timeline, Inline=FastReturn] 211 [Timeline, Inline=FastReturn]
197 void didEvaluateScript(const InspectorInstrumentationCookie&); 212 void didEvaluateScript(const InspectorInstrumentationCookie&);
198 213
199 [PageRuntime, Inline=FastReturn] 214 [PageRuntime, Inline=FastReturn]
200 void didCreateIsolatedContext([Keep] LocalFrame*, ScriptState*, SecurityOrig in*); 215 void didCreateIsolatedContext([Keep] LocalFrame*, ScriptState*, SecurityOrig in*);
201 216
202 [DOMDebugger, Debugger, Timeline, Inline=FastReturn] 217 [DOMDebugger, Debugger, Timeline, Inline=FastReturn]
(...skipping 16 matching lines...) Expand all
219 234
220 [Page, Inline=FastReturn] 235 [Page, Inline=FastReturn]
221 void didResizeMainFrame(Page*); 236 void didResizeMainFrame(Page*);
222 237
223 [Timeline, Inline=FastReturn] 238 [Timeline, Inline=FastReturn]
224 InspectorInstrumentationCookie willDispatchXHRLoadEvent([Keep] ExecutionCont ext*, XMLHttpRequest*); 239 InspectorInstrumentationCookie willDispatchXHRLoadEvent([Keep] ExecutionCont ext*, XMLHttpRequest*);
225 240
226 [Timeline, Inline=FastReturn] 241 [Timeline, Inline=FastReturn]
227 void didDispatchXHRLoadEvent(const InspectorInstrumentationCookie&); 242 void didDispatchXHRLoadEvent(const InspectorInstrumentationCookie&);
228 243
244 [Debugger, Inline=FastReturn]
245 void didDispatchXHRLoadendEvent(ExecutionContext*, XMLHttpRequest*);
246
229 [Timeline, Inline=FastReturn] 247 [Timeline, Inline=FastReturn]
230 void willScrollLayer([Keep] RenderObject*); 248 void willScrollLayer([Keep] RenderObject*);
231 249
232 [Timeline, Inline=FastReturn] 250 [Timeline, Inline=FastReturn]
233 void didScrollLayer(RenderObject*); 251 void didScrollLayer(RenderObject*);
234 252
235 [Timeline, Inline=FastReturn] 253 [Timeline, Inline=FastReturn]
236 void willPaint([Keep] RenderObject*, const GraphicsLayer*); 254 void willPaint([Keep] RenderObject*, const GraphicsLayer*);
237 255
238 [Timeline, Page, LayerTree, Inline=FastReturn] 256 [Timeline, Page, LayerTree, Inline=FastReturn]
(...skipping 29 matching lines...) Expand all
268 [Resource] 286 [Resource]
269 void markResourceAsCached(Page*, unsigned long identifier); 287 void markResourceAsCached(Page*, unsigned long identifier);
270 288
271 [Timeline, Resource, Console] // Console should come AFTER Resource notifica tion, front-end relies on this. 289 [Timeline, Resource, Console] // Console should come AFTER Resource notifica tion, front-end relies on this.
272 void didReceiveResourceResponse([Keep] LocalFrame*, unsigned long identifier , DocumentLoader*, const ResourceResponse&, ResourceLoader*); 290 void didReceiveResourceResponse([Keep] LocalFrame*, unsigned long identifier , DocumentLoader*, const ResourceResponse&, ResourceLoader*);
273 291
274 [Inline=Forward] 292 [Inline=Forward]
275 void continueAfterXFrameOptionsDenied(LocalFrame* frame, DocumentLoader* loa der, unsigned long identifier, const ResourceResponse& r); 293 void continueAfterXFrameOptionsDenied(LocalFrame* frame, DocumentLoader* loa der, unsigned long identifier, const ResourceResponse& r);
276 294
277 [Inline=Forward] 295 [Inline=Forward]
278 void continueWithPolicyDownload(LocalFrame* frame, DocumentLoader* loader, u nsigned long identifier, const ResourceResponse& r);
279
280 [Inline=Forward]
281 void continueWithPolicyIgnore(LocalFrame* frame, DocumentLoader* loader, uns igned long identifier, const ResourceResponse& r); 296 void continueWithPolicyIgnore(LocalFrame* frame, DocumentLoader* loader, uns igned long identifier, const ResourceResponse& r);
282 297
283 [Timeline, Resource, Inline=FastReturn] 298 [Timeline, Resource, Inline=FastReturn]
284 void didReceiveData([Keep] LocalFrame*, unsigned long identifier, const char * data, int dataLength, int encodedDataLength); 299 void didReceiveData([Keep] LocalFrame*, unsigned long identifier, const char * data, int dataLength, int encodedDataLength);
285 300
286 [Timeline, Resource] 301 [Timeline, Resource]
287 void didFinishLoading(LocalFrame* frame, unsigned long identifier, DocumentL oader*, double finishTime, int64_t encodedDataLength); 302 void didFinishLoading(LocalFrame* frame, unsigned long identifier, DocumentL oader*, double finishTime, int64_t encodedDataLength);
288 303
289 [Resource] 304 [Resource]
290 void didReceiveCORSRedirectResponse([Keep] LocalFrame*, unsigned long identi fier, DocumentLoader*, const ResourceResponse&, ResourceLoader*); 305 void didReceiveCORSRedirectResponse([Keep] LocalFrame*, unsigned long identi fier, DocumentLoader*, const ResourceResponse&, ResourceLoader*);
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 void didUpdateLayerTree(LocalFrame*); 447 void didUpdateLayerTree(LocalFrame*);
433 448
434 [DOM, Inline=FastReturn] 449 [DOM, Inline=FastReturn]
435 void pseudoElementCreated([Keep] PseudoElement*); 450 void pseudoElementCreated([Keep] PseudoElement*);
436 451
437 [DOM, Inline=FastReturn] 452 [DOM, Inline=FastReturn]
438 void pseudoElementDestroyed([Keep] PseudoElement*); 453 void pseudoElementDestroyed([Keep] PseudoElement*);
439 454
440 [DOMDebugger, Inline=FastReturn] 455 [DOMDebugger, Inline=FastReturn]
441 void willExecuteCustomElementCallback([Keep] Element*); 456 void willExecuteCustomElementCallback([Keep] Element*);
457
458 [Debugger, Inline=FastReturn]
459 int traceAsyncOperationStarting([Keep] ExecutionContext*, const String& oper ationName);
460
461 [Debugger, Inline=FastReturn]
462 int traceAsyncOperationStarting([Keep] ExecutionContext*, const String& oper ationName, int prevOperationId);
463
464 [Debugger, Inline=FastReturn]
465 void traceAsyncOperationCompleted([Keep] ExecutionContext*, int operationId) ;
466
467 [Debugger, Inline=FastReturn]
468 InspectorInstrumentationCookie traceAsyncOperationCompletedCallbackStarting( [Keep] ExecutionContext*, int operationId);
469
470 [Debugger, Inline=FastReturn]
471 InspectorInstrumentationCookie traceAsyncCallbackStarting([Keep] ExecutionCo ntext*, int operationId);
472
473 [Debugger, Inline=FastReturn]
474 void traceAsyncCallbackCompleted(const InspectorInstrumentationCookie&);
442 } 475 }
443 476
444 interface InspectorConsoleInstrumentation { 477 interface InspectorConsoleInstrumentation {
445 478
446 #include "core/inspector/ScriptArguments.h" 479 #include "core/inspector/ScriptArguments.h"
447 #include "core/inspector/ScriptCallStack.h"
448 480
449 // FIXME: Convert to ScriptArguments to match non-worker context. 481 class ConsoleMessage;
450 // Use the same implementation as above as a similar method dispatched on Pa ge.
451 [Console]
452 void addMessageToConsole(ExecutionContext* context, MessageSource source, Me ssageType type, MessageLevel level, const String& message, PassRefPtrWillBeRawPt r<ScriptCallStack> callStack, unsigned long requestIdentifier = 0);
453 482
454 // Use the same implementation as above as a similar method dispatched on Pa ge. 483 // Use the same implementation as above as a similar method dispatched on Pa ge.
455 [Console] 484 [Console]
456 void addMessageToConsole(ExecutionContext* context, MessageSource source, Me ssageType type, MessageLevel level, const String& message, const String& scriptI d, unsigned lineNumber, unsigned columnNumber, ScriptState* state, unsigned long requestIdentifier = 0); 485 void addMessageToConsole(ExecutionContext* context, ConsoleMessage* consoleM essage);
457 486
458 [Console, Debugger] 487 [Console, Debugger]
459 void addMessageToConsole(ExecutionContext* context, MessageSource source, Me ssageType type, MessageLevel level, const String& message, ScriptState* state, P assRefPtrWillBeRawPtr<ScriptArguments> arguments, unsigned long requestIdentifie r = 0); 488 void addConsoleAPIMessageToConsole(ExecutionContext* context, MessageType ty pe, MessageLevel level, const String& message, ScriptState* state, PassRefPtrWil lBeRawPtr<ScriptArguments> arguments, unsigned long requestIdentifier = 0);
460 489
461 [Console] 490 [Console]
462 void consoleCount(ExecutionContext* context, ScriptState* state, PassRefPtrW illBeRawPtr<ScriptArguments> arguments); 491 void consoleCount(ExecutionContext* context, ScriptState* state, PassRefPtrW illBeRawPtr<ScriptArguments> arguments);
463 492
464 [Timeline, Console] 493 [Timeline, Console]
465 void consoleTime([Keep] ExecutionContext* context, const String& title); 494 void consoleTime([Keep] ExecutionContext* context, const String& title);
466 495
467 [Console, Timeline] 496 [Console, Timeline]
468 void consoleTimeEnd([Keep] ExecutionContext* context, const String& title, S criptState* state); 497 void consoleTimeEnd([Keep] ExecutionContext* context, const String& title, S criptState* state);
469 498
470 [Timeline, Inline=FastReturn] 499 [Timeline, Inline=FastReturn]
471 void consoleTimeStamp([Keep] ExecutionContext* context, const String& title) ; 500 void consoleTimeStamp([Keep] ExecutionContext* context, const String& title) ;
472 501
473 [Console, Inline=FastReturn] 502 [Console, Inline=FastReturn]
474 void consoleTimeline([Keep] ExecutionContext* context, const String& title, ScriptState* state); 503 void consoleTimeline([Keep] ExecutionContext* context, const String& title, ScriptState* state);
475 504
476 [Console, Inline=FastReturn] 505 [Console, Inline=FastReturn]
477 void consoleTimelineEnd([Keep] ExecutionContext* context, const String& titl e, ScriptState* state); 506 void consoleTimelineEnd([Keep] ExecutionContext* context, const String& titl e, ScriptState* state);
478 507
479 [Profiler, Inline=FastReturn] 508 [Profiler, Inline=FastReturn]
480 void consoleProfile(ExecutionContext* context, const String& title, ScriptSt ate* state); 509 void consoleProfile([Keep] ExecutionContext* context, const String& title);
481 510
482 [Profiler, Inline=FastReturn] 511 [Profiler, Inline=FastReturn]
483 void consoleProfileEnd(ExecutionContext* context, const String& title, Scrip tState* state); 512 void consoleProfileEnd(ExecutionContext* context, const String& title);
513
514 //FIXME: remove when we move console message storage from InspectorConsoleAg ent to FrameConsole
515 [Console]
516 void adoptWorkerConsoleMessages(ExecutionContext* context, WorkerGlobalScope Proxy* proxy);
484 } 517 }
485 518
486 interface InspectorOverrides { 519 interface InspectorOverrides {
487 [CSS, Inline=FastReturn] 520 [CSS, Inline=FastReturn]
488 bool forcePseudoState([Keep] Element* element, CSSSelector::PseudoType pseud oState); 521 bool forcePseudoState([Keep] Element* element, CSSSelector::PseudoType pseud oState);
489 522
490 [Worker, Inline=FastReturn] 523 [Worker, Inline=FastReturn]
491 bool shouldPauseDedicatedWorkerOnStart(ExecutionContext* context); 524 bool shouldPauseDedicatedWorkerOnStart(ExecutionContext* context);
492 } 525 }
493 526
494 527
495 interface InspectorCanvasInstrumentation { 528 interface InspectorCanvasInstrumentation {
496 529
497 #include "bindings/common/ScriptValue.h" 530 #include "bindings/common/ScriptValue.h"
498 531
499 [Canvas] 532 [Canvas]
500 ScriptValue wrapCanvas2DRenderingContextForInstrumentation(Document*, const ScriptValue&); 533 ScriptValue wrapCanvas2DRenderingContextForInstrumentation(Document*, const ScriptValue&);
501 534
502 [Canvas] 535 [Canvas]
503 ScriptValue wrapWebGLRenderingContextForInstrumentation(Document*, const Scr iptValue&); 536 ScriptValue wrapWebGLRenderingContextForInstrumentation(Document*, const Scr iptValue&);
504 } 537 }
OLDNEW
« no previous file with comments | « core/inspector/InspectorFrontendHost.idl ('k') | core/inspector/InspectorOverlayHost.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698