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

Unified Diff: content/browser/renderer_host/render_view_host_impl.cc

Issue 972313002: Make <webview> use out-of-process iframe architecture. (Closed) Base URL: ssh://saopaulo.wat/mnt/dev/shared/src@testoopif2z-better-chrome
Patch Set: rename changes Created 5 years, 7 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/renderer_host/render_view_host_impl.cc
diff --git a/content/browser/renderer_host/render_view_host_impl.cc b/content/browser/renderer_host/render_view_host_impl.cc
index a6f7a4567da0a113b7945b2b8058d651d49377af..aa8f77ebef64b6d7a757bc79681bfbb697a09b70 100644
--- a/content/browser/renderer_host/render_view_host_impl.cc
+++ b/content/browser/renderer_host/render_view_host_impl.cc
@@ -25,6 +25,7 @@
#include "base/values.h"
#include "cc/base/switches.h"
#include "content/browser/bad_message.h"
+#include "content/browser/browser_plugin/browser_plugin_guest.h"
#include "content/browser/child_process_security_policy_impl.h"
#include "content/browser/dom_storage/session_storage_namespace_impl.h"
#include "content/browser/frame_host/frame_tree.h"
@@ -325,6 +326,10 @@ bool RenderViewHostImpl::CreateRenderView(
params.enable_auto_resize = auto_resize_enabled();
params.min_size = min_size_for_auto_resize();
params.max_size = max_size_for_auto_resize();
+ params.is_inner_web_contents_in_site_per_process =
nasko 2015/05/22 16:32:27 Why not use this conditional and set the proxy_rou
Charlie Reis 2015/05/22 23:44:31 +1
lazyboy 2015/05/26 16:32:54 OK. Guess that's OK, we wanted to be explicit abou
+ base::CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kSitePerProcess) &&
+ BrowserPluginGuest::IsGuest(this);
GetResizeParams(&params.initial_size);
if (!is_active_) {
params.replicated_frame_state =

Powered by Google App Engine
This is Rietveld 408576698