| Index: Tools/DumpRenderTree/chromium/WebViewHost.cpp
|
| ===================================================================
|
| --- Tools/DumpRenderTree/chromium/WebViewHost.cpp (revision 109043)
|
| +++ Tools/DumpRenderTree/chromium/WebViewHost.cpp (working copy)
|
| @@ -46,6 +46,7 @@
|
| #include "WebFrame.h"
|
| #include "WebGeolocationClientMock.h"
|
| #include "WebHistoryItem.h"
|
| +#include "WebIntent.h"
|
| #include "WebKit.h"
|
| #include "WebNode.h"
|
| #include "WebPluginParams.h"
|
| @@ -1284,6 +1285,14 @@
|
| return false;
|
| }
|
|
|
| +void WebViewHost::dispatchIntent(WebFrame* source, const WebIntentRequest& request)
|
| +{
|
| + printf("Received Web Intent: action=%s type=%s\n",
|
| + request.intent().action().utf8().data(),
|
| + request.intent().type().utf8().data());
|
| + m_currentRequest = request;
|
| +}
|
| +
|
| // Public functions -----------------------------------------------------------
|
|
|
| WebViewHost::WebViewHost(TestShell* shell)
|
|
|