RESOLVED FIXED 114549
Add private interface to WKView to asynchronously update the drawing area size
https://bugs.webkit.org/show_bug.cgi?id=114549
Summary Add private interface to WKView to asynchronously update the drawing area size
Gavin Barraclough
Reported 2013-04-12 17:39:01 PDT
This will allow a client using the WKView to resize the contents without blocking waiting for the web process to repaint.
Attachments
Patch (8.88 KB, patch)
2013-04-12 17:44 PDT, Gavin Barraclough
simon.fraser: review+
Gavin Barraclough
Comment 1 2013-04-12 17:44:35 PDT
Simon Fraser (smfr)
Comment 2 2013-04-12 18:07:36 PDT
Comment on attachment 197915 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=197915&action=review > Source/WebKit2/UIProcess/API/mac/WKView.mm:3445 > +// The updated is performed asynchronously; we don't wait for the geometry update before returning. The update > Source/WebKit2/UIProcess/API/mac/WKView.mm:3464 > + // If a geometry update is still pending then the action of recieving the receiving > Source/WebKit2/UIProcess/API/mac/WKView.mm:3468 > + drawingArea->waitForPossibleGeometryUpdate(); > + drawingArea->waitForPossibleGeometryUpdate(); Do we really want to wait for a whole second?
Gavin Barraclough
Comment 3 2013-04-12 18:36:46 PDT
Fixed in: Committed revision 148331.
Note You need to log in before you can comment on or make changes to this bug.