| 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 455 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 466 | 466 |
| 467 [Debugger, Inline=FastReturn] | 467 [Debugger, Inline=FastReturn] |
| 468 InspectorInstrumentationCookie traceAsyncCallbackStarting([Keep] ExecutionCo
ntext*, int operationId); | 468 InspectorInstrumentationCookie traceAsyncCallbackStarting([Keep] ExecutionCo
ntext*, int operationId); |
| 469 | 469 |
| 470 [Debugger, Inline=FastReturn] | 470 [Debugger, Inline=FastReturn] |
| 471 void traceAsyncCallbackCompleted(const InspectorInstrumentationCookie&); | 471 void traceAsyncCallbackCompleted(const InspectorInstrumentationCookie&); |
| 472 } | 472 } |
| 473 | 473 |
| 474 interface InspectorConsoleInstrumentation { | 474 interface InspectorConsoleInstrumentation { |
| 475 | 475 |
| 476 #include "core/inspector/ConsoleMessage.h" |
| 476 #include "core/inspector/ScriptArguments.h" | 477 #include "core/inspector/ScriptArguments.h" |
| 477 #include "core/inspector/ScriptCallStack.h" | 478 #include "core/inspector/ScriptCallStack.h" |
| 478 | 479 |
| 479 // FIXME: Convert to ScriptArguments to match non-worker context. | |
| 480 // Use the same implementation as above as a similar method dispatched on Pa
ge. | 480 // Use the same implementation as above as a similar method dispatched on Pa
ge. |
| 481 [Console] | 481 [Console] |
| 482 void addMessageToConsole(ExecutionContext* context, MessageSource source, Me
ssageType type, MessageLevel level, const String& message, PassRefPtrWillBeRawPt
r<ScriptCallStack> callStack, unsigned long requestIdentifier = 0); | 482 void addMessageToConsole(ExecutionContext* context, PassRefPtr<ConsoleMessag
e> consoleMessage); |
| 483 | |
| 484 // Use the same implementation as above as a similar method dispatched on Pa
ge. | |
| 485 [Console] | |
| 486 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); | |
| 487 | 483 |
| 488 [Console, Debugger] | 484 [Console, Debugger] |
| 489 void addConsoleAPIMessageToConsole(ExecutionContext* context, MessageType ty
pe, MessageLevel level, const String& message, ScriptState* state, PassRefPtrWil
lBeRawPtr<ScriptArguments> arguments, unsigned long requestIdentifier = 0); | 485 void addConsoleAPIMessageToConsole(ExecutionContext* context, MessageType ty
pe, MessageLevel level, const String& message, ScriptState* state, PassRefPtrWil
lBeRawPtr<ScriptArguments> arguments, unsigned long requestIdentifier = 0); |
| 490 | 486 |
| 491 [Console] | 487 [Console] |
| 492 void consoleCount(ExecutionContext* context, ScriptState* state, PassRefPtrW
illBeRawPtr<ScriptArguments> arguments); | 488 void consoleCount(ExecutionContext* context, ScriptState* state, PassRefPtrW
illBeRawPtr<ScriptArguments> arguments); |
| 493 | 489 |
| 494 [Timeline, Console] | 490 [Timeline, Console] |
| 495 void consoleTime([Keep] ExecutionContext* context, const String& title); | 491 void consoleTime([Keep] ExecutionContext* context, const String& title); |
| 496 | 492 |
| (...skipping 28 matching lines...) Expand all Loading... |
| 525 interface InspectorCanvasInstrumentation { | 521 interface InspectorCanvasInstrumentation { |
| 526 | 522 |
| 527 #include "bindings/core/v8/ScriptValue.h" | 523 #include "bindings/core/v8/ScriptValue.h" |
| 528 | 524 |
| 529 [Canvas] | 525 [Canvas] |
| 530 ScriptValue wrapCanvas2DRenderingContextForInstrumentation(Document*, const
ScriptValue&); | 526 ScriptValue wrapCanvas2DRenderingContextForInstrumentation(Document*, const
ScriptValue&); |
| 531 | 527 |
| 532 [Canvas] | 528 [Canvas] |
| 533 ScriptValue wrapWebGLRenderingContextForInstrumentation(Document*, const Scr
iptValue&); | 529 ScriptValue wrapWebGLRenderingContextForInstrumentation(Document*, const Scr
iptValue&); |
| 534 } | 530 } |
| OLD | NEW |