Index: content/browser/web_contents/web_contents_impl.cc |
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc |
index 63aebf9cd1c2cf8540e9b5d6db3bc8fc4ec3b972..15b02c4114beab49bdbd4224f2795b76e77b6e44 100644 |
--- a/content/browser/web_contents/web_contents_impl.cc |
+++ b/content/browser/web_contents/web_contents_impl.cc |
@@ -442,6 +442,8 @@ bool WebContentsImpl::OnMessageReceived(RenderViewHost* render_view_host, |
IPC_BEGIN_MESSAGE_MAP_EX(WebContentsImpl, message, message_is_ok) |
IPC_MESSAGE_HANDLER(FrameHostMsg_PepperPluginHung, OnPepperPluginHung) |
IPC_MESSAGE_HANDLER(FrameHostMsg_PluginCrashed, OnPluginCrashed) |
+ IPC_MESSAGE_HANDLER(FrameHostMsg_DomOperationResponse, |
+ OnDomOperationResponse) |
IPC_MESSAGE_HANDLER(ViewHostMsg_DidLoadResourceFromMemoryCache, |
OnDidLoadResourceFromMemoryCache) |
IPC_MESSAGE_HANDLER(ViewHostMsg_DidDisplayInsecureContent, |
@@ -2389,6 +2391,15 @@ void WebContentsImpl::OnPluginCrashed(const base::FilePath& plugin_path, |
PluginCrashed(plugin_path, plugin_pid)); |
} |
+void WebContentsImpl::OnDomOperationResponse(const std::string& json_string, |
+ int automation_id) { |
+ DomOperationNotificationDetails details(json_string, automation_id); |
+ NotificationService::current()->Notify( |
+ NOTIFICATION_DOM_OPERATION_RESPONSE, |
+ Source<WebContents>(this), |
+ Details<DomOperationNotificationDetails>(&details)); |
+} |
+ |
void WebContentsImpl::OnAppCacheAccessed(const GURL& manifest_url, |
bool blocked_by_policy) { |
// Notify observers about navigation. |