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

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

Issue 10965048: [BrowserTag] Send dib info with NavigateGuest message, (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Mac fix renderer side content_browsertests; use mocked versions of transport dib for tests + clean … Created 8 years, 3 months 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.cc
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
index c4ab6f55571a9887c3a706fbf59f6b5ec46ca05d..ef061c94b3208cb96ab77aa66a73785ebe9605e5 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -2368,9 +2368,10 @@ void WebContentsImpl::OnPpapiBrokerPermissionResult(int request_id,
result));
}
-void WebContentsImpl::OnBrowserPluginNavigateGuest(int instance_id,
- const std::string& src,
- const gfx::Size& size) {
+void WebContentsImpl::OnBrowserPluginNavigateGuest(
+ int instance_id,
+ const std::string& src,
+ const BrowserPluginHostMsg_ResizeGuest_Params& resize_params) {
// This is the first 'navigate' to a browser plugin, before WebContents has/is
// an 'Embedder'; subsequent navigate messages for this WebContents will
// be handled by the BrowserPluginEmbedderHelper of the embedder itself (this
@@ -2386,7 +2387,7 @@ void WebContentsImpl::OnBrowserPluginNavigateGuest(int instance_id,
browser_plugin_embedder_->NavigateGuest(GetRenderViewHost(),
instance_id,
src,
- size);
+ resize_params);
}
// Notifies the RenderWidgetHost instance about the fact that the page is

Powered by Google App Engine
This is Rietveld 408576698