Chromium Code Reviews
DescriptionImplement 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
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=126598
Patch Set 1 #
Total comments: 28
Patch Set 2 : Updated according to comments by jam #
Total comments: 1
Patch Set 3 : Moved browser plugin constants to separate file #Patch Set 4 : Forgot to upload new files #Patch Set 5 : Updated location of browser plugin constants to browser plugin directory #Patch Set 6 : Use StaticAtomicSequenceNumber instead of AtomicSequenceNumber #Patch Set 7 : Possibly fixed merge issue #Messages
Total messages: 17 (0 generated)
|