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

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

Issue 365513002: Port identity_internals to mojo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch beautification Created 6 years, 5 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 85749836e370145c26ae24632890c2f22bd3dd14..0fa2be2b24da2cfaf42232620a78d62d04805807 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -526,6 +526,7 @@ bool WebContentsImpl::OnMessageReceived(RenderViewHost* render_view_host,
OnMediaPausedNotification)
IPC_MESSAGE_HANDLER(FrameHostMsg_DidFirstVisuallyNonEmptyPaint,
OnFirstVisuallyNonEmptyPaint)
+ IPC_MESSAGE_HANDLER(FrameHostMsg_WebUIMojoMainRan, OnWebUIMojoMainRan)
IPC_MESSAGE_HANDLER(ViewHostMsg_DidLoadResourceFromMemoryCache,
OnDidLoadResourceFromMemoryCache)
IPC_MESSAGE_HANDLER(ViewHostMsg_DidDisplayInsecureContent,
@@ -2969,6 +2970,12 @@ void WebContentsImpl::OnFirstVisuallyNonEmptyPaint() {
DidFirstVisuallyNonEmptyPaint());
}
+void WebContentsImpl::OnWebUIMojoMainRan() {
+ FOR_EACH_OBSERVER(WebContentsObserver,
+ observers_,
+ DidRunWebUIMojoMain());
+}
+
void WebContentsImpl::DidChangeVisibleSSLState() {
if (delegate_)
delegate_->VisibleSSLStateChanged(this);

Powered by Google App Engine
This is Rietveld 408576698