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 425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
436 } | 436 } |
437 | 437 |
438 interface InspectorConsoleInstrumentation { | 438 interface InspectorConsoleInstrumentation { |
439 | 439 |
440 #include "core/inspector/ScriptArguments.h" | 440 #include "core/inspector/ScriptArguments.h" |
441 #include "core/inspector/ScriptCallStack.h" | 441 #include "core/inspector/ScriptCallStack.h" |
442 | 442 |
443 // FIXME: Convert to ScriptArguments to match non-worker context. | 443 // FIXME: Convert to ScriptArguments to match non-worker context. |
444 // Use the same implementation as above as a similar method dispatched on Pa
ge. | 444 // Use the same implementation as above as a similar method dispatched on Pa
ge. |
445 [Console] | 445 [Console] |
446 void addMessageToConsole(ExecutionContext* context, MessageSource source, Me
ssageType type, MessageLevel level, const String& message, PassRefPtr<ScriptCall
Stack> callStack, unsigned long requestIdentifier = 0); | 446 void addMessageToConsole(ExecutionContext* context, MessageSource source, Me
ssageType type, MessageLevel level, const String& message, PassRefPtrWillBeRawPt
r<ScriptCallStack> callStack, unsigned long requestIdentifier = 0); |
447 | 447 |
448 // Use the same implementation as above as a similar method dispatched on Pa
ge. | 448 // Use the same implementation as above as a similar method dispatched on Pa
ge. |
449 [Console] | 449 [Console] |
450 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); | 450 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); |
451 | 451 |
452 [Console, Debugger] | 452 [Console, Debugger] |
453 void addMessageToConsole(ExecutionContext* context, MessageSource source, Me
ssageType type, MessageLevel level, const String& message, ScriptState* state, P
assRefPtr<ScriptArguments> arguments, unsigned long requestIdentifier = 0); | 453 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); |
454 | 454 |
455 [Console] | 455 [Console] |
456 void consoleCount(ExecutionContext* context, ScriptState* state, PassRefPtr<
ScriptArguments> arguments); | 456 void consoleCount(ExecutionContext* context, ScriptState* state, PassRefPtrW
illBeRawPtr<ScriptArguments> arguments); |
457 | 457 |
458 [Timeline, Console] | 458 [Timeline, Console] |
459 void consoleTime([Keep] ExecutionContext* context, const String& title); | 459 void consoleTime([Keep] ExecutionContext* context, const String& title); |
460 | 460 |
461 [Console, Timeline] | 461 [Console, Timeline] |
462 void consoleTimeEnd([Keep] ExecutionContext* context, const String& title, S
criptState* state); | 462 void consoleTimeEnd([Keep] ExecutionContext* context, const String& title, S
criptState* state); |
463 | 463 |
464 [Timeline, Inline=FastReturn] | 464 [Timeline, Inline=FastReturn] |
465 void consoleTimeStamp([Keep] ExecutionContext* context, const String& title)
; | 465 void consoleTimeStamp([Keep] ExecutionContext* context, const String& title)
; |
466 | 466 |
(...skipping 22 matching lines...) Expand all Loading... |
489 interface InspectorCanvasInstrumentation { | 489 interface InspectorCanvasInstrumentation { |
490 | 490 |
491 #include "bindings/v8/ScriptValue.h" | 491 #include "bindings/v8/ScriptValue.h" |
492 | 492 |
493 [Canvas] | 493 [Canvas] |
494 ScriptValue wrapCanvas2DRenderingContextForInstrumentation(Document*, const
ScriptValue&); | 494 ScriptValue wrapCanvas2DRenderingContextForInstrumentation(Document*, const
ScriptValue&); |
495 | 495 |
496 [Canvas] | 496 [Canvas] |
497 ScriptValue wrapWebGLRenderingContextForInstrumentation(Document*, const Scr
iptValue&); | 497 ScriptValue wrapWebGLRenderingContextForInstrumentation(Document*, const Scr
iptValue&); |
498 } | 498 } |
OLD | NEW |