| Index: third_party/WebKit/Source/web/WebViewImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| index fad565d27c6eaef57d89c1087056567fb40a7363..72a6fbe79515ef625afa1bb696997fca99aa278f 100644
|
| --- a/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| @@ -2903,6 +2903,13 @@ void WebViewImpl::focusDocumentView(WebFrame* frame)
|
| page()->focusController().focusDocumentView(frame->toImplBase()->frame(), false /* notifyEmbedder */);
|
| }
|
|
|
| +void WebViewImpl::unfocusDocumentView(WebFrame* frame)
|
| +{
|
| + LocalFrame* focusedFrame = page()->focusController().focusedFrame();
|
| + DCHECK(!focusedFrame || focusedFrame == frame->toImplBase()->frame());
|
| + page()->focusController().focusDocumentView(nullptr /* frame */, false /* notifyEmbedder */);
|
| +}
|
| +
|
| void WebViewImpl::setInitialFocus(bool reverse)
|
| {
|
| if (!m_page)
|
|
|