Index: content/browser/renderer_host/render_view_host_impl.cc |
diff --git a/content/browser/renderer_host/render_view_host_impl.cc b/content/browser/renderer_host/render_view_host_impl.cc |
index e755f25efe1db109959e1aa9605f3cda1bb33216..acfc70744bc4fdeb7b21fe21be57ee71e18a2ccb 100644 |
--- a/content/browser/renderer_host/render_view_host_impl.cc |
+++ b/content/browser/renderer_host/render_view_host_impl.cc |
@@ -996,6 +996,7 @@ bool RenderViewHostImpl::OnMessageReceived(const IPC::Message& msg) { |
IPC_MESSAGE_HANDLER(AccessibilityHostMsg_Notifications, |
OnAccessibilityNotifications) |
IPC_MESSAGE_HANDLER(ViewHostMsg_FrameTreeUpdated, OnFrameTreeUpdated) |
+ IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateFrameName, OnUpdateFrameName) |
// Have the super handle all other messages. |
IPC_MESSAGE_UNHANDLED( |
handled = RenderWidgetHostImpl::OnMessageReceived(msg)) |
@@ -1731,6 +1732,10 @@ void RenderViewHostImpl::SetAltErrorPageURL(const GURL& url) { |
Send(new ViewMsg_SetAltErrorPageURL(GetRoutingID(), url)); |
} |
+void RenderViewHostImpl::SetName(const std::string& name) { |
+ Send(new ViewMsg_SetName(GetRoutingID(), name)); |
+} |
+ |
void RenderViewHostImpl::ExitFullscreen() { |
RejectMouseLockOrUnlockIfNecessary(); |
// We need to notify the contents that its fullscreen state has changed. This |
@@ -2003,6 +2008,14 @@ void RenderViewHostImpl::OnFrameTreeUpdated(const std::string& frame_tree) { |
delegate_->DidUpdateFrameTree(this); |
} |
+void RenderViewHostImpl::OnUpdateFrameName(int frame_id, |
+ bool is_top_level, |
+ const std::string& name) { |
+ delegate_->DidUpdateFrameName(this, frame_id, is_top_level, name); |
+} |
+ |
+ |
+ |
void RenderViewHostImpl::OnGetWindowSnapshot(const int snapshot_id) { |
std::vector<unsigned char> png; |