Bug 23059 - Add contentsSizeChanged API to QWebFrame
Summary: Add contentsSizeChanged API to QWebFrame
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Qt (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other All
: P2 Enhancement
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-31 07:34 PST by Adam Treat
Modified: 2009-01-06 10:57 PST (History)
1 user (show)

See Also:


Attachments
Adds contentsSizeChanged signal to QWebFrame (15.08 KB, patch)
2008-12-31 07:35 PST, Adam Treat
no flags Details | Formatted Diff | Diff
Fixes the style and tabs (15.11 KB, patch)
2009-01-05 13:08 PST, Adam Treat
staikos: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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