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 484e1fc587e6340e2690e10f24cae8ece87df5dc..90691a07aeeb02d2c1df695facca56b8a855ca57 100644 |
--- a/content/browser/renderer_host/render_view_host_impl.cc |
+++ b/content/browser/renderer_host/render_view_host_impl.cc |
@@ -994,6 +994,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)) |
@@ -1742,6 +1743,10 @@ void RenderViewHostImpl::SetAltErrorPageURL(const GURL& url) { |
Send(new ViewMsg_SetAltErrorPageURL(GetRoutingID(), url)); |
} |
+void RenderViewHostImpl::SetWindowName(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 |
@@ -2014,6 +2019,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; |