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

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

Issue 37053003: Roll IDL to multivm@1467 (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 7 years, 1 month 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/page/ConsoleBase.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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 * 54 *
55 * returnValue: C++ return value. Only "void" and "InspectorInstrumentationCook ie" are supported. 55 * returnValue: C++ return value. Only "void" and "InspectorInstrumentationCook ie" are supported.
56 * 56 *
57 * methodName: C++ name for the public instrumentation method and agents method s. 57 * methodName: C++ name for the public instrumentation method and agents method s.
58 * 58 *
59 * paramList: C++ parameter list with optional names. Names will be deduced fro m types if omitted but you have to 59 * paramList: C++ parameter list with optional names. Names will be deduced fro m types if omitted but you have to
60 * specify explicit names for multiple parameters of the same type. 60 * specify explicit names for multiple parameters of the same type.
61 */ 61 */
62 62
63 interface InspectorInstrumentation { 63 interface InspectorInstrumentation {
64
65 #include "core/dom/PseudoElement.h"
66
64 [Page, Inspector, PageDebugger, PageRuntime] 67 [Page, Inspector, PageDebugger, PageRuntime]
65 void didClearWindowObjectInWorld([Keep] Frame*, DOMWrapperWorld*); 68 void didClearWindowObjectInWorld([Keep] Frame*, DOMWrapperWorld*);
66 69
67 [DOMDebugger, Inline=FastReturn] 70 [DOMDebugger, Inline=FastReturn]
68 void willInsertDOMNode(Document*, Node* parent); 71 void willInsertDOMNode(Document*, Node* parent);
69 72
70 [DOM, DOMDebugger, Inline=FastReturn] 73 [DOM, DOMDebugger, Inline=FastReturn]
71 void didInsertDOMNode(Document*, Node*); 74 void didInsertDOMNode(Document*, Node*);
72 75
73 [DOMDebugger, DOM, Inline=FastReturn] 76 [DOMDebugger, DOM, Inline=FastReturn]
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 213
211 [Timeline, Inline=FastReturn] 214 [Timeline, Inline=FastReturn]
212 void didScrollLayer(RenderObject*); 215 void didScrollLayer(RenderObject*);
213 216
214 [Timeline, Inline=FastReturn] 217 [Timeline, Inline=FastReturn]
215 void willPaint([Keep] RenderObject*); 218 void willPaint([Keep] RenderObject*);
216 219
217 [Timeline, Page, Inline=FastReturn] 220 [Timeline, Page, Inline=FastReturn]
218 void didPaint([Keep] RenderObject*, GraphicsContext*, const LayoutRect&); 221 void didPaint([Keep] RenderObject*, GraphicsContext*, const LayoutRect&);
219 222
223 [Timeline, Inline=FastReturn]
224 void willPaintImage([Keep] RenderImage*);
225
226 [Timeline, Inline=FastReturn]
227 void didPaintImage(RenderImage*);
228
220 [Resource, Timeline, Inline=FastReturn] 229 [Resource, Timeline, Inline=FastReturn]
221 InspectorInstrumentationCookie willRecalculateStyle([Keep] Document*); 230 InspectorInstrumentationCookie willRecalculateStyle([Keep] Document*);
222 231
223 [Timeline, Resource, Page, Inline=FastReturn] 232 [Timeline, Resource, Page, Inline=FastReturn]
224 void didRecalculateStyle(const InspectorInstrumentationCookie&); 233 void didRecalculateStyle(const InspectorInstrumentationCookie&);
225 234
226 [Timeline, Inline=FastReturn] 235 [Timeline, Inline=FastReturn]
227 void didRecalculateStyleForElement(Element*); 236 void didRecalculateStyleForElement(Element*);
228 237
229 [Timeline, Resource, Inline=FastReturn] 238 [Timeline, Resource, Inline=FastReturn]
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 278
270 [Inline=Forward] 279 [Inline=Forward]
271 void continueWithPolicyIgnore(Frame* frame, DocumentLoader* loader, unsigned long identifier, const ResourceResponse& r); 280 void continueWithPolicyIgnore(Frame* frame, DocumentLoader* loader, unsigned long identifier, const ResourceResponse& r);
272 281
273 [Resource] 282 [Resource]
274 void didReceiveData(Frame*, unsigned long identifier, const char* data, int dataLength, int encodedDataLength); 283 void didReceiveData(Frame*, unsigned long identifier, const char* data, int dataLength, int encodedDataLength);
275 284
276 [Timeline, Resource] 285 [Timeline, Resource]
277 void didFinishLoading(Frame* frame, unsigned long identifier, DocumentLoader *, double finishTime); 286 void didFinishLoading(Frame* frame, unsigned long identifier, DocumentLoader *, double finishTime);
278 287
288 [Resource]
289 void didReceiveCORSRedirectResponse(Frame*, unsigned long identifier, Docume ntLoader*, const ResourceResponse&, ResourceLoader*);
290
279 [Timeline, Resource, Console] // Console should come AFTER Resource notifica tion, front-end relies on this. 291 [Timeline, Resource, Console] // Console should come AFTER Resource notifica tion, front-end relies on this.
280 void didFailLoading(Frame* frame, unsigned long identifier, DocumentLoader*, const ResourceError&); 292 void didFailLoading(Frame* frame, unsigned long identifier, DocumentLoader*, const ResourceError&);
281 293
282 [Resource] 294 [Resource]
283 void documentThreadableLoaderStartedLoadingForClient(ScriptExecutionContext* , unsigned long identifier, ThreadableLoaderClient* client); 295 void documentThreadableLoaderStartedLoadingForClient(ScriptExecutionContext* , unsigned long identifier, ThreadableLoaderClient* client);
284 296
285 [Resource] 297 [Resource]
286 void willLoadXHR(ScriptExecutionContext*, ThreadableLoaderClient* client, co nst String& method, const KURL& url, bool async, PassRefPtr<FormData>, const HTT PHeaderMap& headers, bool includeCredentials); 298 void willLoadXHR(ScriptExecutionContext*, ThreadableLoaderClient* client, co nst String& method, const KURL& url, bool async, PassRefPtr<FormData>, const HTT PHeaderMap& headers, bool includeCredentials);
287 299
288 [Resource] 300 [Resource]
289 void didFailXHRLoading(ScriptExecutionContext*, ThreadableLoaderClient* clie nt); 301 void didFailXHRLoading(ScriptExecutionContext*, ThreadableLoaderClient* clie nt);
290 302
291 [Console, Resource] 303 [Console, Resource]
292 void didFinishXHRLoading(ScriptExecutionContext*, ThreadableLoaderClient* cl ient, unsigned long identifier, ScriptString sourceString, const String& url, co nst String& sendURL, unsigned sendLineNumber); 304 void didFinishXHRLoading(ScriptExecutionContext*, ThreadableLoaderClient* cl ient, unsigned long identifier, ScriptString sourceString, const String& url, co nst String& sendURL, unsigned sendLineNumber);
293 305
294 [Resource] 306 [Resource]
295 void didReceiveXHRResponse(ScriptExecutionContext*, unsigned long identifier ); 307 void didReceiveXHRResponse(ScriptExecutionContext*, unsigned long identifier );
296 308
297 [Resource] 309 [Resource]
298 void willLoadXHRSynchronously(ScriptExecutionContext*);
299
300 [Resource]
301 void didLoadXHRSynchronously(ScriptExecutionContext*);
302
303 [Resource]
304 void scriptImported(ScriptExecutionContext*, unsigned long identifier, const String& sourceString); 310 void scriptImported(ScriptExecutionContext*, unsigned long identifier, const String& sourceString);
305 311
306 [Debugger] 312 [Debugger]
307 void scriptExecutionBlockedByCSP(ScriptExecutionContext*, const String& dire ctiveText); 313 void scriptExecutionBlockedByCSP(ScriptExecutionContext*, const String& dire ctiveText);
308 314
309 [Resource] 315 [Resource]
310 void didReceiveScriptResponse(ScriptExecutionContext*, unsigned long identif ier); 316 void didReceiveScriptResponse(ScriptExecutionContext*, unsigned long identif ier);
311 317
312 [Timeline, Inspector, DOM, Page] 318 [Timeline, Inspector, DOM, Page]
313 void domContentLoadedEventFired([Keep] Frame*); 319 void domContentLoadedEventFired([Keep] Frame*);
314 320
315 [DOM, Timeline, Page] 321 [DOM, Timeline, Page]
316 void loadEventFired([Keep] Frame*); 322 void loadEventFired([Keep] Frame*);
317 323
324 [Page]
325 void frameAttachedToParent([Keep] Frame*);
326
318 [Canvas, Page, CSS] 327 [Canvas, Page, CSS]
319 void frameDetachedFromParent([Keep] Frame*); 328 void frameDetachedFromParent([Keep] Frame*);
320 329
321 [Page, Inline=FastReturn] 330 [Page, Inline=FastReturn]
322 void childDocumentOpened([Keep] Document*); 331 void childDocumentOpened([Keep] Document*);
323 332
324 [Console, Resource, CSS, Database, DOM, LayerTree, Inspector, Canvas, Page] 333 [Console, Resource, CSS, Database, DOM, Inspector, Canvas, Page, PageDebugge r]
325 void didCommitLoad([Keep] Frame*, DocumentLoader*); 334 void didCommitLoad([Keep] Frame*, DocumentLoader*);
326 335
327 [DOM, Inline=FastReturn] 336 [DOM, Inline=FastReturn]
328 void frameDocumentUpdated([Keep] Frame*); 337 void frameDocumentUpdated([Keep] Frame*);
329 338
330 [Page] 339 [Page]
331 void loaderDetachedFromFrame(Frame*, DocumentLoader*); 340 void loaderDetachedFromFrame(Frame*, DocumentLoader*);
332 341
333 [Page] 342 [Page]
334 void frameStartedLoading([Keep] Frame*); 343 void frameStartedLoading([Keep] Frame*);
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 void didReceiveWebSocketFrameError(Document*, unsigned long identifier, cons t String& errorMessage); 424 void didReceiveWebSocketFrameError(Document*, unsigned long identifier, cons t String& errorMessage);
416 425
417 [ApplicationCache, Inline=FastReturn] 426 [ApplicationCache, Inline=FastReturn]
418 void networkStateChanged(Page*); 427 void networkStateChanged(Page*);
419 428
420 [ApplicationCache, Inline=FastReturn] 429 [ApplicationCache, Inline=FastReturn]
421 void updateApplicationCacheStatus([Keep] Frame*); 430 void updateApplicationCacheStatus([Keep] Frame*);
422 431
423 [LayerTree] 432 [LayerTree]
424 void layerTreeDidChange(Page*); 433 void layerTreeDidChange(Page*);
434
435 [DOM, Inline=FastReturn]
436 void pseudoElementCreated([Keep] PseudoElement*);
437
438 [DOM, Inline=FastReturn]
439 void pseudoElementDestroyed([Keep] PseudoElement*);
425 } 440 }
426 441
427 interface InspectorConsoleInstrumentation { 442 interface InspectorConsoleInstrumentation {
428 443
429 #include "core/inspector/ScriptArguments.h" 444 #include "core/inspector/ScriptArguments.h"
430 #include "core/inspector/ScriptCallStack.h" 445 #include "core/inspector/ScriptCallStack.h"
431 #include "core/inspector/ScriptProfile.h" 446 #include "core/inspector/ScriptProfile.h"
432 447
433 // FIXME: Convert to ScriptArguments to match non-worker context. 448 // FIXME: Convert to ScriptArguments to match non-worker context.
434 // Use the same implementation as above as a similar method dispatched on Pa ge. 449 // Use the same implementation as above as a similar method dispatched on Pa ge.
435 [Console] 450 [Console]
436 void addMessageToConsole(ScriptExecutionContext* context, MessageSource sour ce, MessageType type, MessageLevel level, const String& message, PassRefPtr<Scri ptCallStack> callStack, unsigned long requestIdentifier = 0); 451 void addMessageToConsole(ScriptExecutionContext* context, MessageSource sour ce, MessageType type, MessageLevel level, const String& message, PassRefPtr<Scri ptCallStack> callStack, unsigned long requestIdentifier = 0);
437 452
438 // Use the same implementation as above as a similar method dispatched on Pa ge. 453 // Use the same implementation as above as a similar method dispatched on Pa ge.
439 [Console] 454 [Console]
440 void addMessageToConsole(ScriptExecutionContext* context, MessageSource sour ce, MessageType type, MessageLevel level, const String& message, const String& s criptId, unsigned lineNumber, unsigned columnNumber, ScriptState* state, unsigne d long requestIdentifier = 0); 455 void addMessageToConsole(ScriptExecutionContext* context, MessageSource sour ce, MessageType type, MessageLevel level, const String& message, const String& s criptId, unsigned lineNumber, unsigned columnNumber, ScriptState* state, unsigne d long requestIdentifier = 0);
441 456
442 [Console, Debugger] 457 [Console, Debugger]
443 void addMessageToConsole(ScriptExecutionContext* context, MessageSource sour ce, MessageType type, MessageLevel level, const String& message, ScriptState* st ate, PassRefPtr<ScriptArguments> arguments, unsigned long requestIdentifier = 0) ; 458 void addMessageToConsole(ScriptExecutionContext* context, MessageSource sour ce, MessageType type, MessageLevel level, const String& message, ScriptState* st ate, PassRefPtr<ScriptArguments> arguments, unsigned long requestIdentifier = 0) ;
444 459
445 [Console] 460 [Console]
446 void consoleCount(ScriptExecutionContext* context, ScriptState* state, PassR efPtr<ScriptArguments> arguments); 461 void consoleCount(ScriptExecutionContext* context, ScriptState* state, PassR efPtr<ScriptArguments> arguments);
447 462
448 [Timeline, Console] 463 [Timeline, Console]
449 void startConsoleTiming([Keep] ScriptExecutionContext* context, const String & title); 464 void consoleTime([Keep] ScriptExecutionContext* context, const String& title );
450 465
451 [Console, Timeline] 466 [Console, Timeline]
452 void stopConsoleTiming([Keep] ScriptExecutionContext* context, const String& title, PassRefPtr<ScriptCallStack> stack); 467 void consoleTimeEnd([Keep] ScriptExecutionContext* context, const String& ti tle, ScriptState* state);
453 468
454 [Timeline, Inline=FastReturn] 469 [Timeline, Inline=FastReturn]
455 void consoleTimeStamp([Keep] ScriptExecutionContext* context, PassRefPtr<Scr iptArguments> arguments); 470 void consoleTimeStamp([Keep] ScriptExecutionContext* context, const String& title);
456 471
457 [Profiler] 472 [Console, Inline=FastReturn]
458 void addStartProfilingMessageToConsole(ScriptExecutionContext* context, cons t String& title, unsigned lineNumber, const String& sourceURL); 473 void consoleTimeline([Keep] ScriptExecutionContext* context, const String& t itle, ScriptState* state);
474
475 [Console, Inline=FastReturn]
476 void consoleTimelineEnd([Keep] ScriptExecutionContext* context, const String & title, ScriptState* state);
459 477
460 [Profiler] 478 [Profiler]
461 void addProfile(ScriptExecutionContext* context, PassRefPtr<ScriptProfile> p rofile, PassRefPtr<ScriptCallStack> callStack); 479 void addProfile(ScriptExecutionContext* context, PassRefPtr<ScriptProfile> p rofile, PassRefPtr<ScriptCallStack> callStack);
462 } 480 }
463 481
464 interface InspectorDatabaseInstrumentation { 482 interface InspectorDatabaseInstrumentation {
465 483
466 #include "modules/webdatabase/Database.h" 484 #include "modules/webdatabase/Database.h"
467 485
468 [Database] 486 [Database]
(...skipping 27 matching lines...) Expand all
496 interface InspectorCanvasInstrumentation { 514 interface InspectorCanvasInstrumentation {
497 515
498 #include "bindings/v8/ScriptObject.h" 516 #include "bindings/v8/ScriptObject.h"
499 517
500 [Canvas] 518 [Canvas]
501 ScriptObject wrapCanvas2DRenderingContextForInstrumentation(Document*, const ScriptObject&); 519 ScriptObject wrapCanvas2DRenderingContextForInstrumentation(Document*, const ScriptObject&);
502 520
503 [Canvas] 521 [Canvas]
504 ScriptObject wrapWebGLRenderingContextForInstrumentation(Document*, const Sc riptObject&); 522 ScriptObject wrapWebGLRenderingContextForInstrumentation(Document*, const Sc riptObject&);
505 } 523 }
OLDNEW
« no previous file with comments | « core/inspector/InspectorFrontendHost.idl ('k') | core/page/ConsoleBase.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698