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

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

Issue 22498002: Roll IDL to multivm@1329 (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 7 years, 4 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/InjectedScriptHost.idl ('k') | core/inspector/JavaScriptCallFrame.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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 105
106 [CSS, Inline=FastReturn] 106 [CSS, Inline=FastReturn]
107 void didCreateNamedFlow([Keep] Document*, NamedFlow*); 107 void didCreateNamedFlow([Keep] Document*, NamedFlow*);
108 108
109 [CSS, Inline=FastReturn] 109 [CSS, Inline=FastReturn]
110 void willRemoveNamedFlow([Keep] Document*, NamedFlow*); 110 void willRemoveNamedFlow([Keep] Document*, NamedFlow*);
111 111
112 [CSS, Inline=FastReturn] 112 [CSS, Inline=FastReturn]
113 void didUpdateRegionLayout([Keep] Document*, NamedFlow*); 113 void didUpdateRegionLayout([Keep] Document*, NamedFlow*);
114 114
115 [CSS, Inline=FastReturn]
116 void didChangeRegionOverset([Keep] Document*, NamedFlow*);
117
115 [DOMDebugger, Inline=FastReturn] 118 [DOMDebugger, Inline=FastReturn]
116 void willSendXMLHttpRequest(ScriptExecutionContext*, const String& url); 119 void willSendXMLHttpRequest(ScriptExecutionContext*, const String& url);
117 120
118 [DOMDebugger, Inline=FastReturn] 121 [DOMDebugger, Inline=FastReturn]
119 void didFireWebGLError(Document*, const String& errorName); 122 void didFireWebGLError(Element*, const String& errorName);
123
124 [DOMDebugger, Inline=FastReturn]
125 void didFireWebGLWarning(Element*);
126
127 [DOMDebugger, Inline=FastReturn]
128 void didFireWebGLErrorOrWarning(Element*, const String& message);
120 129
121 [Timeline, Inline=FastReturn] 130 [Timeline, Inline=FastReturn]
122 void didScheduleResourceRequest([Keep] Document*, const String& url); 131 void didScheduleResourceRequest([Keep] Document*, const String& url);
123 132
124 [DOMDebugger, Timeline, Inline=FastReturn] 133 [DOMDebugger, Timeline, Inline=FastReturn]
125 void didInstallTimer([Keep] ScriptExecutionContext*, int timerId, int timeou t, bool singleShot); 134 void didInstallTimer([Keep] ScriptExecutionContext*, int timerId, int timeou t, bool singleShot);
126 135
127 [DOMDebugger, Timeline, Inline=FastReturn] 136 [DOMDebugger, Timeline, Inline=FastReturn]
128 void didRemoveTimer([Keep] ScriptExecutionContext*, int timerId); 137 void didRemoveTimer([Keep] ScriptExecutionContext*, int timerId);
129 138
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 [Page, Inline=FastReturn] 199 [Page, Inline=FastReturn]
191 void didResizeMainFrame(Page*); 200 void didResizeMainFrame(Page*);
192 201
193 [Timeline, Inline=FastReturn] 202 [Timeline, Inline=FastReturn]
194 InspectorInstrumentationCookie willDispatchXHRLoadEvent([Keep] ScriptExecuti onContext*, XMLHttpRequest*); 203 InspectorInstrumentationCookie willDispatchXHRLoadEvent([Keep] ScriptExecuti onContext*, XMLHttpRequest*);
195 204
196 [Timeline, Inline=FastReturn] 205 [Timeline, Inline=FastReturn]
197 void didDispatchXHRLoadEvent(const InspectorInstrumentationCookie&); 206 void didDispatchXHRLoadEvent(const InspectorInstrumentationCookie&);
198 207
199 [Timeline, Inline=FastReturn] 208 [Timeline, Inline=FastReturn]
200 void willScrollLayer([Keep] Frame*); 209 void willScrollLayer([Keep] RenderObject*);
201 210
202 [Timeline, Inline=FastReturn] 211 [Timeline, Inline=FastReturn]
203 void didScrollLayer(Frame*); 212 void didScrollLayer(RenderObject*);
204 213
205 [Timeline, Inline=FastReturn] 214 [Timeline, Inline=FastReturn]
206 void willPaint([Keep] RenderObject*); 215 void willPaint([Keep] RenderObject*);
207 216
208 [Timeline, Page, Inline=FastReturn] 217 [Timeline, Page, Inline=FastReturn]
209 void didPaint([Keep] RenderObject*, GraphicsContext*, const LayoutRect&); 218 void didPaint([Keep] RenderObject*, GraphicsContext*, const LayoutRect&);
210 219
211 [Resource, Timeline, Inline=FastReturn] 220 [Resource, Timeline, Inline=FastReturn]
212 InspectorInstrumentationCookie willRecalculateStyle([Keep] Document*); 221 InspectorInstrumentationCookie willRecalculateStyle([Keep] Document*);
213 222
(...skipping 24 matching lines...) Expand all
238 [Page, Inline=FastReturn] 247 [Page, Inline=FastReturn]
239 void applyScreenWidthOverride(Frame*, long* width); 248 void applyScreenWidthOverride(Frame*, long* width);
240 249
241 [Page, Inline=FastReturn] 250 [Page, Inline=FastReturn]
242 void applyScreenHeightOverride(Frame*, long* height); 251 void applyScreenHeightOverride(Frame*, long* height);
243 252
244 [Page, Inline=FastReturn] 253 [Page, Inline=FastReturn]
245 void applyEmulatedMedia(Frame*, String* media); 254 void applyEmulatedMedia(Frame*, String* media);
246 255
247 [Timeline, Resource] 256 [Timeline, Resource]
248 void willSendRequest(Frame*, unsigned long identifier, DocumentLoader*, Reso urceRequest&, const ResourceResponse& redirectResponse, const CachedResourceInit iatorInfo&); 257 void willSendRequest(Frame*, unsigned long identifier, DocumentLoader*, Reso urceRequest&, const ResourceResponse& redirectResponse, const FetchInitiatorInfo &);
249 258
250 void continueAfterPingLoader(Frame*, unsigned long identifier, DocumentLoade r*, ResourceRequest&, const ResourceResponse&); 259 void continueAfterPingLoader(Frame*, unsigned long identifier, DocumentLoade r*, ResourceRequest&, const ResourceResponse&);
251 260
252 [Resource] 261 [Resource]
253 void markResourceAsCached(Page*, unsigned long identifier); 262 void markResourceAsCached(Page*, unsigned long identifier);
254 263
255 [Timeline, Inline=FastReturn] 264 [Timeline, Inline=FastReturn]
256 InspectorInstrumentationCookie willReceiveResourceData([Keep] Frame*, unsign ed long identifier, int length); 265 InspectorInstrumentationCookie willReceiveResourceData([Keep] Frame*, unsign ed long identifier, int length);
257 266
258 [Timeline, Inline=FastReturn] 267 [Timeline, Inline=FastReturn]
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 323
315 [Timeline, Inspector, DOM, Page] 324 [Timeline, Inspector, DOM, Page]
316 void domContentLoadedEventFired([Keep] Frame*); 325 void domContentLoadedEventFired([Keep] Frame*);
317 326
318 [DOM, Timeline, Page] 327 [DOM, Timeline, Page]
319 void loadEventFired([Keep] Frame*); 328 void loadEventFired([Keep] Frame*);
320 329
321 [Canvas, Page, CSS] 330 [Canvas, Page, CSS]
322 void frameDetachedFromParent([Keep] Frame*); 331 void frameDetachedFromParent([Keep] Frame*);
323 332
333 [Page]
334 void childDocumentOpened([Keep] Document*);
335
324 [Console, Resource, CSS, Database, DOM, LayerTree, Inspector, Canvas, Page] 336 [Console, Resource, CSS, Database, DOM, LayerTree, Inspector, Canvas, Page]
325 void didCommitLoad([Keep] Frame*, DocumentLoader*); 337 void didCommitLoad([Keep] Frame*, DocumentLoader*);
326 338
327 [DOM, Inline=FastReturn] 339 [DOM, Inline=FastReturn]
328 void frameDocumentUpdated([Keep] Frame*); 340 void frameDocumentUpdated([Keep] Frame*);
329 341
330 [Page] 342 [Page]
331 void loaderDetachedFromFrame(Frame*, DocumentLoader*); 343 void loaderDetachedFromFrame(Frame*, DocumentLoader*);
332 344
333 [Page] 345 [Page]
334 void frameStartedLoading([Keep] Frame*); 346 void frameStartedLoading([Keep] Frame*);
335 347
336 [Page] 348 [Page]
337 void frameStoppedLoading([Keep] Frame*); 349 void frameStoppedLoading([Keep] Frame*);
338 350
339 [Page] 351 [Page]
340 void frameScheduledNavigation([Keep] Frame*, double delay); 352 void frameScheduledNavigation([Keep] Frame*, double delay);
341 353
342 [Page] 354 [Page]
343 void frameClearedScheduledNavigation([Keep] Frame*); 355 void frameClearedScheduledNavigation([Keep] Frame*);
344 356
345 [Page, Inline=FastReturn] 357 [Page, Inline=FastReturn]
346 InspectorInstrumentationCookie willRunJavaScriptDialog(Page*, const String& message); 358 InspectorInstrumentationCookie willRunJavaScriptDialog(Page*, const String& message);
347 359
348 [Page, Inline=FastReturn] 360 [Page, Inline=FastReturn]
349 void didRunJavaScriptDialog(const InspectorInstrumentationCookie&); 361 void didRunJavaScriptDialog(const InspectorInstrumentationCookie&);
350 362
351 [Inline=Forward] 363 [Inline=Forward]
352 void willDestroyCachedResource(CachedResource* cachedResource); 364 void willDestroyResource(Resource* cachedResource);
353 365
354 [Timeline, Inline=FastReturn] 366 [Timeline, Inline=FastReturn]
355 InspectorInstrumentationCookie willWriteHTML([Keep] Document*, unsigned star tLine); 367 InspectorInstrumentationCookie willWriteHTML([Keep] Document*, unsigned star tLine);
356 368
357 [Timeline, Inline=FastReturn] 369 [Timeline, Inline=FastReturn]
358 void didWriteHTML(const InspectorInstrumentationCookie&, unsigned endLine); 370 void didWriteHTML(const InspectorInstrumentationCookie&, unsigned endLine);
359 371
360 [DOMDebugger, Timeline] 372 [DOMDebugger, Timeline]
361 void didRequestAnimationFrame([Keep] Document*, int callbackId); 373 void didRequestAnimationFrame([Keep] Document*, int callbackId);
362 374
363 [DOMDebugger, Timeline] 375 [DOMDebugger, Timeline]
364 void didCancelAnimationFrame([Keep] Document*, int callbackId); 376 void didCancelAnimationFrame([Keep] Document*, int callbackId);
365 377
366 [DOMDebugger, Timeline] 378 [DOMDebugger, Timeline]
367 InspectorInstrumentationCookie willFireAnimationFrame([Keep] Document*, int callbackId); 379 InspectorInstrumentationCookie willFireAnimationFrame([Keep] Document*, int callbackId);
368 380
369 [Timeline, Inline=FastReturn] 381 [Timeline, Inline=FastReturn]
370 void didFireAnimationFrame(const InspectorInstrumentationCookie&); 382 void didFireAnimationFrame(const InspectorInstrumentationCookie&);
371 383
372 [DOMStorage, Inline=FastReturn] 384 [DOMStorage, Inline=FastReturn]
373 void didDispatchDOMStorageEvent(Page* page, const String& key, const String& oldValue, const String& newValue, StorageType storageType, SecurityOrigin* secu rityOrigin); 385 void didDispatchDOMStorageEvent(Page* page, const String& key, const String& oldValue, const String& newValue, StorageType storageType, SecurityOrigin* secu rityOrigin);
374 386
375 [Worker] 387 [Worker]
376 void didStartWorkerContext(ScriptExecutionContext*, WorkerContextProxy* prox y, const KURL& url); 388 void didStartWorkerGlobalScope(ScriptExecutionContext*, WorkerGlobalScopePro xy* proxy, const KURL& url);
377 389
378 [WorkerRuntime] 390 [WorkerRuntime]
379 void willEvaluateWorkerScript([Keep] WorkerContext* context, int workerThrea dStartMode); 391 void willEvaluateWorkerScript([Keep] WorkerGlobalScope* context, int workerT hreadStartMode);
380 392
381 [Worker] 393 [Worker]
382 void workerContextTerminated(ScriptExecutionContext*, WorkerContextProxy* pr oxy); 394 void workerGlobalScopeTerminated(ScriptExecutionContext*, WorkerGlobalScopeP roxy* proxy);
383 395
384 [Resource, Timeline] 396 [Resource, Timeline]
385 void didCreateWebSocket([Keep] Document*, unsigned long identifier, const KU RL& requestURL, const String& protocol); 397 void didCreateWebSocket([Keep] Document*, unsigned long identifier, const KU RL& requestURL, const String& protocol);
386 398
387 [Resource, Timeline] 399 [Resource, Timeline]
388 void willSendWebSocketHandshakeRequest([Keep] Document*, unsigned long ident ifier, const WebSocketHandshakeRequest& request); 400 void willSendWebSocketHandshakeRequest([Keep] Document*, unsigned long ident ifier, const WebSocketHandshakeRequest& request);
389 401
390 [Resource, Timeline] 402 [Resource, Timeline]
391 void didReceiveWebSocketHandshakeResponse([Keep] Document*, unsigned long id entifier, const WebSocketHandshakeResponse& response); 403 void didReceiveWebSocketHandshakeResponse([Keep] Document*, unsigned long id entifier, const WebSocketHandshakeResponse& response);
392 404
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 #include "core/inspector/ScriptCallStack.h" 436 #include "core/inspector/ScriptCallStack.h"
425 #include "core/inspector/ScriptProfile.h" 437 #include "core/inspector/ScriptProfile.h"
426 438
427 [Console, Debugger] // FIXME: Drop this once we no longer generate stacks o utside of Inspector. 439 [Console, Debugger] // FIXME: Drop this once we no longer generate stacks o utside of Inspector.
428 void addMessageToConsole(Page* page, MessageSource source, MessageType type, MessageLevel level, const String& message, PassRefPtr<ScriptCallStack> callStac k, unsigned long requestIdentifier = 0); 440 void addMessageToConsole(Page* page, MessageSource source, MessageType type, MessageLevel level, const String& message, PassRefPtr<ScriptCallStack> callStac k, unsigned long requestIdentifier = 0);
429 441
430 [Console, Debugger] 442 [Console, Debugger]
431 void addMessageToConsole(Page* page, MessageSource source, MessageType type, MessageLevel level, const String& message, ScriptState* state, PassRefPtr<Scrip tArguments> arguments, unsigned long requestIdentifier = 0); 443 void addMessageToConsole(Page* page, MessageSource source, MessageType type, MessageLevel level, const String& message, ScriptState* state, PassRefPtr<Scrip tArguments> arguments, unsigned long requestIdentifier = 0);
432 444
433 [Console] 445 [Console]
434 void addMessageToConsole(Page* page, MessageSource source, MessageType type, MessageLevel level, const String& message, const String& scriptId, unsigned lin eNumber, ScriptState* state = 0, unsigned long requestIdentifier = 0); 446 void addMessageToConsole(Page* page, MessageSource source, MessageType type, MessageLevel level, const String& message, const String& scriptId, unsigned lin eNumber, unsigned columnNumber = 0, ScriptState* state = 0, unsigned long reques tIdentifier = 0);
435 447
436 // FIXME: Convert to ScriptArguments to match non-worker context. 448 // FIXME: Convert to ScriptArguments to match non-worker context.
437 // 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.
438 void addMessageToConsole(WorkerContext* workerContext, MessageSource source, MessageType type, MessageLevel level, const String& message, PassRefPtr<ScriptC allStack> callStack, unsigned long requestIdentifier = 0); 450 void addMessageToConsole(WorkerGlobalScope* workerGlobalScope, MessageSource source, MessageType type, MessageLevel level, const String& message, PassRefPtr <ScriptCallStack> callStack, unsigned long requestIdentifier = 0);
439 451
440 // Use the same implementation as above as a similar method dispatched on Pa ge. 452 // Use the same implementation as above as a similar method dispatched on Pa ge.
441 void addMessageToConsole(WorkerContext* workerContext, MessageSource source, MessageType type, MessageLevel level, const String& message, const String& scri ptId, unsigned lineNumber, ScriptState* state, unsigned long requestIdentifier = 0); 453 void addMessageToConsole(WorkerGlobalScope* workerGlobalScope, MessageSource source, MessageType type, MessageLevel level, const String& message, const Stri ng& scriptId, unsigned lineNumber, unsigned columnNumber, ScriptState* state, un signed long requestIdentifier = 0);
442 454
443 [Console] 455 [Console]
444 void consoleCount(Page* page, ScriptState* state, PassRefPtr<ScriptArguments > arguments); 456 void consoleCount(Page* page, ScriptState* state, PassRefPtr<ScriptArguments > arguments);
445 457
446 [Timeline, Console] 458 [Timeline, Console]
447 void startConsoleTiming([Keep] Frame* frame, const String& title); 459 void startConsoleTiming([Keep] Frame* frame, const String& title);
448 460
449 [Console, Timeline] 461 [Console, Timeline]
450 void stopConsoleTiming([Keep] Frame* frame, const String& title, PassRefPtr< ScriptCallStack> stack); 462 void stopConsoleTiming([Keep] Frame* frame, const String& title, PassRefPtr< ScriptCallStack> stack);
451 463
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
494 interface InspectorCanvasInstrumentation { 506 interface InspectorCanvasInstrumentation {
495 507
496 #include "bindings/v8/ScriptObject.h" 508 #include "bindings/v8/ScriptObject.h"
497 509
498 [Canvas] 510 [Canvas]
499 ScriptObject wrapCanvas2DRenderingContextForInstrumentation(Document*, const ScriptObject&); 511 ScriptObject wrapCanvas2DRenderingContextForInstrumentation(Document*, const ScriptObject&);
500 512
501 [Canvas] 513 [Canvas]
502 ScriptObject wrapWebGLRenderingContextForInstrumentation(Document*, const Sc riptObject&); 514 ScriptObject wrapWebGLRenderingContextForInstrumentation(Document*, const Sc riptObject&);
503 } 515 }
OLDNEW
« no previous file with comments | « core/inspector/InjectedScriptHost.idl ('k') | core/inspector/JavaScriptCallFrame.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698