Bug 71107

Summary: [Qt][WK2] Move content to resize (setResizesToContentsUsingLayoutSize) from UI process to Web process
Product: WebKit Reporter: alan <zalan>
Component: New BugsAssignee: alan <zalan>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit.review.bot, zoltan
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Patch none

alan
Reported 2011-10-28 04:12:47 PDT
[Qt][WK2] Move content to resize (setResizesToContentsUsingLayoutSize) from UI process to WebProcess
Attachments
Patch (7.94 KB, patch)
2011-10-28 04:26 PDT, alan
no flags
Patch (9.06 KB, patch)
2011-10-28 06:37 PDT, alan
no flags
Patch (9.17 KB, patch)
2011-11-02 06:13 PDT, alan
no flags
alan
Comment 1 2011-10-28 04:26:32 PDT
Kenneth Rohde Christiansen
Comment 2 2011-10-28 05:15:34 PDT
Comment on attachment 112847 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=112847&action=review > Source/WebKit2/UIProcess/API/qt/qtouchwebview.cpp:118 > if (newGeometry.size() != oldGeometry.size()) { > + WebPageProxy* pageProxy = toImpl(d->page.pageRef()); > + // Let the WebProcess know about the new viewport size, so that > + // it can resize the content accordingly. > + pageProxy->setViewportSize(newGeometry.size().toSize()); > d->updateViewportConstraints(); Maybe we should make a d->updateViewportSize(...) method? Anyway the naming is inconsistent with the rest of the file: WebPageProxy* wkPage = toImpl(page.pageRef());
alan
Comment 3 2011-10-28 06:37:04 PDT
alan
Comment 4 2011-10-28 06:39:09 PDT
Comment on attachment 112855 [details] Patch updated patch based on Kenneth's comments.
WebKit Review Bot
Comment 5 2011-10-28 06:43:31 PDT
Comment on attachment 112855 [details] Patch Rejecting attachment 112855 [details] from commit-queue. Failed to run "['/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '-..." exit_code: 2 Last 500 characters of output: ss/API/qt/qtouchwebview.cpp.rej patching file Source/WebKit2/UIProcess/API/qt/qtouchwebview_p.h patching file Source/WebKit2/UIProcess/qt/QtTouchWebPageProxy.cpp patching file Source/WebKit2/UIProcess/qt/QtTouchWebPageProxy.h patching file Source/WebKit2/WebProcess/WebCoreSupport/WebChromeClient.cpp patching file Source/WebKit2/WebProcess/WebPage/WebPage.messages.in Failed to run "[u'/mnt/git/webkit-commit-queue/Tools/Scripts/svn-apply', u'--reviewer', u'Kenneth Rohde Christia..." exit_code: 1 Full output: http://queues.webkit.org/results/10241028
alan
Comment 6 2011-11-02 06:13:41 PDT
WebKit Review Bot
Comment 7 2011-11-02 07:24:46 PDT
Comment on attachment 113308 [details] Patch Clearing flags on attachment: 113308 Committed r99058: <http://trac.webkit.org/changeset/99058>
WebKit Review Bot
Comment 8 2011-11-02 07:24:50 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.