[Cocoa] Need SPI to determine if the WKWebView is displaying a standalone image
https://bugs.webkit.org/show_bug.cgi?id=134071

Reviewed by Anders Carlsson.

* UIProcess/API/Cocoa/WKWebView.mm:
(-[WKWebView _isDisplayingStandaloneImageDocument]):
* UIProcess/API/Cocoa/WKWebViewPrivate.h:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@170160 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Try to fix the Mavericks build.

* Shared/API/Cocoa/WKFoundation.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@170162 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unfreeze the layer tree on DidFirstVisuallyNonEmptyLayout
https://bugs.webkit.org/show_bug.cgi?id=134073

Reviewed by Simon Fraser.
        
DidFirstLayout is too early and we usually get a blank page. This doesn't match the existing iOS behavior either.

* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::dispatchDidLayout):
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::WebPage):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@170163 268f45cc-cd09-0410-ab3c-d52691b4dbfc