OLD | NEW |
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 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
329 | 329 |
330 [Page] | 330 [Page] |
331 void loaderDetachedFromFrame(Frame*, DocumentLoader*); | 331 void loaderDetachedFromFrame(Frame*, DocumentLoader*); |
332 | 332 |
333 [Page] | 333 [Page] |
334 void frameStartedLoading([Keep] Frame*); | 334 void frameStartedLoading([Keep] Frame*); |
335 | 335 |
336 [Page] | 336 [Page] |
337 void frameStoppedLoading([Keep] Frame*); | 337 void frameStoppedLoading([Keep] Frame*); |
338 | 338 |
339 [Page] | 339 [Page, Resource] |
340 void frameScheduledNavigation([Keep] Frame*, double delay); | 340 void frameScheduledNavigation([Keep] Frame*, double delay); |
341 | 341 |
342 [Page] | 342 [Page, Resource] |
343 void frameClearedScheduledNavigation([Keep] Frame*); | 343 void frameClearedScheduledNavigation([Keep] Frame*); |
344 | 344 |
345 [Page, Inline=FastReturn] | 345 [Page, Inline=FastReturn] |
346 InspectorInstrumentationCookie willRunJavaScriptDialog(Page*, const String&
message); | 346 InspectorInstrumentationCookie willRunJavaScriptDialog(Page*, const String&
message); |
347 | 347 |
348 [Page, Inline=FastReturn] | 348 [Page, Inline=FastReturn] |
349 void didRunJavaScriptDialog(const InspectorInstrumentationCookie&); | 349 void didRunJavaScriptDialog(const InspectorInstrumentationCookie&); |
350 | 350 |
351 [Inline=Forward] | 351 [Inline=Forward] |
352 void willDestroyResource(Resource* cachedResource); | 352 void willDestroyResource(Resource* cachedResource); |
(...skipping 21 matching lines...) Expand all Loading... |
374 | 374 |
375 [Worker] | 375 [Worker] |
376 void didStartWorkerGlobalScope(ScriptExecutionContext*, WorkerGlobalScopePro
xy* proxy, const KURL& url); | 376 void didStartWorkerGlobalScope(ScriptExecutionContext*, WorkerGlobalScopePro
xy* proxy, const KURL& url); |
377 | 377 |
378 [WorkerRuntime] | 378 [WorkerRuntime] |
379 void willEvaluateWorkerScript([Keep] WorkerGlobalScope* context, int workerT
hreadStartMode); | 379 void willEvaluateWorkerScript([Keep] WorkerGlobalScope* context, int workerT
hreadStartMode); |
380 | 380 |
381 [Worker] | 381 [Worker] |
382 void workerGlobalScopeTerminated(ScriptExecutionContext*, WorkerGlobalScopeP
roxy* proxy); | 382 void workerGlobalScopeTerminated(ScriptExecutionContext*, WorkerGlobalScopeP
roxy* proxy); |
383 | 383 |
| 384 [Profiler, Timeline] |
| 385 void willProcessTask(WorkerGlobalScope* context); |
| 386 |
| 387 [Profiler, Timeline] |
| 388 void didProcessTask(WorkerGlobalScope* context); |
| 389 |
| 390 [Profiler] |
| 391 void willEnterNestedRunLoop(WorkerGlobalScope* context); |
| 392 |
| 393 [Profiler] |
| 394 void didLeaveNestedRunLoop(WorkerGlobalScope* context); |
| 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 |
393 [Resource, Timeline] | 405 [Resource, Timeline] |
(...skipping 17 matching lines...) Expand all Loading... |
411 [LayerTree] | 423 [LayerTree] |
412 void layerTreeDidChange(Page*); | 424 void layerTreeDidChange(Page*); |
413 } | 425 } |
414 | 426 |
415 interface InspectorConsoleInstrumentation { | 427 interface InspectorConsoleInstrumentation { |
416 | 428 |
417 #include "core/inspector/ScriptArguments.h" | 429 #include "core/inspector/ScriptArguments.h" |
418 #include "core/inspector/ScriptCallStack.h" | 430 #include "core/inspector/ScriptCallStack.h" |
419 #include "core/inspector/ScriptProfile.h" | 431 #include "core/inspector/ScriptProfile.h" |
420 | 432 |
421 [Console, Debugger] // FIXME: Drop this once we no longer generate stacks o
utside of Inspector. | 433 // FIXME: Convert to ScriptArguments to match non-worker context. |
422 void addMessageToConsole(Page* page, MessageSource source, MessageType type,
MessageLevel level, const String& message, PassRefPtr<ScriptCallStack> callStac
k, unsigned long requestIdentifier = 0); | 434 // Use the same implementation as above as a similar method dispatched on Pa
ge. |
| 435 [Console] |
| 436 void addMessageToConsole(ScriptExecutionContext* context, MessageSource sour
ce, MessageType type, MessageLevel level, const String& message, PassRefPtr<Scri
ptCallStack> callStack, unsigned long requestIdentifier = 0); |
| 437 |
| 438 // Use the same implementation as above as a similar method dispatched on Pa
ge. |
| 439 [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); |
423 | 441 |
424 [Console, Debugger] | 442 [Console, Debugger] |
425 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(ScriptExecutionContext* context, MessageSource sour
ce, MessageType type, MessageLevel level, const String& message, ScriptState* st
ate, PassRefPtr<ScriptArguments> arguments, unsigned long requestIdentifier = 0)
; |
426 | 444 |
427 [Console] | 445 [Console] |
428 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); | 446 void consoleCount(ScriptExecutionContext* context, ScriptState* state, PassR
efPtr<ScriptArguments> arguments); |
429 | |
430 // FIXME: Convert to ScriptArguments to match non-worker context. | |
431 // Use the same implementation as above as a similar method dispatched on Pa
ge. | |
432 void addMessageToConsole(WorkerGlobalScope* workerGlobalScope, MessageSource
source, MessageType type, MessageLevel level, const String& message, PassRefPtr
<ScriptCallStack> callStack, unsigned long requestIdentifier = 0); | |
433 | |
434 // Use the same implementation as above as a similar method dispatched on Pa
ge. | |
435 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); | |
436 | |
437 [Console] | |
438 void consoleCount(Page* page, ScriptState* state, PassRefPtr<ScriptArguments
> arguments); | |
439 | 447 |
440 [Timeline, Console] | 448 [Timeline, Console] |
441 void startConsoleTiming([Keep] Frame* frame, const String& title); | 449 void startConsoleTiming([Keep] ScriptExecutionContext* context, const String
& title); |
442 | 450 |
443 [Console, Timeline] | 451 [Console, Timeline] |
444 void stopConsoleTiming([Keep] Frame* frame, const String& title, PassRefPtr<
ScriptCallStack> stack); | 452 void stopConsoleTiming([Keep] ScriptExecutionContext* context, const String&
title, PassRefPtr<ScriptCallStack> stack); |
445 | 453 |
446 [Timeline, Inline=FastReturn] | 454 [Timeline, Inline=FastReturn] |
447 void consoleTimeStamp([Keep] Frame* frame, PassRefPtr<ScriptArguments> argum
ents); | 455 void consoleTimeStamp([Keep] ScriptExecutionContext* context, PassRefPtr<Scr
iptArguments> arguments); |
448 | 456 |
449 [Profiler] | 457 [Profiler] |
450 void addStartProfilingMessageToConsole(Page* page, const String& title, unsi
gned lineNumber, const String& sourceURL); | 458 void addStartProfilingMessageToConsole(ScriptExecutionContext* context, cons
t String& title, unsigned lineNumber, const String& sourceURL); |
451 | 459 |
452 [Profiler] | 460 [Profiler] |
453 void addProfile(Page* page, PassRefPtr<ScriptProfile> profile, PassRefPtr<Sc
riptCallStack> callStack); | 461 void addProfile(ScriptExecutionContext* context, PassRefPtr<ScriptProfile> p
rofile, PassRefPtr<ScriptCallStack> callStack); |
454 } | 462 } |
455 | 463 |
456 interface InspectorDatabaseInstrumentation { | 464 interface InspectorDatabaseInstrumentation { |
457 | 465 |
458 #include "modules/webdatabase/Database.h" | 466 #include "modules/webdatabase/Database.h" |
459 | 467 |
460 [Database] | 468 [Database] |
461 void didOpenDatabase(ScriptExecutionContext* context, PassRefPtr<Database> d
atabase, const String& domain, const String& name, const String& version); | 469 void didOpenDatabase(ScriptExecutionContext* context, PassRefPtr<Database> d
atabase, const String& domain, const String& name, const String& version); |
462 } | 470 } |
463 | 471 |
(...skipping 10 matching lines...) Expand all Loading... |
474 [Worker, Inline=FastReturn] | 482 [Worker, Inline=FastReturn] |
475 bool shouldPauseDedicatedWorkerOnStart(ScriptExecutionContext* context); | 483 bool shouldPauseDedicatedWorkerOnStart(ScriptExecutionContext* context); |
476 | 484 |
477 [Page, Inline=FastReturn] | 485 [Page, Inline=FastReturn] |
478 GeolocationPosition* overrideGeolocationPosition(Page* page, [DefaultReturn]
GeolocationPosition* position); | 486 GeolocationPosition* overrideGeolocationPosition(Page* page, [DefaultReturn]
GeolocationPosition* position); |
479 | 487 |
480 [Page, Inline=FastReturn] | 488 [Page, Inline=FastReturn] |
481 DeviceOrientationData* overrideDeviceOrientation(Page* page, [DefaultReturn]
DeviceOrientationData* deviceOrientation); | 489 DeviceOrientationData* overrideDeviceOrientation(Page* page, [DefaultReturn]
DeviceOrientationData* deviceOrientation); |
482 | 490 |
483 [Profiler] | 491 [Profiler] |
484 String getCurrentUserInitiatedProfileName(Page* page, bool incrementProfileN
umber); | 492 String getCurrentUserInitiatedProfileName(ScriptExecutionContext* context, b
ool incrementProfileNumber); |
485 } | 493 } |
486 | 494 |
487 | 495 |
488 interface InspectorCanvasInstrumentation { | 496 interface InspectorCanvasInstrumentation { |
489 | 497 |
490 #include "bindings/v8/ScriptObject.h" | 498 #include "bindings/v8/ScriptObject.h" |
491 | 499 |
492 [Canvas] | 500 [Canvas] |
493 ScriptObject wrapCanvas2DRenderingContextForInstrumentation(Document*, const
ScriptObject&); | 501 ScriptObject wrapCanvas2DRenderingContextForInstrumentation(Document*, const
ScriptObject&); |
494 | 502 |
495 [Canvas] | 503 [Canvas] |
496 ScriptObject wrapWebGLRenderingContextForInstrumentation(Document*, const Sc
riptObject&); | 504 ScriptObject wrapWebGLRenderingContextForInstrumentation(Document*, const Sc
riptObject&); |
497 } | 505 } |
OLD | NEW |