Bug 78254

Summary: Web Inspector: [refactoring] TimelineModel should not depend on TimelinePanel
Product: WebKit Reporter: Andrey Kosyakov <caseq>
Component: Web Inspector (Deprecated)Assignee: Andrey Kosyakov <caseq>
Severity: Normal CC: apavlov, bburg, bweinstein, keishi, loislo, ossy, pfeldman, pmuellr, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Description Flags
Patch yurys: review+

Description Andrey Kosyakov 2012-02-09 10:58:07 PST
This breaks cyclical dependency between TimelineModel and TimelinePanel by introducing EventRecorded and EventsCleared events dispatched by the timeline model.
Comment 1 Andrey Kosyakov 2012-02-09 23:31:34 PST
Created attachment 126463 [details]
Comment 2 Yury Semikhatsky 2012-02-10 00:03:24 PST
Comment on attachment 126463 [details]

View in context: https://bugs.webkit.org/attachment.cgi?id=126463&action=review

> Source/WebCore/inspector/front-end/TimelinePanel.js:1527
> +WebInspector.TimelineModel.Events = {

Please place this constant declarations right after the constructor.
Comment 3 Andrey Kosyakov 2012-02-10 00:06:28 PST
Committed r107373: <http://trac.webkit.org/changeset/107373>
Comment 4 Csaba Osztrogon√°c 2012-02-10 01:02:49 PST
Reopen, because it made a test fail on Qt: (maybe on other ports too)