Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1338)

Unified Diff: content/browser/web_contents/web_contents_impl.cc

Issue 157713002: Switch DomAutomationController to be a RenderFrameObserver. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nasko@ CR feedback Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..e84d9bb1b2d20375d61f94818b383c905e45c80a 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -2733,6 +2733,14 @@ void WebContentsImpl::ShowContextMenu(RenderFrameHost* render_frame_host,
render_view_host_delegate_view_->ShowContextMenu(render_frame_host, params);
}
+void WebContentsImpl::OnDomOperationResponse(
+ const DomOperationNotificationDetails& details) {
+ NotificationService::current()->Notify(
+ NOTIFICATION_DOM_OPERATION_RESPONSE,
+ Source<WebContents>(this),
+ Details<const DomOperationNotificationDetails>(&details));
+}
+
WebContents* WebContentsImpl::GetAsWebContents() {
return this;
}

Powered by Google App Engine
This is Rietveld 408576698