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 f5301e6942270c392922f23b7c849daf6b234e14..a687ebaca1eee6b710d7275608af30b8a078cbf0 100644 |
--- a/content/browser/web_contents/web_contents_impl.cc |
+++ b/content/browser/web_contents/web_contents_impl.cc |
@@ -507,6 +507,8 @@ bool WebContentsImpl::OnMessageReceived(RenderViewHost* render_view_host, |
IPC_MESSAGE_HANDLER(FrameHostMsg_PluginCrashed, OnPluginCrashed) |
IPC_MESSAGE_HANDLER(FrameHostMsg_DomOperationResponse, |
OnDomOperationResponse) |
+ IPC_MESSAGE_HANDLER(FrameHostMsg_DidChangeBrandColor, |
+ OnBrandColorChanged) |
IPC_MESSAGE_HANDLER(FrameHostMsg_DidFinishDocumentLoad, |
OnDocumentLoadedInFrame) |
IPC_MESSAGE_HANDLER(FrameHostMsg_DidFinishLoad, OnDidFinishLoad) |
@@ -2506,6 +2508,11 @@ bool WebContentsImpl::CanOverscrollContent() const { |
return false; |
} |
+void WebContentsImpl::OnBrandColorChanged(uint32 brand_color) { |
+ FOR_EACH_OBSERVER(WebContentsObserver, observers_, |
+ DidChangeBrandColor(brand_color)); |
+} |
+ |
void WebContentsImpl::OnDidLoadResourceFromMemoryCache( |
const GURL& url, |
const std::string& security_info, |