Bug 90531

Summary: Web Inspector: Get rid of ResourceDomainModelBinding and DebuggerResourceBinding, make Resource.setContent private.
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, timothy, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch pfeldman: review+

Description Vsevolod Vlasov 2012-07-04 02:10:12 PDT
Now that Resource.setContent is not used outside of Resource.js we can make it private.
Resource._setContent can now delegate to UISourceCodes which would take care of domain specific actions.
DebuggerResourceBinding can be removed and DebuggerResourceBinding.setScriptSource should moved to JavaScriptSource.
ResourceDomainModelBinding could be removed as well.
Comment 1 Vsevolod Vlasov 2012-07-04 02:20:01 PDT
Created attachment 150740 [details]
Patch
Comment 2 Vsevolod Vlasov 2012-07-04 07:08:01 PDT
Committed r121850: <http://trac.webkit.org/changeset/121850>