| 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 a435f46750c0e8c44203ba673f6ef372bce02a86..6f7e2922413e5f38a0b2a3d65461721c061ecf06 100644
|
| --- a/content/browser/renderer_host/render_view_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_view_host_impl.cc
|
| @@ -133,6 +133,7 @@ RenderViewHostImpl::RenderViewHostImpl(SiteInstance* instance,
|
| instance_(static_cast<SiteInstanceImpl*>(instance)),
|
| waiting_for_drag_context_response_(false),
|
| enabled_bindings_(0),
|
| + hosts_guest_(false),
|
| pending_request_id_(-1),
|
| navigations_suspended_(false),
|
| suspended_nav_message_(NULL),
|
| @@ -241,7 +242,7 @@ bool RenderViewHostImpl::CreateRenderView(const string16& frame_name,
|
| WebKit::WebScreenInfoFactory::screenInfo(
|
| gfx::NativeViewFromId(GetNativeViewId()));
|
| #endif
|
| -
|
| + params.guest = hosts_guest_;
|
| Send(new ViewMsg_New(params));
|
|
|
| // If it's enabled, tell the renderer to set up the Javascript bindings for
|
| @@ -1455,6 +1456,10 @@ void RenderViewHostImpl::SetAltErrorPageURL(const GURL& url) {
|
| Send(new ViewMsg_SetAltErrorPageURL(GetRoutingID(), url));
|
| }
|
|
|
| +void RenderViewHostImpl::SetHostsGuest(bool hosts_guest) {
|
| + hosts_guest_ = hosts_guest;
|
| +}
|
| +
|
| void RenderViewHostImpl::ExitFullscreen() {
|
| RejectMouseLockOrUnlockIfNecessary();
|
| }
|
|
|