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 b76a165fd9077689a1cc15ed9c035d3a99c775bc..58151415d73b7261f01c85cc6c10f967908f58a0 100644 |
--- a/content/browser/web_contents/web_contents_impl.cc |
+++ b/content/browser/web_contents/web_contents_impl.cc |
@@ -509,6 +509,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) |
@@ -2512,6 +2514,11 @@ bool WebContentsImpl::CanOverscrollContent() const { |
return false; |
} |
+void WebContentsImpl::OnBrandColorChanged(SkColor brand_color) { |
+ FOR_EACH_OBSERVER(WebContentsObserver, observers_, |
+ DidChangeBrandColor(brand_color)); |
+} |
+ |
void WebContentsImpl::OnDidLoadResourceFromMemoryCache( |
const GURL& url, |
const std::string& security_info, |