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

Unified Diff: third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp

Issue 2923563003: Move container policy logic to frame owner classes. (Closed)
Patch Set: Refactor: Move container policy logic to the elements that should define it Created 3 years, 6 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: third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp b/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp
index ac7486f55342d8957df7796e55916d950660b6b2..0dd8ec293cd9bd4c6b1418483282d8bd9a57f680 100644
--- a/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp
@@ -268,6 +268,12 @@ bool HTMLPlugInElement::ShouldAccelerate() const {
return plugin && plugin->PlatformLayer();
}
+Vector<WebParsedFeaturePolicyDeclaration>
+HTMLPlugInElement::ConstructContainerPolicy() const {
+ Vector<WebParsedFeaturePolicyDeclaration> container_policy;
raymes 2017/06/12 22:54:26 nit: perhaps add a comment about why we return an
iclelland 2017/06/13 14:38:33 Done, though I actually duplicated the <frame> log
+ return container_policy;
+}
+
void HTMLPlugInElement::DetachLayoutTree(const AttachContext& context) {
// Update the FrameViewBase the next time we attach (detaching destroys the
// plugin).

Powered by Google App Engine
This is Rietveld 408576698