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

Issue 1314643002: Plugins: Remove Shadow DOM Plugin Placeholder (Closed)

Created:
5 years, 4 months ago by tommycli
Modified:
5 years, 3 months ago
Reviewers:
kinuko, jbroman, sky
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Plugins: Remove Shadow DOM Plugin Placeholder It's not under active development and doesn't support Plugin Power Saver. It's overall a good approach, but unfortunately Shadow DOM doesn't have a good mechanism to call into C++ at present. Plugins themselves will (hopefully) be obsolete by the time it does. BUG=524115 Committed: https://crrev.com/0c85f0c129bd64e6f3e5aabb659621d8cf65c690 Cr-Commit-Position: refs/heads/master@{#345496}

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Patch Set 3 : remove more stuff #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -275 lines) Patch
M chrome/browser/chrome_content_browser_client.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/chrome_restart_request.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/chrome_renderer.gypi View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/chrome_switches.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.h View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 1 2 3 chunks +0 lines, -11 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client_browsertest.cc View 2 chunks +0 lines, -102 lines 0 comments Download
D chrome/renderer/plugins/shadow_dom_plugin_placeholder.h View 1 chunk +0 lines, -39 lines 0 comments Download
D chrome/renderer/plugins/shadow_dom_plugin_placeholder.cc View 1 chunk +0 lines, -73 lines 0 comments Download
M components/html_viewer/blink_resource_constants.h View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M content/child/blink_platform_impl.cc View 1 2 3 1 chunk +0 lines, -3 lines 0 comments Download
M content/public/renderer/content_renderer_client.h View 1 2 2 chunks +0 lines, -9 lines 0 comments Download
M content/public/renderer/content_renderer_client.cc View 1 2 2 chunks +0 lines, -9 lines 0 comments Download
M content/renderer/render_frame_impl.h View 1 1 chunk +0 lines, -3 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 2 chunks +0 lines, -11 lines 0 comments Download

Messages

Total messages: 33 (11 generated)
tommycli
jbroman: PTAL, let me know if i missed anything in removal
5 years, 4 months ago (2015-08-24 18:13:38 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1314643002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1314643002/1
5 years, 4 months ago (2015-08-24 18:14:06 UTC) #4
jbroman
Also RenderFrameImpl::createPluginPlaceholder can go away. Otherwise I think that's it for Chromium-side code. https://codereview.chromium.org/1314643002/diff/1/chrome/renderer/chrome_content_renderer_client.h File ...
5 years, 4 months ago (2015-08-24 18:24:14 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-generic_chromium_compile_only_ng/builds/23681) chromeos_daisy_chromium_compile_only_ng on ...
5 years, 4 months ago (2015-08-24 18:32:25 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1314643002/10010 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1314643002/10010
5 years, 4 months ago (2015-08-24 18:39:23 UTC) #9
tommycli
jbroman: thanks! https://codereview.chromium.org/1314643002/diff/1/chrome/renderer/chrome_content_renderer_client.h File chrome/renderer/chrome_content_renderer_client.h (left): https://codereview.chromium.org/1314643002/diff/1/chrome/renderer/chrome_content_renderer_client.h#oldcode92 chrome/renderer/chrome_content_renderer_client.h:92: scoped_ptr<blink::WebPluginPlaceholder> CreatePluginPlaceholder( On 2015/08/24 18:24:14, jbroman wrote: ...
5 years, 4 months ago (2015-08-24 20:00:06 UTC) #10
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 4 months ago (2015-08-24 20:34:56 UTC) #12
tommycli
jbroman: ptal, thanks, this is the chromium-side patch.
5 years, 3 months ago (2015-08-25 16:45:23 UTC) #14
jbroman
lgtm
5 years, 3 months ago (2015-08-25 16:53:19 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1314643002/70001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1314643002/70001
5 years, 3 months ago (2015-08-25 17:08:18 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/92492)
5 years, 3 months ago (2015-08-25 17:19:11 UTC) #20
jbroman
On 2015/08/25 at 17:19:11, commit-bot wrote: > Try jobs failed on following builders: > chromium_presubmit ...
5 years, 3 months ago (2015-08-25 17:21:03 UTC) #21
tommycli
sky: PTAL chrome & components review please kinuko: PTAL content review please thanks! This is ...
5 years, 3 months ago (2015-08-25 17:21:35 UTC) #23
tommycli
On 2015/08/25 17:21:03, jbroman wrote: > On 2015/08/25 at 17:19:11, commit-bot wrote: > > Try ...
5 years, 3 months ago (2015-08-25 17:22:09 UTC) #24
sky
LGTM
5 years, 3 months ago (2015-08-25 21:06:14 UTC) #25
kinuko
lgtm
5 years, 3 months ago (2015-08-25 23:55:49 UTC) #26
tommycli
all: thank you!
5 years, 3 months ago (2015-08-26 00:08:03 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1314643002/70001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1314643002/70001
5 years, 3 months ago (2015-08-26 00:08:13 UTC) #29
commit-bot: I haz the power
Committed patchset #4 (id:70001)
5 years, 3 months ago (2015-08-26 00:14:28 UTC) #30
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/0c85f0c129bd64e6f3e5aabb659621d8cf65c690 Cr-Commit-Position: refs/heads/master@{#345496}
5 years, 3 months ago (2015-08-26 00:15:06 UTC) #31
dstockwell
A revert of this CL (patchset #4 id:70001) has been created in https://codereview.chromium.org/1319543004/ by dstockwell@chromium.org. ...
5 years, 3 months ago (2015-08-26 01:34:48 UTC) #32
jbroman
5 years, 3 months ago (2015-08-26 14:12:18 UTC) #33
Message was sent while issue was closed.
On 2015/08/26 at 01:34:48, dstockwell wrote:
> A revert of this CL (patchset #4 id:70001) has been created in
https://codereview.chromium.org/1319543004/ by dstockwell@chromium.org.
> 
> The reason for reverting is: Caused several blink layout and unit tests to
fail:
https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Linux/builds/5...
> 
> unit tests failures:
> PluginPlaceholderImplTest.MessageIsShown
> PluginPlaceholderImplTest.NotCloseable
> PluginPlaceholderImplTest.MessageDoesNotRunScripts
> FrameLoaderClientImplTest.CreatePluginPlaceholderForwardsToWebFrameClient
> PluginPlaceholderImplTest.MessageDoesNotAcceptElements
> PluginPlaceholderImplTest.Closeable
> 
> layout test unexpected_failures:
> fast/plugins/plugin-placeholder-structured.html
> fast/plugins/plugin-placeholder-close.html
> fast/dom/shadow/remove-shadowroot-from-document-and-destroy-crash.html
> fast/plugins/plugin-placeholder-inherit.html
> fast/plugins/plugin-placeholder-csp.html
> fast/plugins/plugin-placeholder-focus.html.

Whoops; looks like you might have to remove the plugin placeholder tests in
Blink first. Unfortunately,
remove-shadowroot-from-document-and-destroy-crash.html looks like it may have to
be rewritten to not use shadow DOM plugin placeholders as its test case (it
seems to have been added by someone else).

Powered by Google App Engine
This is Rietveld 408576698