| 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..01f881b340961255e2848a035d3b0c4e056616eb 100644
|
| --- a/content/browser/renderer_host/render_view_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_view_host_impl.cc
|
| @@ -916,6 +916,9 @@ 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)
|
| +#endif
|
| IPC_MESSAGE_HANDLER(DesktopNotificationHostMsg_RequestPermission,
|
| OnRequestDesktopNotificationPermission)
|
| IPC_MESSAGE_HANDLER(DesktopNotificationHostMsg_Show,
|
| @@ -1791,6 +1794,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(
|
|
|