| Index: content/browser/web_contents/web_contents_impl.h
|
| diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h
|
| index 9937e7eb27815cb17d56852f5ef3b72f38ad8abf..d2fc73d3f99ffff72e85459f9002d60f636cd254 100644
|
| --- a/content/browser/web_contents/web_contents_impl.h
|
| +++ b/content/browser/web_contents/web_contents_impl.h
|
| @@ -32,6 +32,7 @@
|
| #include "base/win/scoped_handle.h"
|
| #endif
|
|
|
| +struct BrowserPluginHostMsg_CreateGuest_Params;
|
| struct BrowserPluginHostMsg_ResizeGuest_Params;
|
| struct ViewMsg_PostMessage_Params;
|
|
|
| @@ -92,11 +93,11 @@ class CONTENT_EXPORT WebContentsImpl
|
| WebContentsImpl* opener);
|
|
|
| // Creates a WebContents to be used as a browser plugin guest.
|
| - static WebContentsImpl* CreateGuest(BrowserContext* browser_context,
|
| - const std::string& host,
|
| - int guest_instance_id,
|
| - bool focused,
|
| - bool visible);
|
| + static WebContentsImpl* CreateGuest(
|
| + BrowserContext* browser_context,
|
| + const std::string& host,
|
| + int guest_instance_id,
|
| + const BrowserPluginHostMsg_CreateGuest_Params& params);
|
|
|
| // Returns the content specific prefs for the given RVH.
|
| static webkit_glue::WebPreferences GetWebkitPrefs(
|
| @@ -563,11 +564,9 @@ class CONTENT_EXPORT WebContentsImpl
|
| void OnRequestPpapiBrokerPermission(int request_id,
|
| const GURL& url,
|
| const FilePath& plugin_path);
|
| - void OnBrowserPluginCreateGuest(int instance_id,
|
| - const std::string& storage_partition_id,
|
| - bool persist_storage,
|
| - bool focused,
|
| - bool visible);
|
| + void OnBrowserPluginCreateGuest(
|
| + int instance_id,
|
| + const BrowserPluginHostMsg_CreateGuest_Params& params);
|
|
|
| // Changes the IsLoading state and notifies delegate as needed
|
| // |details| is used to provide details on the load that just finished
|
|
|