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

Unified Diff: Source/core/html/shadow/PluginPlaceholderElement.idl

Issue 516273002: Move plugin placeholder style to CSS, and allow it to bypass main world CSP. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: gn Created 6 years, 3 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: Source/core/html/shadow/PluginPlaceholderElement.idl
diff --git a/Source/core/html/shadow/PluginPlaceholderElement.idl b/Source/core/html/shadow/PluginPlaceholderElement.idl
index 25508d6608858721988362efb42db8386a1322c4..60f80c4c3bd2237ccc029bca73864138e9a45fd5 100644
--- a/Source/core/html/shadow/PluginPlaceholderElement.idl
+++ b/Source/core/html/shadow/PluginPlaceholderElement.idl
@@ -7,4 +7,7 @@
] interface PluginPlaceholderElement : HTMLDivElement {
[ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString message;
[ImplementedInPrivateScript, OnlyExposedToPrivateScript] void createCallback();
+
+ // Exposes the content of PluginPlaceholderElement.css.
+ [OnlyExposedToPrivateScript] readonly attribute DOMString styleSource;
abarth-chromium 2014/09/02 22:34:34 Please don't add this function. Instead, private
jbroman 2014/09/02 23:53:32 There are about three ways I can think of here. Wh
};

Powered by Google App Engine
This is Rietveld 408576698