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

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: Address comments from Fady + remove commented code. 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 fe9c088a2e5d747434060cd4eff967b3da6f1fa0..1bc546e33f9f6ba5cbcfa2f3bfad66476e67ce17 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -2343,10 +2343,11 @@ void WebContentsImpl::OnPpapiBrokerPermissionResult(int request_id,
result));
}
-void WebContentsImpl::OnBrowserPluginNavigateGuest(int instance_id,
- int64 frame_id,
- const std::string& src,
- const gfx::Size& size) {
+void WebContentsImpl::OnBrowserPluginNavigateGuest(
+ int instance_id,
+ int64 frame_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
@@ -2363,7 +2364,7 @@ void WebContentsImpl::OnBrowserPluginNavigateGuest(int instance_id,
instance_id,
frame_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