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

Unified Diff: components/dom_distiller/content/dom_distiller_viewer_source.cc

Issue 880983007: Iframe placeholders, security and resizing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/dom_distiller/content/dom_distiller_viewer_source.cc
diff --git a/components/dom_distiller/content/dom_distiller_viewer_source.cc b/components/dom_distiller/content/dom_distiller_viewer_source.cc
index b478ce2212d63c471d24d39a2f507301abbcb8ce..bb417aad686734e9347afc5f7277d1b9f050c13a 100644
--- a/components/dom_distiller/content/dom_distiller_viewer_source.cc
+++ b/components/dom_distiller/content/dom_distiller_viewer_source.cc
@@ -375,4 +375,8 @@ std::string DomDistillerViewerSource::GetContentSecurityPolicyObjectSrc()
return "object-src 'none'; style-src 'self' https://fonts.googleapis.com;";
}
+std::string DomDistillerViewerSource::GetContentSecurityPolicyFrameSrc() const {
+ return "frame-src *;";
+}
+
} // namespace dom_distiller
« no previous file with comments | « components/dom_distiller/content/dom_distiller_viewer_source.h ('k') | components/dom_distiller/core/css/distilledpage.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698