-
cfleizach@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=55281 Reviewed by Sam Weinig. In WK2, focus cannot be set from the WebProcess side because there's no platformWidget(). Instead, the focus/unfocus messages need to be sent to the UIProcess side. * platform/mac/WidgetMac.mm: (WebCore::Widget::setFocus): Source/WebKit2: WK2: Cannot set focus on an element when focus is outside of WKView https://bugs.webkit.org/show_bug.cgi?id=55281 Reviewed by Sam Weinig. * UIProcess/API/mac/PageClientImpl.h: * UIProcess/API/mac/PageClientImpl.mm: (WebKit::PageClientImpl::setFocus): * UIProcess/API/qt/qwkpage_p.h: (QWKPagePrivate::setFocus): * UIProcess/PageClient.h: * UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::setFocus): * UIProcess/WebPageProxy.h: * UIProcess/WebPageProxy.messages.in: * UIProcess/win/WebView.h: (WebKit::WebView::setFocus): * WebProcess/WebCoreSupport/WebChromeClient.cpp: (WebKit::WebChromeClient::focus): (WebKit::WebChromeClient::unfocus): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@80578 268f45cc-cd09-0410-ab3c-d52691b4dbfc
57e918a0