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

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: Sync @tott, correct rebase, bring back two lost comments from previous rounds 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
« no previous file with comments | « content/browser/web_contents/web_contents_impl.h ('k') | content/common/browser_plugin_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 7d9b819b15d75392d4b96788d6d4d79e4f88a491..e6c8b6cdde374cd5ce922769f0341bed2bebc697 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
« no previous file with comments | « content/browser/web_contents/web_contents_impl.h ('k') | content/common/browser_plugin_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698