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

Issue 23591016: BrowserPlugin/WebView - Move plugin lifetime to DOM (Chromium-side) (Closed)

Created:
7 years, 3 months ago by wjmaclean
Modified:
6 years, 3 months ago
CC:
chromium-reviews, lazyboy, eseidel
Visibility:
Public.

Description

BrowserPlugin/WebView - Move plugin lifetime to DOM (Chromium-side) This CL provides the Chromium-side support to https://codereview.chromium.org/23618022/. It adds the plumbing required for a BrowserPlugin to request early-creation and persistence, and provides basic tests for this functionality. BUG=156219

Patch Set 1 : Basic approach. #

Patch Set 2 : Cleaned up, added tests. #

Total comments: 4

Patch Set 3 : Addressed comments. #

Patch Set 4 : Rebase CL. #

Total comments: 1

Patch Set 5 : Browser plugin clears compositing state on container detach from parent. #

Patch Set 6 : Rebased to r261751 #

Patch Set 7 : Update BrowserPlugin tests to reflect new behaviour. #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+137 lines, -29 lines) Patch
M content/browser/browser_plugin/browser_plugin_host_browsertest.cc View 1 2 3 4 5 6 1 chunk +82 lines, -0 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin.h View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin.cc View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin_browsertest.cc View 1 2 3 4 5 6 3 chunks +9 lines, -5 lines 0 comments Download
M content/renderer/render_frame_impl.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 1 chunk +7 lines, -0 lines 3 comments Download
A + content/test/data/browser_plugin_embedder_late_attach.html View 1 3 chunks +28 lines, -24 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
wjmaclean
I've cleaned this up and added some tests ... can you please take a look?
7 years, 2 months ago (2013-10-07 19:19:23 UTC) #1
Fady Samuel
https://codereview.chromium.org/23591016/diff/5001/chrome/renderer/resources/extensions/web_view.js File chrome/renderer/resources/extensions/web_view.js (right): https://codereview.chromium.org/23591016/diff/5001/chrome/renderer/resources/extensions/web_view.js#newcode151 chrome/renderer/resources/extensions/web_view.js:151: this.browserPluginNode_.setAttribute('type', 'application/browser-plugin'); Is this change necessary? <webview> seems to ...
7 years, 2 months ago (2013-10-07 19:54:50 UTC) #2
wjmaclean
https://codereview.chromium.org/23591016/diff/5001/chrome/renderer/resources/extensions/web_view.js File chrome/renderer/resources/extensions/web_view.js (right): https://codereview.chromium.org/23591016/diff/5001/chrome/renderer/resources/extensions/web_view.js#newcode151 chrome/renderer/resources/extensions/web_view.js:151: this.browserPluginNode_.setAttribute('type', 'application/browser-plugin'); On 2013/10/07 19:54:50, Fady Samuel wrote: > ...
7 years, 2 months ago (2013-10-07 19:58:15 UTC) #3
wjmaclean
So it doesn't seem the change in where the src attribute was being set is ...
7 years, 2 months ago (2013-10-07 20:37:06 UTC) #4
Fady Samuel
I'm happy with this patch once Eric is happy with the Blink side change! I'm ...
7 years, 2 months ago (2013-10-07 21:19:40 UTC) #5
eseidel
Sorry I was slow on this. I need a bit more context here. could you ...
7 years, 2 months ago (2013-10-17 14:45:52 UTC) #6
wjmaclean
On 2013/10/17 14:45:52, eseidel wrote: > Sorry I was slow on this. I need a ...
7 years, 2 months ago (2013-10-23 14:44:36 UTC) #7
eseidel
https://codereview.chromium.org/23591016/diff/40001/content/test/data/browser_plugin_embedder_late_attach.html File content/test/data/browser_plugin_embedder_late_attach.html (right): https://codereview.chromium.org/23591016/diff/40001/content/test/data/browser_plugin_embedder_late_attach.html#newcode12 content/test/data/browser_plugin_embedder_late_attach.html:12: thePlugin.type = "application/browser-plugin"; That's quite the generic mimetype ya'll ...
7 years, 1 month ago (2013-11-18 22:11:07 UTC) #8
Fady Samuel
On 2013/11/18 22:11:07, eseidel wrote: > https://codereview.chromium.org/23591016/diff/40001/content/test/data/browser_plugin_embedder_late_attach.html > File content/test/data/browser_plugin_embedder_late_attach.html (right): > > https://codereview.chromium.org/23591016/diff/40001/content/test/data/browser_plugin_embedder_late_attach.html#newcode12 > ...
6 years, 8 months ago (2014-04-04 20:42:28 UTC) #9
Fady Samuel
browser_plugin lgtm
6 years, 8 months ago (2014-04-04 20:43:10 UTC) #10
wjmaclean
+creis@ for content/renderer ? (jamesr@ is not available ...)
6 years, 8 months ago (2014-04-08 17:03:02 UTC) #11
Charlie Reis
Rubber stamp LGTM for content/renderer/, since this just looks like a use for all the ...
6 years, 8 months ago (2014-04-08 18:51:47 UTC) #12
wjmaclean
https://codereview.chromium.org/23591016/diff/210001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/23591016/diff/210001/content/renderer/render_frame_impl.cc#newcode1252 content/renderer/render_frame_impl.cc:1252: bool RenderFrameImpl::canCreatePluginWithoutRenderer( On 2014/04/08 18:51:48, Charlie Reis wrote: > ...
6 years, 8 months ago (2014-04-09 16:50:02 UTC) #13
Charlie Reis
https://codereview.chromium.org/23591016/diff/210001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/23591016/diff/210001/content/renderer/render_frame_impl.cc#newcode1252 content/renderer/render_frame_impl.cc:1252: bool RenderFrameImpl::canCreatePluginWithoutRenderer( On 2014/04/09 16:50:03, wjmaclean wrote: > On ...
6 years, 8 months ago (2014-04-09 19:09:08 UTC) #14
wjmaclean
On 2014/04/09 19:09:08, Charlie Reis wrote: > https://codereview.chromium.org/23591016/diff/210001/content/renderer/render_frame_impl.cc > File content/renderer/render_frame_impl.cc (right): > > https://codereview.chromium.org/23591016/diff/210001/content/renderer/render_frame_impl.cc#newcode1252 ...
6 years, 8 months ago (2014-04-09 19:20:27 UTC) #15
eseidel
Looks like this stalled out. dcheng may be your best reviewer for this kind of ...
6 years, 6 months ago (2014-05-28 22:30:18 UTC) #16
wjmaclean
6 years, 6 months ago (2014-06-02 12:53:28 UTC) #17
On 2014/05/28 22:30:18, eseidel wrote:
> Looks like this stalled out.  dcheng may be your best reviewer for this kind
of
> blink/chromium integration code these days.

It's not currently block on lack of reviews. Rather, it's blocked on
crbug.com/363612, and I've been asked not to work on that for the time being;
I've been assigned other tasks.

Powered by Google App Engine
This is Rietveld 408576698