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

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

Issue 698533003: Implement support for closing shadow DOM plugin placeholders. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: mkwst comments Created 6 years, 1 month 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.cpp
diff --git a/Source/core/html/shadow/PluginPlaceholderElement.cpp b/Source/core/html/shadow/PluginPlaceholderElement.cpp
index e5f63790b70b7d869c6a51d0ecd57b9a51a219d0..74efd5581f3fba8c0eea153e418bf9210b437e95 100644
--- a/Source/core/html/shadow/PluginPlaceholderElement.cpp
+++ b/Source/core/html/shadow/PluginPlaceholderElement.cpp
@@ -30,4 +30,10 @@ void PluginPlaceholderElement::setMessage(const String& message)
ASSERT_UNUSED(success, success);
}
+void PluginPlaceholderElement::setIsCloseable(bool closeable)
+{
+ bool success = V8PluginPlaceholderElement::PrivateScript::closeableAttributeSetter(document().frame(), this, closeable);
+ ASSERT_UNUSED(success, success);
+}
+
} // namespace blink
« no previous file with comments | « Source/core/html/shadow/PluginPlaceholderElement.h ('k') | Source/core/html/shadow/PluginPlaceholderElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698