Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(469)

Unified Diff: content/browser/web_contents/web_contents_impl.h

Issue 11361052: Browser Plugin: Implement autosize (Embedder-side code) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: BrowserPluginHostMsg_AutoSize_Params had an int instead of bool for enable: fixed Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
« no previous file with comments | « content/browser/browser_plugin/test_browser_plugin_guest.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698