diff options
author | fsamuel@chromium.org <fsamuel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-14 06:42:53 +0000 |
---|---|---|
committer | fsamuel@chromium.org <fsamuel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-14 06:42:53 +0000 |
commit | 0361b94c5041bd426dfaabce29d780129650a80e (patch) | |
tree | 35595d1ab73563498603fa5f248e568f126343bc /content/content_renderer.gypi | |
parent | b67eb31f6b3a80d6f3e635608d4574e31c475d6e (diff) | |
download | chromium_src-0361b94c5041bd426dfaabce29d780129650a80e.zip chromium_src-0361b94c5041bd426dfaabce29d780129650a80e.tar.gz chromium_src-0361b94c5041bd426dfaabce29d780129650a80e.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
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=126534
Review URL: http://codereview.chromium.org/9668031
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126598 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/content_renderer.gypi')
-rw-r--r-- | content/content_renderer.gypi | 4 |
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', |