| Index: core/inspector/InspectorInstrumentation.idl
|
| diff --git a/core/inspector/InspectorInstrumentation.idl b/core/inspector/InspectorInstrumentation.idl
|
| index 6aa4ee55c7c921ca79f9dc699e0ca1c8ef589b6c..578c8572e0a856586403534929348587160db2f1 100644
|
| --- a/core/inspector/InspectorInstrumentation.idl
|
| +++ b/core/inspector/InspectorInstrumentation.idl
|
| @@ -61,6 +61,9 @@
|
| */
|
|
|
| interface InspectorInstrumentation {
|
| +
|
| +#include "core/dom/PseudoElement.h"
|
| +
|
| [Page, Inspector, PageDebugger, PageRuntime]
|
| void didClearWindowObjectInWorld([Keep] Frame*, DOMWrapperWorld*);
|
|
|
| @@ -217,6 +220,12 @@ interface InspectorInstrumentation {
|
| [Timeline, Page, Inline=FastReturn]
|
| void didPaint([Keep] RenderObject*, GraphicsContext*, const LayoutRect&);
|
|
|
| + [Timeline, Inline=FastReturn]
|
| + void willPaintImage([Keep] RenderImage*);
|
| +
|
| + [Timeline, Inline=FastReturn]
|
| + void didPaintImage(RenderImage*);
|
| +
|
| [Resource, Timeline, Inline=FastReturn]
|
| InspectorInstrumentationCookie willRecalculateStyle([Keep] Document*);
|
|
|
| @@ -276,6 +285,9 @@ interface InspectorInstrumentation {
|
| [Timeline, Resource]
|
| void didFinishLoading(Frame* frame, unsigned long identifier, DocumentLoader*, double finishTime);
|
|
|
| + [Resource]
|
| + void didReceiveCORSRedirectResponse(Frame*, unsigned long identifier, DocumentLoader*, const ResourceResponse&, ResourceLoader*);
|
| +
|
| [Timeline, Resource, Console] // Console should come AFTER Resource notification, front-end relies on this.
|
| void didFailLoading(Frame* frame, unsigned long identifier, DocumentLoader*, const ResourceError&);
|
|
|
| @@ -295,12 +307,6 @@ interface InspectorInstrumentation {
|
| void didReceiveXHRResponse(ScriptExecutionContext*, unsigned long identifier);
|
|
|
| [Resource]
|
| - void willLoadXHRSynchronously(ScriptExecutionContext*);
|
| -
|
| - [Resource]
|
| - void didLoadXHRSynchronously(ScriptExecutionContext*);
|
| -
|
| - [Resource]
|
| void scriptImported(ScriptExecutionContext*, unsigned long identifier, const String& sourceString);
|
|
|
| [Debugger]
|
| @@ -315,13 +321,16 @@ interface InspectorInstrumentation {
|
| [DOM, Timeline, Page]
|
| void loadEventFired([Keep] Frame*);
|
|
|
| + [Page]
|
| + void frameAttachedToParent([Keep] Frame*);
|
| +
|
| [Canvas, Page, CSS]
|
| void frameDetachedFromParent([Keep] Frame*);
|
|
|
| [Page, Inline=FastReturn]
|
| void childDocumentOpened([Keep] Document*);
|
|
|
| - [Console, Resource, CSS, Database, DOM, LayerTree, Inspector, Canvas, Page]
|
| + [Console, Resource, CSS, Database, DOM, Inspector, Canvas, Page, PageDebugger]
|
| void didCommitLoad([Keep] Frame*, DocumentLoader*);
|
|
|
| [DOM, Inline=FastReturn]
|
| @@ -422,6 +431,12 @@ interface InspectorInstrumentation {
|
|
|
| [LayerTree]
|
| void layerTreeDidChange(Page*);
|
| +
|
| + [DOM, Inline=FastReturn]
|
| + void pseudoElementCreated([Keep] PseudoElement*);
|
| +
|
| + [DOM, Inline=FastReturn]
|
| + void pseudoElementDestroyed([Keep] PseudoElement*);
|
| }
|
|
|
| interface InspectorConsoleInstrumentation {
|
| @@ -446,16 +461,19 @@ interface InspectorConsoleInstrumentation {
|
| void consoleCount(ScriptExecutionContext* context, ScriptState* state, PassRefPtr<ScriptArguments> arguments);
|
|
|
| [Timeline, Console]
|
| - void startConsoleTiming([Keep] ScriptExecutionContext* context, const String& title);
|
| + void consoleTime([Keep] ScriptExecutionContext* context, const String& title);
|
|
|
| [Console, Timeline]
|
| - void stopConsoleTiming([Keep] ScriptExecutionContext* context, const String& title, PassRefPtr<ScriptCallStack> stack);
|
| + void consoleTimeEnd([Keep] ScriptExecutionContext* context, const String& title, ScriptState* state);
|
|
|
| [Timeline, Inline=FastReturn]
|
| - void consoleTimeStamp([Keep] ScriptExecutionContext* context, PassRefPtr<ScriptArguments> arguments);
|
| + void consoleTimeStamp([Keep] ScriptExecutionContext* context, const String& title);
|
|
|
| - [Profiler]
|
| - void addStartProfilingMessageToConsole(ScriptExecutionContext* context, const String& title, unsigned lineNumber, const String& sourceURL);
|
| + [Console, Inline=FastReturn]
|
| + void consoleTimeline([Keep] ScriptExecutionContext* context, const String& title, ScriptState* state);
|
| +
|
| + [Console, Inline=FastReturn]
|
| + void consoleTimelineEnd([Keep] ScriptExecutionContext* context, const String& title, ScriptState* state);
|
|
|
| [Profiler]
|
| void addProfile(ScriptExecutionContext* context, PassRefPtr<ScriptProfile> profile, PassRefPtr<ScriptCallStack> callStack);
|
|
|