2010-09-27 Ilya Tikhonovsky <loislo@chromium.org>
authorloislo@chromium.org <loislo@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 27 Sep 2010 13:59:45 +0000 (13:59 +0000)
committerloislo@chromium.org <loislo@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 27 Sep 2010 13:59:45 +0000 (13:59 +0000)
commit7c741964c1ab00c48c7972360c5b3d7520addb7a
treeae9f79a37bc302266f07db37a919dfc7f2c56101
parent5030874d8ae897686d093de7c76cdaa3934506ed
2010-09-27  Ilya Tikhonovsky  <loislo@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: divide InspectorTimelineAgent into two parts.

        We have an idea to split InspectorTimelineAgent into two parts.
        The first part is an instrumentation API which can be used for DOM breakpoints too.
        The other is the real Timeline agent which do a transformation of raw data into timeline data.

        https://bugs.webkit.org/show_bug.cgi?id=46611

        * inspector/InspectorTimelineAgent.cpp:
        (WebCore::InspectorTimelineAgent2::TimelineRecordEntry::TimelineRecordEntry):
        (WebCore::InspectorTimelineAgent2::GCEvent::GCEvent):
        (WebCore::InspectorTimelineAgent2::InspectorTimelineAgent2):
        (WebCore::InspectorTimelineAgent2::~InspectorTimelineAgent2):
        (WebCore::InspectorTimelineAgent2::didGC):
        (WebCore::InspectorTimelineAgent2::addRecordToTimeline):
        (WebCore::InspectorTimelineAgent2::setHeapSizeStatistic):
        (WebCore::InspectorTimelineAgent2::startNewRecord):
        (WebCore::InspectorTimelineAgent2::completeCurrentRecord):
        (WebCore::InspectorTimelineAgent2::asyncRecord):
        (WebCore::InspectorTimelineAgent2::atomicRecord):
        (WebCore::InspectorTimelineAgent2::getTopRecordData):
        (WebCore::InspectorTimelineAgent2::reset):
        (WebCore::InspectorTimelineAgent2::resetFrontendProxyObject):
        (WebCore::InspectorTimelineAgent2::pushGCEventRecords):
        (WebCore::InspectorTimelineAgent::InspectorTimelineAgent):
        (WebCore::InspectorTimelineAgent::~InspectorTimelineAgent):
        (WebCore::InspectorTimelineAgent::reset):
        (WebCore::InspectorTimelineAgent::willCallFunction):
        (WebCore::InspectorTimelineAgent::didCallFunction):
        (WebCore::InspectorTimelineAgent::willDispatchEvent):
        (WebCore::InspectorTimelineAgent::didDispatchEvent):
        (WebCore::InspectorTimelineAgent::willLayout):
        (WebCore::InspectorTimelineAgent::didLayout):
        (WebCore::InspectorTimelineAgent::willRecalculateStyle):
        (WebCore::InspectorTimelineAgent::didRecalculateStyle):
        (WebCore::InspectorTimelineAgent::willPaint):
        (WebCore::InspectorTimelineAgent::didPaint):
        (WebCore::InspectorTimelineAgent::willWriteHTML):
        (WebCore::InspectorTimelineAgent::didWriteHTML):
        (WebCore::InspectorTimelineAgent::didInstallTimer):
        (WebCore::InspectorTimelineAgent::didRemoveTimer):
        (WebCore::InspectorTimelineAgent::willFireTimer):
        (WebCore::InspectorTimelineAgent::didFireTimer):
        (WebCore::InspectorTimelineAgent::willChangeXHRReadyState):
        (WebCore::InspectorTimelineAgent::didChangeXHRReadyState):
        (WebCore::InspectorTimelineAgent::willLoadXHR):
        (WebCore::InspectorTimelineAgent::didLoadXHR):
        (WebCore::InspectorTimelineAgent::willEvaluateScript):
        (WebCore::InspectorTimelineAgent::didEvaluateScript):
        (WebCore::InspectorTimelineAgent::didScheduleResourceRequest):
        (WebCore::InspectorTimelineAgent::willSendResourceRequest):
        (WebCore::InspectorTimelineAgent::willReceiveResourceData):
        (WebCore::InspectorTimelineAgent::didReceiveResourceData):
        (WebCore::InspectorTimelineAgent::willReceiveResourceResponse):
        (WebCore::InspectorTimelineAgent::didReceiveResourceResponse):
        (WebCore::InspectorTimelineAgent::didFinishLoadingResource):
        (WebCore::InspectorTimelineAgent::didMarkTimeline):
        (WebCore::InspectorTimelineAgent::didMarkDOMContentEvent):
        (WebCore::InspectorTimelineAgent::didMarkLoadEvent):
        (WebCore::InspectorTimelineAgent::resetFrontendProxyObject):
        * inspector/InspectorTimelineAgent.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/inspector/InspectorTimelineAgent.cpp
WebCore/inspector/InspectorTimelineAgent.h