From 79ad030d505ccf79cf10aa9f8189ca3e2f61f6f4 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Mon, 25 Jun 2012 13:35:59 +0200 Subject: Imported WebKit commit c4b613825abd39ac739a47d7b4410468fcef66dc (http://svn.webkit.org/repository/webkit/trunk@121147) New snapshot that includes Win32 debug build fix (use SVGAllInOne) --- Source/WebKit2/UIProcess/WebFrameProxy.cpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'Source/WebKit2/UIProcess/WebFrameProxy.cpp') diff --git a/Source/WebKit2/UIProcess/WebFrameProxy.cpp b/Source/WebKit2/UIProcess/WebFrameProxy.cpp index f60fab040..f97d85bb6 100644 --- a/Source/WebKit2/UIProcess/WebFrameProxy.cpp +++ b/Source/WebKit2/UIProcess/WebFrameProxy.cpp @@ -37,6 +37,10 @@ #include #include +#if ENABLE(WEB_INTENTS) +#include "WebIntentData.h" +#endif + using namespace WebCore; using namespace std; @@ -94,6 +98,19 @@ void WebFrameProxy::stopLoading() const m_page->process()->send(Messages::WebPage::StopLoadingFrame(m_frameID), m_page->pageID()); } + +#if ENABLE(WEB_INTENTS) +void WebFrameProxy::deliverIntent(WebIntentData* webIntentData) +{ + if (!m_page) + return; + + if (!m_page->isValid()) + return; + + m_page->process()->send(Messages::WebPage::DeliverIntentToFrame(m_frameID, webIntentData->store()), m_page->pageID()); +} +#endif bool WebFrameProxy::canProvideSource() const { -- cgit v1.2.1