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

Issue 1161923004: Reland: Plugin Placeholders: Refactor for platforms that don't support plugins (Closed)

Created:
5 years, 6 months ago by tommycli
Modified:
5 years, 6 months ago
CC:
chromium-reviews, Lei Zhang
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland: Plugin Placeholders: Refactor for platforms that don't support plugins This patch removes a lot of plugin placeholder code from builds that don't support plugins (enable_plugins==0). This is a reland of https://codereview.chromium.org/1126073003/. See patchsets for fixes of the crashes. BUG=493889 TBR= Committed: https://crrev.com/425d6965196e7448a2ba9180a3fd2f5b08f5b329 Cr-Commit-Position: refs/heads/master@{#334054}

Patch Set 1 : This was the version that was reverted. #

Patch Set 2 : fix gin issues #

Patch Set 3 : merge and fix resulting issues #

Patch Set 4 : One more fix necessary to support T subclasses. #

Patch Set 5 : Update unit tests. #

Patch Set 6 : Merge to solve patch conflicts again... #

Total comments: 3

Patch Set 7 : Add base class method call to unittest- #

Patch Set 8 : merge origin/master changes #

Patch Set 9 : A versio that removes gin Wrappable subclassing #

Total comments: 2

Patch Set 10 : merge origin/master #

Patch Set 11 : remove some enable_plugins that are no longer needed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+455 lines, -479 lines) Patch
M chrome/chrome_renderer.gypi View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 1 2 3 4 5 6 7 8 9 16 chunks +55 lines, -55 lines 0 comments Download
M chrome/renderer/plugins/chrome_plugin_placeholder.h View 1 2 3 4 5 6 7 8 3 chunks +9 lines, -10 lines 0 comments Download
M chrome/renderer/plugins/chrome_plugin_placeholder.cc View 1 2 3 4 5 6 7 8 10 chunks +24 lines, -47 lines 0 comments Download
A chrome/renderer/plugins/non_loadable_plugin_placeholder.h View 1 chunk +43 lines, -0 lines 0 comments Download
A chrome/renderer/plugins/non_loadable_plugin_placeholder.cc View 1 chunk +60 lines, -0 lines 0 comments Download
M chrome/renderer/plugins/plugin_preroller.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/renderer/resources/blocked_plugin.html View 3 chunks +7 lines, -4 lines 0 comments Download
M components/plugins.gypi View 1 chunk +7 lines, -2 lines 0 comments Download
M components/plugins/renderer/BUILD.gn View 1 chunk +8 lines, -2 lines 0 comments Download
M components/plugins/renderer/loadable_plugin_placeholder.h View 1 2 3 4 5 6 7 8 9 10 5 chunks +7 lines, -27 lines 0 comments Download
M components/plugins/renderer/loadable_plugin_placeholder.cc View 1 2 3 4 5 6 7 8 9 10 14 chunks +12 lines, -117 lines 0 comments Download
M components/plugins/renderer/mobile_youtube_plugin.h View 1 2 3 4 5 6 7 8 2 chunks +8 lines, -6 lines 0 comments Download
M components/plugins/renderer/mobile_youtube_plugin.cc View 1 2 3 4 5 6 7 8 9 3 chunks +13 lines, -21 lines 0 comments Download
M components/plugins/renderer/plugin_placeholder.h View 1 2 3 4 5 6 7 8 3 chunks +45 lines, -15 lines 0 comments Download
M components/plugins/renderer/plugin_placeholder.cc View 1 2 3 4 5 6 7 8 2 chunks +104 lines, -16 lines 0 comments Download
M components/plugins/renderer/webview_plugin.h View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -4 lines 0 comments Download
M components/plugins/renderer/webview_plugin.cc View 1 2 3 4 5 6 7 8 9 3 chunks +15 lines, -2 lines 0 comments Download
M content/content_shell.gypi View 1 2 3 4 5 6 7 1 chunk +0 lines, -2 lines 0 comments Download
M content/shell/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +0 lines, -2 lines 0 comments Download
M content/shell/renderer/layout_test/blink_test_runner.cc View 1 2 3 4 5 6 7 3 chunks +8 lines, -5 lines 0 comments Download
D content/shell/renderer/layout_test/test_plugin_placeholder.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -23 lines 0 comments Download
D content/shell/renderer/layout_test/test_plugin_placeholder.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -35 lines 0 comments Download
M gin/wrappable.h View 1 2 3 4 5 6 7 8 4 chunks +15 lines, -13 lines 0 comments Download
M gin/wrappable.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M gin/wrappable_unittest.cc View 1 2 3 4 5 6 7 8 5 chunks +5 lines, -67 lines 0 comments Download

Messages

Total messages: 83 (41 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1161923004/20001
5 years, 6 months ago (2015-05-29 20:28:02 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/69776)
5 years, 6 months ago (2015-05-29 22:06:02 UTC) #4
tommycli
bauerb, jochen: This patch is ready for a re-review. Patchset #1 is the already-approved version ...
5 years, 6 months ago (2015-06-01 23:11:57 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1161923004/150001
5 years, 6 months ago (2015-06-01 23:34:20 UTC) #16
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/70416)
5 years, 6 months ago (2015-06-02 01:04:39 UTC) #18
Bernhard Bauer
LGTM!
5 years, 6 months ago (2015-06-02 04:02:13 UTC) #19
jochen (gone - plz use gerrit)
lgtm
5 years, 6 months ago (2015-06-02 16:17:13 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1161923004/170001
5 years, 6 months ago (2015-06-02 18:53:52 UTC) #23
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_dbg/builds/77114) android_chromium_gn_compile_rel on ...
5 years, 6 months ago (2015-06-02 19:24:33 UTC) #25
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1161923004/190001
5 years, 6 months ago (2015-06-02 21:02:35 UTC) #28
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_rel/builds/93883) linux_chromium_compile_dbg_32_ng on ...
5 years, 6 months ago (2015-06-02 21:13:30 UTC) #30
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1161923004/210001
5 years, 6 months ago (2015-06-02 21:24:13 UTC) #33
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_compile_dbg on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_compile_dbg/builds/22081)
5 years, 6 months ago (2015-06-02 21:58:14 UTC) #35
tommycli
jochen: PTAL. I apologize, but this probably needs another look. There were some other subtleties ...
5 years, 6 months ago (2015-06-02 22:01:24 UTC) #36
tommycli
thestig: FYI, will probably reland this soon. I haven't made any substantive chrome/ changes.
5 years, 6 months ago (2015-06-02 22:02:23 UTC) #37
tommycli
On 2015/06/02 22:02:23, tommycli wrote: > thestig: FYI, will probably reland this soon. I haven't ...
5 years, 6 months ago (2015-06-03 23:23:17 UTC) #38
tommycli
On 2015/06/03 23:23:17, tommycli wrote: > On 2015/06/02 22:02:23, tommycli wrote: > > thestig: FYI, ...
5 years, 6 months ago (2015-06-04 23:30:52 UTC) #39
jochen (gone - plz use gerrit)
hum, so the thing is, we can only store one this pointer per object this ...
5 years, 6 months ago (2015-06-08 09:28:29 UTC) #40
jochen (gone - plz use gerrit)
+chrishtr who's hacking on the test plugin placeholder
5 years, 6 months ago (2015-06-08 09:38:38 UTC) #42
tommycli
On 2015/06/08 09:28:29, jochen wrote: > hum, so the thing is, we can only store ...
5 years, 6 months ago (2015-06-08 17:36:51 UTC) #43
jochen (gone - plz use gerrit)
On 2015/06/08 at 17:36:51, tommycli wrote: > On 2015/06/08 09:28:29, jochen wrote: > > hum, ...
5 years, 6 months ago (2015-06-09 07:53:41 UTC) #44
tommycli
On 2015/06/09 07:53:41, jochen wrote: > On 2015/06/08 at 17:36:51, tommycli wrote: > > On ...
5 years, 6 months ago (2015-06-09 18:40:42 UTC) #45
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1161923004/230001
5 years, 6 months ago (2015-06-09 18:41:17 UTC) #48
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/61126) ios_dbg_simulator_ninja on ...
5 years, 6 months ago (2015-06-09 18:46:41 UTC) #50
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1161923004/250001
5 years, 6 months ago (2015-06-09 19:12:18 UTC) #53
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/31734)
5 years, 6 months ago (2015-06-09 19:42:56 UTC) #55
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1161923004/270001
5 years, 6 months ago (2015-06-09 23:40:41 UTC) #58
tommycli
Jochen: I made a new version based on your suggestions (Patchset 9) that removes the ...
5 years, 6 months ago (2015-06-10 00:13:03 UTC) #59
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 6 months ago (2015-06-10 01:44:05 UTC) #61
jochen (gone - plz use gerrit)
lgtm
5 years, 6 months ago (2015-06-11 12:46:35 UTC) #62
tommycli
chrishtr: Any objections to the removal of the TestPluginPlaceholder in favor of the plain PluginPlaceholder? ...
5 years, 6 months ago (2015-06-11 17:33:25 UTC) #64
tommycli
On 2015/06/11 12:46:35, jochen wrote: > lgtm jochen: thank you! I realize we've gone back ...
5 years, 6 months ago (2015-06-11 17:33:52 UTC) #65
Bernhard Bauer
LGTM BTW (and sorry, I just realized this now, thinking about the problem a bit ...
5 years, 6 months ago (2015-06-11 17:43:02 UTC) #66
tommycli
bauerb: Thanks. Yes what you suggested could let us avoid this gin weirdness. I will ...
5 years, 6 months ago (2015-06-11 17:46:45 UTC) #67
chrishtr
On 2015/06/11 at 17:33:25, tommycli wrote: > chrishtr: Any objections to the removal of the ...
5 years, 6 months ago (2015-06-11 20:13:56 UTC) #68
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1161923004/270001
5 years, 6 months ago (2015-06-11 20:23:15 UTC) #70
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/62193) ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 6 months ago (2015-06-11 20:29:11 UTC) #72
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1161923004/330001
5 years, 6 months ago (2015-06-11 20:36:22 UTC) #77
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 6 months ago (2015-06-11 22:08:22 UTC) #79
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1161923004/330001
5 years, 6 months ago (2015-06-11 22:11:05 UTC) #81
commit-bot: I haz the power
Committed patchset #11 (id:330001)
5 years, 6 months ago (2015-06-11 22:20:22 UTC) #82
commit-bot: I haz the power
5 years, 6 months ago (2015-06-11 22:21:48 UTC) #83
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/425d6965196e7448a2ba9180a3fd2f5b08f5b329
Cr-Commit-Position: refs/heads/master@{#334054}

Powered by Google App Engine
This is Rietveld 408576698