| 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 3d3dfaedca59c5d16c8b2e0edb37ac36cf6452b3..c4bb81bd89f424e150f7d490c74d6878cc253710 100644
|
| --- a/content/browser/web_contents/web_contents_impl.cc
|
| +++ b/content/browser/web_contents/web_contents_impl.cc
|
| @@ -394,11 +394,11 @@ WebContentsImpl* WebContentsImpl::CreateWithOpener(
|
| return new_contents;
|
| }
|
|
|
| -WebContentsImpl* WebContentsImpl::CreateGuest(BrowserContext* browser_context,
|
| - const std::string& host_url,
|
| - int guest_instance_id,
|
| - bool focused,
|
| - bool visible) {
|
| +WebContentsImpl* WebContentsImpl::CreateGuest(
|
| + BrowserContext* browser_context,
|
| + const std::string& host_url,
|
| + int guest_instance_id,
|
| + const BrowserPluginHostMsg_CreateGuest_Params& params) {
|
| // The SiteInstance of a given guest is based on the fact that it's a guest
|
| // in addition to which platform application the guest belongs to, rather
|
| // than the URL that the guest is being navigated to.
|
| @@ -421,8 +421,7 @@ WebContentsImpl* WebContentsImpl::CreateGuest(BrowserContext* browser_context,
|
| guest_instance_id,
|
| new_contents_impl,
|
| new_contents_impl->GetRenderViewHost(),
|
| - focused,
|
| - visible));
|
| + params));
|
| return new_contents;
|
| }
|
|
|
| @@ -2323,10 +2322,7 @@ void WebContentsImpl::OnPpapiBrokerPermissionResult(int request_id,
|
|
|
| void WebContentsImpl::OnBrowserPluginCreateGuest(
|
| int instance_id,
|
| - const std::string& storage_partition_id,
|
| - bool persist_storage,
|
| - bool focused,
|
| - bool visible) {
|
| + const BrowserPluginHostMsg_CreateGuest_Params& params) {
|
| // This creates a BrowserPluginEmbedder, which handles all the BrowserPlugin
|
| // specific messages for this WebContents (through its
|
| // BrowserPluginEmbedderHelper). This means that any message from browser
|
| @@ -2344,10 +2340,7 @@ void WebContentsImpl::OnBrowserPluginCreateGuest(
|
| BrowserPluginEmbedder::Create(this, GetRenderViewHost()));
|
| browser_plugin_embedder_->CreateGuest(GetRenderViewHost(),
|
| instance_id,
|
| - storage_partition_id,
|
| - persist_storage,
|
| - focused,
|
| - visible);
|
| + params);
|
| }
|
|
|
| // Notifies the RenderWidgetHost instance about the fact that the page is
|
|
|