| 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 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 425 | 425 |
| 426 [LayerTree] | 426 [LayerTree] |
| 427 void renderLayerDestroyed(Page*, const RenderLayer*); | 427 void renderLayerDestroyed(Page*, const RenderLayer*); |
| 428 | 428 |
| 429 [LayerTree] | 429 [LayerTree] |
| 430 void pseudoElementDestroyed(Page*, PseudoElement*); | 430 void pseudoElementDestroyed(Page*, PseudoElement*); |
| 431 } | 431 } |
| 432 | 432 |
| 433 interface InspectorConsoleInstrumentation { | 433 interface InspectorConsoleInstrumentation { |
| 434 | 434 |
| 435 #include "core/inspector/ConsoleMessage.h" |
| 435 #include "core/inspector/ScriptArguments.h" | 436 #include "core/inspector/ScriptArguments.h" |
| 436 #include "core/inspector/ScriptCallStack.h" | 437 #include "core/inspector/ScriptCallStack.h" |
| 437 #include "core/inspector/ScriptProfile.h" | 438 #include "core/inspector/ScriptProfile.h" |
| 438 | 439 |
| 439 [Console, Debugger] // FIXME: Drop this once we no longer generate stacks o
utside of Inspector. | |
| 440 void addMessageToConsole(Page* page, MessageSource source, MessageType type,
MessageLevel level, const String& message, PassRefPtr<ScriptCallStack> callStac
k, unsigned long requestIdentifier = 0); | |
| 441 | |
| 442 [Console, Debugger] | 440 [Console, Debugger] |
| 443 void addMessageToConsole(Page* page, MessageSource source, MessageType type,
MessageLevel level, const String& message, ScriptState* state, PassRefPtr<Scrip
tArguments> arguments, unsigned long requestIdentifier = 0); | 441 void addMessageToConsole(Page*, PassOwnPtr<ConsoleMessage>); |
| 444 | 442 |
| 445 [Console] | 443 [Console] |
| 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); | 444 void addMessageToConsole(Page*, PassOwnPtr<ConsoleMessage>, bool checkFronte
nd); |
| 447 | 445 |
| 448 // FIXME: Convert to ScriptArguments to match non-worker context. | 446 // FIXME: Convert to ScriptArguments to match non-worker context. |
| 449 // Use the same implementation as above as a similar method dispatched on Pa
ge. | 447 [Console, Debugger] |
| 450 void addMessageToConsole(WorkerGlobalScope* workerGlobalScope, MessageSource
source, MessageType type, MessageLevel level, const String& message, PassRefPtr
<ScriptCallStack> callStack, unsigned long requestIdentifier = 0); | 448 void addMessageToConsole(WorkerGlobalScope* workerGlobalScope, MessageSource
source, MessageType type, MessageLevel level, const String& message, PassRefPtr
<ScriptCallStack> callStack, unsigned long requestIdentifier = 0); |
| 451 | 449 |
| 452 // Use the same implementation as above as a similar method dispatched on Pa
ge. | 450 // Use the same implementation as above as a similar method dispatched on Pa
ge. |
| 451 [Console] |
| 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); | 452 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); |
| 454 | 453 |
| 455 [Console] | 454 [Console] |
| 456 void consoleCount(Page* page, ScriptState* state, PassRefPtr<ScriptArguments
> arguments); | 455 void consoleCount(Page* page, ScriptState* state, PassRefPtr<ScriptArguments
> arguments); |
| 457 | 456 |
| 458 [Timeline, Console] | 457 [Timeline, Console] |
| 459 void startConsoleTiming([Keep] Frame* frame, const String& title); | 458 void startConsoleTiming([Keep] Frame* frame, const String& title); |
| 460 | 459 |
| 461 [Console, Timeline] | 460 [Console, Timeline] |
| 462 void stopConsoleTiming([Keep] Frame* frame, const String& title, PassRefPtr<
ScriptCallStack> stack); | 461 void stopConsoleTiming([Keep] Frame* frame, const String& title, PassRefPtr<
ScriptCallStack> stack); |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 506 interface InspectorCanvasInstrumentation { | 505 interface InspectorCanvasInstrumentation { |
| 507 | 506 |
| 508 #include "bindings/v8/ScriptObject.h" | 507 #include "bindings/v8/ScriptObject.h" |
| 509 | 508 |
| 510 [Canvas] | 509 [Canvas] |
| 511 ScriptObject wrapCanvas2DRenderingContextForInstrumentation(Document*, const
ScriptObject&); | 510 ScriptObject wrapCanvas2DRenderingContextForInstrumentation(Document*, const
ScriptObject&); |
| 512 | 511 |
| 513 [Canvas] | 512 [Canvas] |
| 514 ScriptObject wrapWebGLRenderingContextForInstrumentation(Document*, const Sc
riptObject&); | 513 ScriptObject wrapWebGLRenderingContextForInstrumentation(Document*, const Sc
riptObject&); |
| 515 } | 514 } |
| OLD | NEW |