Index: content/browser/renderer_host/render_view_host_impl.cc |
diff --git a/content/browser/renderer_host/render_view_host_impl.cc b/content/browser/renderer_host/render_view_host_impl.cc |
index 18a05b1f2078070f7ab4d429984fff8dc6863c32..f0479b5947dc8e88f668626c98ce24c4442bd7a4 100644 |
--- a/content/browser/renderer_host/render_view_host_impl.cc |
+++ b/content/browser/renderer_host/render_view_host_impl.cc |
@@ -916,6 +916,10 @@ bool RenderViewHostImpl::OnMessageReceived(const IPC::Message& msg) { |
IPC_MESSAGE_HANDLER(ViewHostMsg_ScriptEvalResponse, OnScriptEvalResponse) |
IPC_MESSAGE_HANDLER(ViewHostMsg_DidZoomURL, OnDidZoomURL) |
IPC_MESSAGE_HANDLER(ViewHostMsg_MediaNotification, OnMediaNotification) |
+#if defined(OS_ANDROID) |
+ IPC_MESSAGE_HANDLER(ViewHostMsg_StartContentIntent, |
+ OnStartContentIntent); |
jam
2012/07/10 21:06:16
are you sure this doesn't fit on one line?
also g
Leandro GraciĆ” Gil
2012/07/11 10:55:43
Done.
|
+#endif |
IPC_MESSAGE_HANDLER(DesktopNotificationHostMsg_RequestPermission, |
OnRequestDesktopNotificationPermission) |
IPC_MESSAGE_HANDLER(DesktopNotificationHostMsg_Show, |
@@ -1791,6 +1795,13 @@ void RenderViewHostImpl::OnMediaNotification(int64 player_cookie, |
} |
} |
+#if defined(OS_ANDROID) |
+void RenderViewHostImpl::OnStartContentIntent(const GURL& content_url) { |
+ if (GetView()) |
+ GetView()->StartContentIntent(content_url); |
+} |
+#endif |
+ |
void RenderViewHostImpl::OnRequestDesktopNotificationPermission( |
const GURL& source_origin, int callback_context) { |
content::GetContentClient()->browser()->RequestDesktopNotificationPermission( |