summaryrefslogtreecommitdiffstats
path: root/content/content_renderer.gypi
diff options
context:
space:
mode:
authorfsamuel@chromium.org <fsamuel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-14 01:54:13 +0000
committerfsamuel@chromium.org <fsamuel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-14 01:54:13 +0000
commit9316b353087554d6f8afdf75d4d68865cecebf0d (patch)
tree05e5c4128ec63dc9f72ae6c7fc665d00934bdc60 /content/content_renderer.gypi
parentece5d727e8045576d66a819a00460cf8145e0edd (diff)
downloadchromium_src-9316b353087554d6f8afdf75d4d68865cecebf0d.zip
chromium_src-9316b353087554d6f8afdf75d4d68865cecebf0d.tar.gz
chromium_src-9316b353087554d6f8afdf75d4d68865cecebf0d.tar.bz2
Implement BrowserPluginPlaceholder.
A browser plugin is a plugin container that hosts an out-of-process RenderView (guest). Loading up a new process, creating a new RenderView, navigating to a given URL, and establishing a guest-to-host channel can take hundreds of milliseconds. Furthermore, a RenderView's associated browser-side WebContents, RenderViewHost, and SiteInstance must be created and accessed on the UI thread thread on the browser. Thus, we must avoid blocking the host RenderView as well to avoid introducing the potential for a deadlock. To address the two issues above, we use a BrowserPluginPlaceholder (currently an empty WebViewPlugin wrapper) to take place of the guest renderer until the guest renderer is ready. BUG=117894 TEST=manually Review URL: http://codereview.chromium.org/9668031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126534 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/content_renderer.gypi')
-rw-r--r--content/content_renderer.gypi4
1 files changed, 4 insertions, 0 deletions
diff --git a/content/content_renderer.gypi b/content/content_renderer.gypi
index ec87f80..ca7fc6c 100644
--- a/content/content_renderer.gypi
+++ b/content/content_renderer.gypi
@@ -143,6 +143,10 @@
'renderer/pepper/pepper_proxy_channel_delegate_impl.h',
'renderer/plugin_channel_host.cc',
'renderer/plugin_channel_host.h',
+ 'renderer/browser_plugin/browser_plugin_constants.cc',
+ 'renderer/browser_plugin/browser_plugin_constants.h',
+ 'renderer/browser_plugin/browser_plugin_placeholder.cc',
+ 'renderer/browser_plugin/browser_plugin_placeholder.h',
'renderer/render_process.h',
'renderer/render_process_impl.cc',
'renderer/render_process_impl.h',