Index: Source/web/ChromeClientImpl.cpp |
diff --git a/Source/web/ChromeClientImpl.cpp b/Source/web/ChromeClientImpl.cpp |
index 6df23221b636684f7d0f23f62d5cfaec6edd172d..e58aa371ba2f8b7b3acc5600abbfd26166862fb6 100644 |
--- a/Source/web/ChromeClientImpl.cpp |
+++ b/Source/web/ChromeClientImpl.cpp |
@@ -213,6 +213,13 @@ void ChromeClientImpl::focusedNodeChanged(Node* node) |
m_webView->client()->setKeyboardFocusURL(focusURL); |
} |
+void ChromeClientImpl::focusedFrameChanged(WebCore::LocalFrame* frame) |
+{ |
+ WebFrameImpl* webframe = WebFrameImpl::fromFrame(frame); |
+ if (webframe && webframe->client()) |
+ webframe->client()->frameFocused(); |
+} |
+ |
Page* ChromeClientImpl::createWindow(LocalFrame* frame, const FrameLoadRequest& r, const WindowFeatures& features, |
NavigationPolicy navigationPolicy, ShouldSendReferrer shouldSendReferrer) |
{ |