Bug 98911

Summary: Web Inspector: Refactor UISourceCode, make it possible to distinguish working copy changes/commits from formatting.
Product: WebKit Reporter: Vsevolod Vlasov <vsevik>
Component: Web Inspector (Deprecated)Assignee: Vsevolod Vlasov <vsevik>
Status: RESOLVED FIXED    
Severity: Normal CC: apavlov, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch pfeldman: review+

Vsevolod Vlasov
Reported 2012-10-10 08:28:40 PDT
ContentChanged was dispatched both when working copy was committed and UISourceCode was formatted before. WorkingCopyChanged event was dispatched when working copy was set. Now there are three explicit events: WorkingCopyChanged, WorkingCopyCommitted, FormattedChanged. No events are dispatched now during revisions restoring. Reverting to revisions is now implemented based on the working copy editing.
Attachments
Patch (21.27 KB, patch)
2012-10-10 08:31 PDT, Vsevolod Vlasov
pfeldman: review+
Vsevolod Vlasov
Comment 1 2012-10-10 08:31:45 PDT
Vsevolod Vlasov
Comment 2 2012-10-12 04:19:42 PDT
Note You need to log in before you can comment on or make changes to this bug.