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

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

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.h
diff --git a/Source/core/html/shadow/PluginPlaceholderElement.h b/Source/core/html/shadow/PluginPlaceholderElement.h
index 9c1979c370e7e111fb9664862a6bbdf827b3b9eb..b8f9561afb81c21ef2c8231d7542d5d0b74ffed0 100644
--- a/Source/core/html/shadow/PluginPlaceholderElement.h
+++ b/Source/core/html/shadow/PluginPlaceholderElement.h
@@ -18,6 +18,9 @@ public:
void setMessage(const String& htmlMessage);
+ // Exposed for private script.
+ String styleSource() const;
+
// We need to get a V8PluginPlaceholderElement wrapper.
// By default, this will get an V8HTMLDivElement wrapper.
virtual v8::Handle<v8::Object> wrap(v8::Handle<v8::Object> creationContext, v8::Isolate*) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698