| Index: chrome/browser/renderer_host/render_view_host.cc
|
| diff --git a/chrome/browser/renderer_host/render_view_host.cc b/chrome/browser/renderer_host/render_view_host.cc
|
| index 51a0e299a08fc3cda7662326374832d566642365..5c187395e0beda85fa4fb28468bb2ec8feff224c 100644
|
| --- a/chrome/browser/renderer_host/render_view_host.cc
|
| +++ b/chrome/browser/renderer_host/render_view_host.cc
|
| @@ -712,6 +712,8 @@ void RenderViewHost::OnMessageReceived(const IPC::Message& msg) {
|
| IPC_BEGIN_MESSAGE_MAP_EX(RenderViewHost, msg, msg_is_ok)
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_ShowView, OnMsgShowView)
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_ShowWidget, OnMsgShowWidget)
|
| + IPC_MESSAGE_HANDLER(ViewHostMsg_ShowFullscreenWidget,
|
| + OnMsgShowFullscreenWidget)
|
| IPC_MESSAGE_HANDLER_DELAY_REPLY(ViewHostMsg_RunModal, OnMsgRunModal)
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_RenderViewReady, OnMsgRenderViewReady)
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_RenderViewGone, OnMsgRenderViewGone)
|
| @@ -894,6 +896,13 @@ void RenderViewHost::CreateNewWidget(int route_id,
|
| view->CreateNewWidget(route_id, popup_type);
|
| }
|
|
|
| +void RenderViewHost::CreateNewFullscreenWidget(
|
| + int route_id, WebKit::WebPopupType popup_type) {
|
| + RenderViewHostDelegate::View* view = delegate_->GetViewDelegate();
|
| + if (view)
|
| + view->CreateNewFullscreenWidget(route_id, popup_type);
|
| +}
|
| +
|
| void RenderViewHost::OnMsgShowView(int route_id,
|
| WindowOpenDisposition disposition,
|
| const gfx::Rect& initial_pos,
|
| @@ -914,6 +923,14 @@ void RenderViewHost::OnMsgShowWidget(int route_id,
|
| }
|
| }
|
|
|
| +void RenderViewHost::OnMsgShowFullscreenWidget(int route_id) {
|
| + RenderViewHostDelegate::View* view = delegate_->GetViewDelegate();
|
| + if (view) {
|
| + view->ShowCreatedFullscreenWidget(route_id);
|
| + Send(new ViewMsg_Move_ACK(route_id));
|
| + }
|
| +}
|
| +
|
| void RenderViewHost::OnMsgRunModal(IPC::Message* reply_msg) {
|
| DCHECK(!run_modal_reply_msg_);
|
| run_modal_reply_msg_ = reply_msg;
|
|
|