diff options
Diffstat (limited to 'Source/WebKit2/UIProcess/WebLoaderClient.cpp')
-rw-r--r-- | Source/WebKit2/UIProcess/WebLoaderClient.cpp | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/Source/WebKit2/UIProcess/WebLoaderClient.cpp b/Source/WebKit2/UIProcess/WebLoaderClient.cpp index 2aae01617..ca9d7f6f1 100644 --- a/Source/WebKit2/UIProcess/WebLoaderClient.cpp +++ b/Source/WebKit2/UIProcess/WebLoaderClient.cpp @@ -211,6 +211,14 @@ void WebLoaderClient::processDidBecomeUnresponsive(WebPageProxy* page) m_client.processDidBecomeUnresponsive(toAPI(page), m_client.clientInfo); } +void WebLoaderClient::interactionOccurredWhileProcessUnresponsive(WebPageProxy* page) +{ + if (!m_client.interactionOccurredWhileProcessUnresponsive) + return; + + m_client.interactionOccurredWhileProcessUnresponsive(toAPI(page), m_client.clientInfo); +} + void WebLoaderClient::processDidBecomeResponsive(WebPageProxy* page) { if (!m_client.processDidBecomeResponsive) @@ -243,17 +251,17 @@ bool WebLoaderClient::shouldGoToBackForwardListItem(WebPageProxy* page, WebBackF { // We should only even considering sending the shouldGoToBackForwardListItem() client callback // for version 0 clients. Later versioned clients should get willGoToBackForwardListItem() instead, - // but do to XPC race conditions this one might have been called instead. + // but due to XPC race conditions this one might have been called instead. if (m_client.version > 0 || !m_client.shouldGoToBackForwardListItem) return true; return m_client.shouldGoToBackForwardListItem(toAPI(page), toAPI(item), m_client.clientInfo); } -void WebLoaderClient::willGoToBackForwardListItem(WebPageProxy* page, WebBackForwardListItem* item) +void WebLoaderClient::willGoToBackForwardListItem(WebPageProxy* page, WebBackForwardListItem* item, APIObject* userData) { if (m_client.willGoToBackForwardListItem) - m_client.willGoToBackForwardListItem(toAPI(page), toAPI(item), m_client.clientInfo); + m_client.willGoToBackForwardListItem(toAPI(page), toAPI(item), toAPI(userData), m_client.clientInfo); } void WebLoaderClient::didFailToInitializePlugin(WebPageProxy* page, const String& mimeType) |