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

Issue 880983007: Iframe placeholders, security and resizing (Closed)

Created:
5 years, 10 months ago by mdjones
Modified:
5 years, 8 months ago
Reviewers:
cjhopman
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Iframe placeholders, security and resizing This change adds javascript to fill in the YouTube placeholders created by the distiller. the content security policy now allows for iframes from all sources (distiller closely controls which iframes are allowed). Some css has also been added to appropriately resize these iframes when the page is resized. This change will not work correctly by itself, it depends on the following CL to work correctly: https://codereview.chromium.org/1015463004 BUG=468862 Committed: https://crrev.com/d5d75e70536ec3dd67149d9281ca210b3ffbb95a Cr-Commit-Position: refs/heads/master@{#323934}

Patch Set 1 #

Patch Set 2 : Formatting and comment #

Patch Set 3 : Fill youtube placehlders #

Total comments: 4

Patch Set 4 : Consistent content loading #

Patch Set 5 : Clean tests #

Patch Set 6 : CL Split #

Total comments: 8

Patch Set 7 : Redundant sizing removal #

Patch Set 8 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -0 lines) Patch
M components/dom_distiller/content/dom_distiller_viewer_source.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/dom_distiller/content/dom_distiller_viewer_source.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M components/dom_distiller/core/css/distilledpage.css View 1 2 3 4 5 6 7 1 chunk +17 lines, -0 lines 0 comments Download
M components/dom_distiller/core/javascript/dom_distiller_viewer.js View 1 2 3 4 5 6 7 1 chunk +26 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (3 generated)
mdjones
PTAL
5 years, 9 months ago (2015-03-04 23:30:27 UTC) #2
cjhopman
https://codereview.chromium.org/880983007/diff/40001/components/dom_distiller/core/javascript/dom_distiller_viewer.js File components/dom_distiller/core/javascript/dom_distiller_viewer.js (right): https://codereview.chromium.org/880983007/diff/40001/components/dom_distiller/core/javascript/dom_distiller_viewer.js#newcode5 components/dom_distiller/core/javascript/dom_distiller_viewer.js:5: function addToPage(html) { Is this only called for pages ...
5 years, 9 months ago (2015-03-12 02:39:22 UTC) #3
mdjones
https://codereview.chromium.org/880983007/diff/40001/components/dom_distiller/core/javascript/dom_distiller_viewer.js File components/dom_distiller/core/javascript/dom_distiller_viewer.js (right): https://codereview.chromium.org/880983007/diff/40001/components/dom_distiller/core/javascript/dom_distiller_viewer.js#newcode5 components/dom_distiller/core/javascript/dom_distiller_viewer.js:5: function addToPage(html) { On 2015/03/12 02:39:22, cjhopman wrote: > ...
5 years, 9 months ago (2015-03-14 02:04:44 UTC) #4
cjhopman
could we make this two separate changes, one with the iframe/youtube stuff and one with ...
5 years, 9 months ago (2015-03-16 20:09:48 UTC) #5
mdjones
On 2015/03/16 20:09:48, cjhopman wrote: > could we make this two separate changes, one with ...
5 years, 9 months ago (2015-03-17 17:13:16 UTC) #6
cjhopman
https://codereview.chromium.org/880983007/diff/100001/components/dom_distiller/core/css/distilledpage.css File components/dom_distiller/core/css/distilledpage.css (right): https://codereview.chromium.org/880983007/diff/100001/components/dom_distiller/core/css/distilledpage.css#newcode280 components/dom_distiller/core/css/distilledpage.css:280: padding-bottom: 60%; this is based on the video aspect ...
5 years, 9 months ago (2015-03-19 03:34:47 UTC) #7
mdjones
https://codereview.chromium.org/880983007/diff/100001/components/dom_distiller/core/css/distilledpage.css File components/dom_distiller/core/css/distilledpage.css (right): https://codereview.chromium.org/880983007/diff/100001/components/dom_distiller/core/css/distilledpage.css#newcode280 components/dom_distiller/core/css/distilledpage.css:280: padding-bottom: 60%; On 2015/03/19 03:34:47, cjhopman wrote: > this ...
5 years, 9 months ago (2015-03-19 18:08:40 UTC) #8
cjhopman
lgtm
5 years, 9 months ago (2015-03-21 02:33:48 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/880983007/140001
5 years, 8 months ago (2015-04-06 18:58:32 UTC) #12
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 8 months ago (2015-04-06 19:48:59 UTC) #13
commit-bot: I haz the power
5 years, 8 months ago (2015-04-06 20:03:51 UTC) #14
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/d5d75e70536ec3dd67149d9281ca210b3ffbb95a
Cr-Commit-Position: refs/heads/master@{#323934}

Powered by Google App Engine
This is Rietveld 408576698