summaryrefslogtreecommitdiffstats
path: root/WebCore/inspector/InspectorTimelineAgent.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/inspector/InspectorTimelineAgent.h')
-rw-r--r--WebCore/inspector/InspectorTimelineAgent.h27
1 files changed, 20 insertions, 7 deletions
diff --git a/WebCore/inspector/InspectorTimelineAgent.h b/WebCore/inspector/InspectorTimelineAgent.h
index d1d3675..1929286 100644
--- a/WebCore/inspector/InspectorTimelineAgent.h
+++ b/WebCore/inspector/InspectorTimelineAgent.h
@@ -42,10 +42,13 @@
namespace WebCore {
class Event;
class InspectorFrontend;
+ class IntRect;
+ class ResourceRequest;
+ class ResourceResponse;
// Must be kept in sync with TimelineAgent.js
enum TimelineRecordType {
- DOMDispatchTimelineRecordType = 0,
+ EventDispatchTimelineRecordType = 0,
LayoutTimelineRecordType = 1,
RecalculateStylesTimelineRecordType = 2,
PaintTimelineRecordType = 3,
@@ -55,7 +58,11 @@ namespace WebCore {
TimerFireTimelineRecordType = 7,
XHRReadyStateChangeRecordType = 8,
XHRLoadRecordType = 9,
- EvaluateScriptTagTimelineRecordType = 10,
+ EvaluateScriptTimelineRecordType = 10,
+ MarkTimelineRecordType = 11,
+ ResourceSendRequestTimelineRecordType = 12,
+ ResourceReceiveResponseTimelineRecordType = 13,
+ ResourceFinishTimelineRecordType = 14,
};
class InspectorTimelineAgent {
@@ -67,8 +74,8 @@ namespace WebCore {
void resetFrontendProxyObject(InspectorFrontend*);
// Methods called from WebCore.
- void willDispatchDOMEvent(const Event&);
- void didDispatchDOMEvent();
+ void willDispatchEvent(const Event&);
+ void didDispatchEvent();
void willLayout();
void didLayout();
@@ -76,7 +83,7 @@ namespace WebCore {
void willRecalculateStyle();
void didRecalculateStyle();
- void willPaint();
+ void willPaint(const IntRect&);
void didPaint();
void willWriteHTML();
@@ -92,8 +99,14 @@ namespace WebCore {
void willLoadXHR(const String&);
void didLoadXHR();
- void willEvaluateScriptTag(const String&, int);
- void didEvaluateScriptTag();
+ void willEvaluateScript(const String&, int);
+ void didEvaluateScript();
+
+ void didMarkTimeline(const String&);
+
+ void willSendResourceRequest(unsigned long, bool isMainResource, const ResourceRequest&);
+ void didReceiveResourceResponse(unsigned long, const ResourceResponse&);
+ void didFinishLoadingResource(unsigned long, bool didFail);
static InspectorTimelineAgent* retrieve(ScriptExecutionContext*);
private: