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

Issue 1085993003: Plugin Power Saver: Make posters work right when image is 404 Not Found. (Closed)

Created:
5 years, 8 months ago by tommycli
Modified:
5 years, 8 months ago
Reviewers:
Lei Zhang, Dan Beam
CC:
chromium-reviews, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@0263-plugin-power-saver-heuristic-tests
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Plugin Power Saver: Make posters work right when image is 404 Not Found. Currently, when a poster image is specified that's 404 Not Found, or too small, the placeholder can become too small and unclickable. This change forces the placeholder HTML to expand to the size of the WebViewPlugin. BUG=475653 Committed: https://crrev.com/8d89f69f21d06ab3cd611a4c38eefc22ca64bbbe Cr-Commit-Position: refs/heads/master@{#326897}

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Patch Set 3 : #

Total comments: 8

Patch Set 4 : #

Total comments: 4

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -30 lines) Patch
M chrome/browser/plugins/plugin_power_saver_browsertest.cc View 1 2 3 4 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/renderer/resources/plugin_placeholders.css View 1 2 3 4 2 chunks +16 lines, -14 lines 0 comments Download
M chrome/renderer/resources/plugin_poster.html View 1 2 3 4 4 chunks +26 lines, -16 lines 0 comments Download

Messages

Total messages: 22 (5 generated)
tommycli
thestig: This patch requires https://codereview.chromium.org/1088763002/ to go in first, but can I have a review? ...
5 years, 8 months ago (2015-04-15 00:58:35 UTC) #2
Lei Zhang
Is the behavior consistent with the video tag's poster behavior? How about the case where ...
5 years, 8 months ago (2015-04-15 07:39:07 UTC) #3
tommycli
On 2015/04/15 07:39:07, Lei Zhang (slow to respond) wrote: > Is the behavior consistent with ...
5 years, 8 months ago (2015-04-15 23:44:10 UTC) #4
Lei Zhang
On 2015/04/15 23:44:10, tommycli wrote: > On 2015/04/15 07:39:07, Lei Zhang (slow to respond) wrote: ...
5 years, 8 months ago (2015-04-16 08:20:41 UTC) #5
tommycli
thestig: Yes, broken image link is still counts as a poster. On <video>, it's just ...
5 years, 8 months ago (2015-04-17 00:12:15 UTC) #7
Dan Beam
Generally lgtm (haven't used object-fit but in reading the MDN page you seem to bebDoing ...
5 years, 8 months ago (2015-04-17 03:53:54 UTC) #8
tommycli
thestig/dbeam: done! https://codereview.chromium.org/1085993003/diff/40001/chrome/renderer/resources/plugin_placeholders.css File chrome/renderer/resources/plugin_placeholders.css (right): https://codereview.chromium.org/1085993003/diff/40001/chrome/renderer/resources/plugin_placeholders.css#newcode5 chrome/renderer/resources/plugin_placeholders.css:5: html { On 2015/04/17 03:53:53, Dan Beam ...
5 years, 8 months ago (2015-04-22 20:11:33 UTC) #9
Dan Beam
https://codereview.chromium.org/1085993003/diff/40001/chrome/renderer/resources/plugin_placeholders.css File chrome/renderer/resources/plugin_placeholders.css (right): https://codereview.chromium.org/1085993003/diff/40001/chrome/renderer/resources/plugin_placeholders.css#newcode16 chrome/renderer/resources/plugin_placeholders.css:16: height: 100%; On 2015/04/22 20:11:33, tommycli wrote: > On ...
5 years, 8 months ago (2015-04-22 20:19:18 UTC) #10
Dan Beam
https://codereview.chromium.org/1085993003/diff/60001/chrome/renderer/resources/plugin_poster.html File chrome/renderer/resources/plugin_poster.html (right): https://codereview.chromium.org/1085993003/diff/60001/chrome/renderer/resources/plugin_poster.html#newcode84 chrome/renderer/resources/plugin_poster.html:84: }; On 2015/04/22 20:19:17, Dan Beam wrote: > you ...
5 years, 8 months ago (2015-04-22 20:20:36 UTC) #11
tommycli
dbeam: addressed your coments below. Thanks! https://codereview.chromium.org/1085993003/diff/40001/chrome/renderer/resources/plugin_placeholders.css File chrome/renderer/resources/plugin_placeholders.css (right): https://codereview.chromium.org/1085993003/diff/40001/chrome/renderer/resources/plugin_placeholders.css#newcode16 chrome/renderer/resources/plugin_placeholders.css:16: height: 100%; On ...
5 years, 8 months ago (2015-04-23 19:01:27 UTC) #12
Lei Zhang
lgtm
5 years, 8 months ago (2015-04-23 20:07:47 UTC) #13
Dan Beam
lgtm
5 years, 8 months ago (2015-04-23 21:07:41 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1085993003/80001
5 years, 8 months ago (2015-04-24 20:29:13 UTC) #16
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 8 months ago (2015-04-24 21:33:02 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1085993003/80001
5 years, 8 months ago (2015-04-24 21:58:44 UTC) #20
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 8 months ago (2015-04-24 22:00:10 UTC) #21
commit-bot: I haz the power
5 years, 8 months ago (2015-04-24 22:01:09 UTC) #22
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/8d89f69f21d06ab3cd611a4c38eefc22ca64bbbe
Cr-Commit-Position: refs/heads/master@{#326897}

Powered by Google App Engine
This is Rietveld 408576698