| 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 595bdc10043e58d74b1db9de274e590c2316490e..d8cf4a2a046f481d85e2d58e114ef037433ee508 100644
|
| --- a/content/browser/web_contents/web_contents_impl.cc
|
| +++ b/content/browser/web_contents/web_contents_impl.cc
|
| @@ -554,6 +554,7 @@ bool WebContentsImpl::OnMessageReceived(RenderViewHost* render_view_host,
|
| OnHideValidationMessage)
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_MoveValidationMessage,
|
| OnMoveValidationMessage)
|
| + IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateFrameName, OnUpdateFrameName)
|
| #if defined(OS_ANDROID)
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_FindMatchRects_Reply,
|
| OnFindMatchRectsReply)
|
| @@ -633,6 +634,10 @@ RenderFrameHost* WebContentsImpl::GetMainFrame() {
|
| return frame_tree_.root()->current_frame_host();
|
| }
|
|
|
| +void WebContentsImpl::SetMainFrameName(const std::string& name) {
|
| + Send(new ViewMsg_SetName(GetRoutingID(), name));
|
| +}
|
| +
|
| RenderFrameHost* WebContentsImpl::GetFocusedFrame() {
|
| if (!frame_tree_.GetFocusedFrame())
|
| return NULL;
|
| @@ -1675,6 +1680,13 @@ void WebContentsImpl::OnMoveValidationMessage(
|
| delegate_->MoveValidationMessage(this, anchor_in_root_view);
|
| }
|
|
|
| +void WebContentsImpl::OnUpdateFrameName(int render_frame_id,
|
| + bool is_top_level,
|
| + const std::string& name) {
|
| + if (delegate_)
|
| + delegate_->FrameNameChanged(render_frame_id, is_top_level, name);
|
| +}
|
| +
|
| void WebContentsImpl::DidSendScreenRects(RenderWidgetHostImpl* rwh) {
|
| if (browser_plugin_embedder_)
|
| browser_plugin_embedder_->DidSendScreenRects();
|
|
|