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

Issue 1124343002: Plugin Power Saver: Enable JS access to throttled plugins. (Closed)

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

Description

Plugin Power Saver: Enable JS access to throttled plugins. Currently, throttled plugins cannot be accessed via JS. Once the original plugin detaches from the WebPluginContainer and is replaced by the WebViewPlugin, the V8 scriptable object can no longer be accessed. This patch passes-through access to the underlying throttled plugin, if it exists. BUG=485327 Committed: https://crrev.com/0ec19711ba3ed3223abd0c3e8062bb35002658ae Cr-Commit-Position: refs/heads/master@{#328958}

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Total comments: 10

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -36 lines) Patch
M chrome/browser/plugins/plugin_power_saver_browsertest.cc View 1 2 7 chunks +30 lines, -28 lines 0 comments Download
M components/plugins/renderer/loadable_plugin_placeholder.h View 1 chunk +2 lines, -0 lines 0 comments Download
M components/plugins/renderer/loadable_plugin_placeholder.cc View 1 chunk +11 lines, -0 lines 0 comments Download
M components/plugins/renderer/plugin_placeholder.h View 1 chunk +2 lines, -0 lines 0 comments Download
M components/plugins/renderer/plugin_placeholder.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M components/plugins/renderer/webview_plugin.h View 1 2 chunks +5 lines, -4 lines 0 comments Download
M components/plugins/renderer/webview_plugin.cc View 1 chunk +5 lines, -4 lines 0 comments Download

Messages

Total messages: 29 (11 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/1124343002/1
5 years, 7 months ago (2015-05-06 22:12:40 UTC) #2
tommycli
bauerb: ptal, thanks!
5 years, 7 months ago (2015-05-06 22:14:47 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 7 months ago (2015-05-07 00:09:11 UTC) #6
Bernhard Bauer
LGTM https://codereview.chromium.org/1124343002/diff/1/components/plugins/renderer/webview_plugin.h File components/plugins/renderer/webview_plugin.h (right): https://codereview.chromium.org/1124343002/diff/1/components/plugins/renderer/webview_plugin.h#newcode52 components/plugins/renderer/webview_plugin.h:52: // Called to enable JavaScript pass-through to an ...
5 years, 7 months ago (2015-05-07 10:07:13 UTC) #7
tommycli
thestig: ptal chrome/browser/plugins/plugin_power_saver_browsertest.cc bauerb: thanks! https://codereview.chromium.org/1124343002/diff/1/components/plugins/renderer/webview_plugin.h File components/plugins/renderer/webview_plugin.h (right): https://codereview.chromium.org/1124343002/diff/1/components/plugins/renderer/webview_plugin.h#newcode52 components/plugins/renderer/webview_plugin.h:52: // Called to enable ...
5 years, 7 months ago (2015-05-07 17:23:00 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1124343002/20001
5 years, 7 months ago (2015-05-07 17:23:23 UTC) #12
Bernhard Bauer
https://codereview.chromium.org/1124343002/diff/20001/chrome/browser/plugins/plugin_power_saver_browsertest.cc File chrome/browser/plugins/plugin_power_saver_browsertest.cc (right): https://codereview.chromium.org/1124343002/diff/20001/chrome/browser/plugins/plugin_power_saver_browsertest.cc#newcode140 chrome/browser/plugins/plugin_power_saver_browsertest.cc:140: IN_PROC_BROWSER_TEST_F(PluginPowerSaverBrowserTest, SmallCrossOrigin) { On 2015/05/07 17:23:00, tommycli wrote: > ...
5 years, 7 months ago (2015-05-07 17:46:28 UTC) #13
tommycli
https://codereview.chromium.org/1124343002/diff/20001/chrome/browser/plugins/plugin_power_saver_browsertest.cc File chrome/browser/plugins/plugin_power_saver_browsertest.cc (right): https://codereview.chromium.org/1124343002/diff/20001/chrome/browser/plugins/plugin_power_saver_browsertest.cc#newcode140 chrome/browser/plugins/plugin_power_saver_browsertest.cc:140: IN_PROC_BROWSER_TEST_F(PluginPowerSaverBrowserTest, SmallCrossOrigin) { On 2015/05/07 17:46:28, Bernhard Bauer wrote: ...
5 years, 7 months ago (2015-05-07 17:55:31 UTC) #14
Bernhard Bauer
https://codereview.chromium.org/1124343002/diff/20001/chrome/browser/plugins/plugin_power_saver_browsertest.cc File chrome/browser/plugins/plugin_power_saver_browsertest.cc (right): https://codereview.chromium.org/1124343002/diff/20001/chrome/browser/plugins/plugin_power_saver_browsertest.cc#newcode140 chrome/browser/plugins/plugin_power_saver_browsertest.cc:140: IN_PROC_BROWSER_TEST_F(PluginPowerSaverBrowserTest, SmallCrossOrigin) { On 2015/05/07 17:55:31, tommycli wrote: > ...
5 years, 7 months ago (2015-05-07 18:23:27 UTC) #15
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 7 months ago (2015-05-07 18:28:24 UTC) #17
Lei Zhang
https://codereview.chromium.org/1124343002/diff/20001/chrome/browser/plugins/plugin_power_saver_browsertest.cc File chrome/browser/plugins/plugin_power_saver_browsertest.cc (left): https://codereview.chromium.org/1124343002/diff/20001/chrome/browser/plugins/plugin_power_saver_browsertest.cc#oldcode57 chrome/browser/plugins/plugin_power_saver_browsertest.cc:57: " event.data.source === 'getPowerSaverStatusResponse') {" Do you still care ...
5 years, 7 months ago (2015-05-07 23:15:59 UTC) #18
tommycli
thestig: thanks! https://codereview.chromium.org/1124343002/diff/20001/chrome/browser/plugins/plugin_power_saver_browsertest.cc File chrome/browser/plugins/plugin_power_saver_browsertest.cc (left): https://codereview.chromium.org/1124343002/diff/20001/chrome/browser/plugins/plugin_power_saver_browsertest.cc#oldcode57 chrome/browser/plugins/plugin_power_saver_browsertest.cc:57: " event.data.source === 'getPowerSaverStatusResponse') {" On 2015/05/07 ...
5 years, 7 months ago (2015-05-08 00:49:00 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1124343002/40001
5 years, 7 months ago (2015-05-08 00:51:31 UTC) #22
Lei Zhang
lgtm
5 years, 7 months ago (2015-05-08 02:33:23 UTC) #23
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 7 months ago (2015-05-08 03:11:11 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1124343002/40001
5 years, 7 months ago (2015-05-08 15:23:19 UTC) #27
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 7 months ago (2015-05-08 15:28:41 UTC) #28
commit-bot: I haz the power
5 years, 7 months ago (2015-05-08 15:29:29 UTC) #29
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/0ec19711ba3ed3223abd0c3e8062bb35002658ae
Cr-Commit-Position: refs/heads/master@{#328958}

Powered by Google App Engine
This is Rietveld 408576698