RESOLVED FIXED Bug 51968
WebKit2: Add APIs to WKBundleFrame to get content bounds and scroll offset
https://bugs.webkit.org/show_bug.cgi?id=51968
Summary WebKit2: Add APIs to WKBundleFrame to get content bounds and scroll offset
Jeff Miller
Reported 2011-01-05 16:25:39 PST
WebKit2: Add APIs to WKBundleFrame to get content bounds and scroll offset
Attachments
Patch (2.98 KB, patch)
2011-01-05 16:32 PST, Jeff Miller
no flags
Patch to add APIs to WKBundleFrame to get content bounds and scroll offset (2.99 KB, patch)
2011-01-05 21:31 PST, Jeff Miller
no flags
Jeff Miller
Comment 1 2011-01-05 16:28:25 PST
This is to support the equivalent of IWebFramePrivate::contentBounds() and IWebFramePrivate::scrollOffset from WebKit1.
Jeff Miller
Comment 2 2011-01-05 16:32:21 PST
Jeff Miller
Comment 3 2011-01-05 17:11:42 PST
Comment on attachment 78061 [details] Patch Obsoleting this patch, once https://bugs.webkit.org/show_bug.cgi?id=51970 lands I'll redo the patch to include the parameter names in the header.
Jeff Miller
Comment 4 2011-01-05 21:31:31 PST
Created attachment 78095 [details] Patch to add APIs to WKBundleFrame to get content bounds and scroll offset
Darin Adler
Comment 5 2011-01-05 21:38:45 PST
Comment on attachment 78095 [details] Patch to add APIs to WKBundleFrame to get content bounds and scroll offset View in context: https://bugs.webkit.org/attachment.cgi?id=78095&action=review > WebKit2/WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp:145 > + WKRect contentBounds = { {0, 0}, {0, 0} }; We’d normally put four more spaces in there.
Jeff Miller
Comment 6 2011-01-05 21:43:26 PST
(In reply to comment #5) > (From update of attachment 78095 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=78095&action=review > > > WebKit2/WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp:145 > > + WKRect contentBounds = { {0, 0}, {0, 0} }; > > We’d normally put four more spaces in there. Normally, I prefer contentBounds = { 0 }, which avoids any dependency on the internal structure of WKRect, but Sam said he did it this way. Thanks for reviewing.
WebKit Commit Bot
Comment 7 2011-01-06 11:08:56 PST
Comment on attachment 78095 [details] Patch to add APIs to WKBundleFrame to get content bounds and scroll offset Clearing flags on attachment: 78095 Committed r75171: <http://trac.webkit.org/changeset/75171>
WebKit Commit Bot
Comment 8 2011-01-06 11:09:02 PST
All reviewed patches have been landed. Closing bug.
WebKit Review Bot
Comment 9 2011-01-06 12:18:00 PST
http://trac.webkit.org/changeset/75171 might have broken GTK Linux 32-bit Release
Note You need to log in before you can comment on or make changes to this bug.