diff options
Diffstat (limited to 'WebCore/inspector/TimelineRecordFactory.h')
| -rw-r--r-- | WebCore/inspector/TimelineRecordFactory.h | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/WebCore/inspector/TimelineRecordFactory.h b/WebCore/inspector/TimelineRecordFactory.h index 3d36649..e0ccc95 100644 --- a/WebCore/inspector/TimelineRecordFactory.h +++ b/WebCore/inspector/TimelineRecordFactory.h @@ -37,22 +37,36 @@ namespace WebCore { class Event; class InspectorFrontend; + class IntRect; + class ResourceRequest; + class ResourceResponse; class ScriptObject; class TimelineRecordFactory { public: static ScriptObject createGenericRecord(InspectorFrontend*, double startTime); - static ScriptObject createDOMDispatchRecord(InspectorFrontend*, double startTime, const Event&); + static ScriptObject createEventDispatchRecord(InspectorFrontend*, double startTime, const Event&); static ScriptObject createGenericTimerRecord(InspectorFrontend*, double startTime, int timerId); static ScriptObject createTimerInstallRecord(InspectorFrontend*, double startTime, int timerId, int timeout, bool singleShot); - static ScriptObject createXHRReadyStateChangeTimelineRecord(InspectorFrontend*, double startTime, const String& url, int readyState); - static ScriptObject createXHRLoadTimelineRecord(InspectorFrontend*, double startTime, const String& url); + static ScriptObject createXHRReadyStateChangeRecord(InspectorFrontend*, double startTime, const String& url, int readyState); + static ScriptObject createXHRLoadRecord(InspectorFrontend*, double startTime, const String& url); - static ScriptObject createEvaluateScriptTagTimelineRecord(InspectorFrontend*, double startTime, const String&, double lineNumber); + static ScriptObject createEvaluateScriptRecord(InspectorFrontend*, double startTime, const String&, double lineNumber); + + static ScriptObject createMarkTimelineRecord(InspectorFrontend*, double startTime, const String&); + + static ScriptObject createResourceSendRequestRecord(InspectorFrontend*, double startTime, + unsigned long identifier, bool isMainResource, const ResourceRequest&); + static ScriptObject createResourceReceiveResponseRecord(InspectorFrontend*, double startTime, + unsigned long identifier, const ResourceResponse&); + static ScriptObject createResourceFinishRecord(InspectorFrontend*, double startTime, + unsigned long identifier, bool didFail); + + static ScriptObject createPaintRecord(InspectorFrontend*, double startTime, const IntRect&); private: TimelineRecordFactory() { } |
