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

Issue 150034: linux: only create browser-side plugin container after plugin requests it (Closed)

Created:
11 years, 5 months ago by Evan Martin
Modified:
9 years, 7 months ago
Reviewers:
Antoine Labour, jam, agl
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

linux: only create browser-side plugin container after plugin requests it On Windows, windowed plugins are parented in a two-stage process: initially, the plugin is parented to the render view, then later it's reparented to a special per-plugin window. On Linux, plugin embedding always needs a special per-plugin window before it can be initialized. So there's no way to do the two-stage initialization process, and we only want to construct the browser-side plugin container for windowed plugins after the plugin requests it. Plumbing this through the WebPlugin interface will also allow us to side-route this request for window creation out to the browser process in the multi-process case. BUG=15421 TEST=plugins still work in test_shell

Patch Set 1 #

Total comments: 2

Patch Set 2 : fix for piman #

Patch Set 3 : fix chrome build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -10 lines) Patch
M chrome/plugin/webplugin_proxy.h View 1 chunk +5 lines, -0 lines 0 comments Download
M webkit/glue/plugins/webplugin_delegate_impl_gtk.cc View 1 chunk +4 lines, -6 lines 0 comments Download
M webkit/glue/webplugin.h View 1 chunk +7 lines, -0 lines 0 comments Download
M webkit/glue/webplugin_impl.h View 2 chunks +4 lines, -1 line 0 comments Download
M webkit/glue/webplugin_impl.cc View 1 chunk +9 lines, -0 lines 0 comments Download
M webkit/glue/webview_delegate.h View 1 chunk +4 lines, -0 lines 0 comments Download
M webkit/tools/test_shell/test_webview_delegate.h View 1 chunk +1 line, -0 lines 0 comments Download
M webkit/tools/test_shell/test_webview_delegate_gtk.cc View 1 3 chunks +10 lines, -3 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Evan Martin
piman: primary reviewer jam: maybe has insights agl: FYI
11 years, 5 months ago (2009-06-29 18:18:51 UTC) #1
Antoine Labour
One thing, but otherwise LGTM. http://codereview.chromium.org/150034/diff/1/8 File webkit/tools/test_shell/test_webview_delegate_gtk.cc (right): http://codereview.chromium.org/150034/diff/1/8#newcode95 Line 95: return WebPluginDelegateImpl::Create(info.path, mtype, ...
11 years, 5 months ago (2009-06-29 18:25:09 UTC) #2
Evan Martin
http://codereview.chromium.org/150034/diff/1/8 File webkit/tools/test_shell/test_webview_delegate_gtk.cc (right): http://codereview.chromium.org/150034/diff/1/8#newcode95 Line 95: return WebPluginDelegateImpl::Create(info.path, mtype, NULL); On 2009/06/29 18:25:09, Antoine ...
11 years, 5 months ago (2009-06-29 19:13:47 UTC) #3
Antoine Labour
lgtm
11 years, 5 months ago (2009-06-29 19:55:20 UTC) #4
Evan Martin
Had to make a change to webplugin_proxy.h for this to not break the Chrome compile, ...
11 years, 5 months ago (2009-06-29 20:41:15 UTC) #5
Antoine Labour
LGTM
11 years, 5 months ago (2009-06-29 20:51:25 UTC) #6
jam
11 years, 5 months ago (2009-06-30 19:20:11 UTC) #7
lgtm

Powered by Google App Engine
This is Rietveld 408576698