Chromium Code Reviews| 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 462 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 473 [Debugger, Inline=FastReturn] | 473 [Debugger, Inline=FastReturn] |
| 474 InspectorInstrumentationCookie traceAsyncCallbackStarting([Keep] ExecutionCo ntext*, int operationId); | 474 InspectorInstrumentationCookie traceAsyncCallbackStarting([Keep] ExecutionCo ntext*, int operationId); |
| 475 | 475 |
| 476 [Debugger, Inline=FastReturn] | 476 [Debugger, Inline=FastReturn] |
| 477 void traceAsyncCallbackCompleted(const InspectorInstrumentationCookie&); | 477 void traceAsyncCallbackCompleted(const InspectorInstrumentationCookie&); |
| 478 } | 478 } |
| 479 | 479 |
| 480 interface InspectorConsoleInstrumentation { | 480 interface InspectorConsoleInstrumentation { |
| 481 | 481 |
| 482 #include "core/inspector/ScriptArguments.h" | 482 #include "core/inspector/ScriptArguments.h" |
| 483 #include "core/inspector/ScriptCallStack.h" | 483 #include "core/inspector/ScriptCallStack.h" |
|
aandrey
2014/08/08 15:48:03
unused include
kozyatinskiy1
2014/08/08 15:51:13
Done.
| |
| 484 | 484 |
| 485 // FIXME: Convert to ScriptArguments to match non-worker context. | 485 class ConsoleMessage; |
| 486 // Use the same implementation as above as a similar method dispatched on Pa ge. | |
| 487 [Console] | |
| 488 void addMessageToConsole(ExecutionContext* context, MessageSource source, Me ssageType type, MessageLevel level, const String& message, PassRefPtrWillBeRawPt r<ScriptCallStack> callStack, unsigned long requestIdentifier = 0); | |
| 489 | 486 |
| 490 // Use the same implementation as above as a similar method dispatched on Pa ge. | 487 // Use the same implementation as above as a similar method dispatched on Pa ge. |
| 491 [Console] | 488 [Console] |
| 492 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); | 489 void addMessageToConsole(ExecutionContext* context, ConsoleMessage* consoleM essage); |
| 493 | 490 |
| 494 [Console, Debugger] | 491 [Console, Debugger] |
| 495 void addConsoleAPIMessageToConsole(ExecutionContext* context, MessageType ty pe, MessageLevel level, const String& message, ScriptState* state, PassRefPtrWil lBeRawPtr<ScriptArguments> arguments, unsigned long requestIdentifier = 0); | 492 void addConsoleAPIMessageToConsole(ExecutionContext* context, MessageType ty pe, MessageLevel level, const String& message, ScriptState* state, PassRefPtrWil lBeRawPtr<ScriptArguments> arguments, unsigned long requestIdentifier = 0); |
| 496 | 493 |
| 497 [Console] | 494 [Console] |
| 498 void consoleCount(ExecutionContext* context, ScriptState* state, PassRefPtrW illBeRawPtr<ScriptArguments> arguments); | 495 void consoleCount(ExecutionContext* context, ScriptState* state, PassRefPtrW illBeRawPtr<ScriptArguments> arguments); |
| 499 | 496 |
| 500 [Timeline, Console] | 497 [Timeline, Console] |
| 501 void consoleTime([Keep] ExecutionContext* context, const String& title); | 498 void consoleTime([Keep] ExecutionContext* context, const String& title); |
| 502 | 499 |
| (...skipping 28 matching lines...) Expand all Loading... | |
| 531 interface InspectorCanvasInstrumentation { | 528 interface InspectorCanvasInstrumentation { |
| 532 | 529 |
| 533 #include "bindings/core/v8/ScriptValue.h" | 530 #include "bindings/core/v8/ScriptValue.h" |
| 534 | 531 |
| 535 [Canvas] | 532 [Canvas] |
| 536 ScriptValue wrapCanvas2DRenderingContextForInstrumentation(Document*, const ScriptValue&); | 533 ScriptValue wrapCanvas2DRenderingContextForInstrumentation(Document*, const ScriptValue&); |
| 537 | 534 |
| 538 [Canvas] | 535 [Canvas] |
| 539 ScriptValue wrapWebGLRenderingContextForInstrumentation(Document*, const Scr iptValue&); | 536 ScriptValue wrapWebGLRenderingContextForInstrumentation(Document*, const Scr iptValue&); |
| 540 } | 537 } |
| OLD | NEW |