Summary: | improvements to Cocoa bindings support in WebView - code simplification | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | James G. Speth <speth> | ||||||
Component: | WebKit API | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | ||||||||
Priority: | P2 | ||||||||
Version: | 420+ | ||||||||
Hardware: | Mac | ||||||||
OS: | OS X 10.4 | ||||||||
Attachments: |
|
Description
James G. Speth
2006-04-17 11:16:53 PDT
It looks like you forgot to attach the patch :( Created attachment 7777 [details]
patch removing the WebController and using better simpler KVO notifications
Comment on attachment 7777 [details]
patch removing the WebController and using better simpler KVO notifications
Won't removing the WebController break compatibility?
WebController was recently added (this weekend.) It wasn't needed for any functionality, but NSTreeController workarounds. A user can just use NSTreeController with this patch. Created attachment 7788 [details]
new patch with comments
i also moved the call to stop returning the DOMDocument from the beginning of the loading process to the point where the load is committed. it feels better this way when using it, since it's more synchronized with the WebView's state.
Comment on attachment 7788 [details]
new patch with comments
This looks good. r=me
|