Bug 23059

Summary: Add contentsSizeChanged API to QWebFrame
Product: WebKit Reporter: Adam Treat <manyoso>
Component: WebKit QtAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Enhancement CC: staikos
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Other   
OS: All   
Attachments:
Description Flags
Adds contentsSizeChanged signal to QWebFrame
none
Fixes the style and tabs staikos: review+

Description Adam Treat 2008-12-31 07:34:18 PST
Hi,

Currently QWebFrame sports a contentsSize getter which returns the current size of the contents handled by the frame.  However, this size is constantly changing and a client application has no way of being notified of such changes other than polling.  This is less than optimal.

Attached you'll find a patch which adds a signal to QWebFrame so clients can be notified whenever the frame's contentsSizeChanged(...)

Cheers,
Adam
Comment 1 Adam Treat 2008-12-31 07:35:47 PST
Created attachment 26336 [details]
Adds contentsSizeChanged signal to QWebFrame

Adds contentsSizeChanged signal to QWebFrame
Comment 2 George Staikos 2009-01-02 10:14:16 PST
I think this needs a bit more wide review, but otherwise r+ from me.
Comment 3 Adam Treat 2009-01-05 13:08:50 PST
Created attachment 26438 [details]
Fixes the style and tabs