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

Unified Diff: Source/core/plugins/testing/DictionaryPluginPlaceholder.h

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
« no previous file with comments | « Source/core/html/shadow/PluginPlaceholderElement.js ('k') | Source/web/PluginPlaceholderImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/plugins/testing/DictionaryPluginPlaceholder.h
diff --git a/Source/core/plugins/testing/DictionaryPluginPlaceholder.h b/Source/core/plugins/testing/DictionaryPluginPlaceholder.h
index fe38dd6c6fe4cd6a976c937055fb3fc21cb567b9..79124a48b393b5a79f8304cdf2c316d19af369d8 100644
--- a/Source/core/plugins/testing/DictionaryPluginPlaceholder.h
+++ b/Source/core/plugins/testing/DictionaryPluginPlaceholder.h
@@ -24,6 +24,10 @@ public:
if (DictionaryHelper::get(options, "message", stringValue))
placeholder->setMessage(stringValue);
+ bool booleanValue;
+ if (DictionaryHelper::get(options, "closeable", booleanValue))
+ placeholder->setIsCloseable(booleanValue);
+
return adoptPtrWillBeNoop(new DictionaryPluginPlaceholder(placeholder.release()));
}
« no previous file with comments | « Source/core/html/shadow/PluginPlaceholderElement.js ('k') | Source/web/PluginPlaceholderImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698