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

Unified Diff: content/browser/browser_plugin/browser_plugin_embedder_helper.cc

Issue 11361052: Browser Plugin: Implement autosize (Embedder-side code) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/browser_plugin/browser_plugin_embedder_helper.cc
diff --git a/content/browser/browser_plugin/browser_plugin_embedder_helper.cc b/content/browser/browser_plugin/browser_plugin_embedder_helper.cc
index aa6f680f15c90eda6b06d772763f34cc0ad29d3f..e59c8d52c19f90b8f1dc5c8897d563b921944973 100644
--- a/content/browser/browser_plugin/browser_plugin_embedder_helper.cc
+++ b/content/browser/browser_plugin/browser_plugin_embedder_helper.cc
@@ -106,19 +106,11 @@ void BrowserPluginEmbedderHelper::OnHandleInputEvent(
void BrowserPluginEmbedderHelper::OnCreateGuest(
int instance_id,
- const std::string& storage_partition_id,
- bool persist_storage,
- bool focused,
- bool visible) {
+ const BrowserPluginHostMsg_CreateGuest_Params& params) {
// The first BrowserPluginHostMsg_CreateGuest message is handled in
// WebContentsImpl. All subsequent BrowserPluginHostMsg_CreateGuest
// messages are handled here.
- embedder_->CreateGuest(render_view_host(),
- instance_id,
- storage_partition_id,
- persist_storage,
- focused,
- visible);
+ embedder_->CreateGuest(render_view_host(), instance_id, params);
}
void BrowserPluginEmbedderHelper::OnNavigateGuest(

Powered by Google App Engine
This is Rietveld 408576698