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

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: add notification to interstitialpageimpl 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 46f08b86d756f414a6199a2cab183a57f7007b46..043cf3faba829f2649ffeb0ba2941fb569d90060 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -2707,6 +2707,14 @@ void WebContentsImpl::ShowContextMenu(RenderFrameHost* render_frame_host,
render_view_host_delegate_view_->ShowContextMenu(render_frame_host, params);
}
+void WebContentsImpl::OnDomOperationResponse(
+ const DomOperationNotificationDetails& details) {
nasko 2014/02/11 17:32:33 style: only 4 spaces for indent.
mkosiba (inactive) 2014/02/14 15:04:41 Done.
+ 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