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

Unified Diff: extensions/renderer/dispatcher.cc

Issue 378783002: Initial implementation of the <extensionoptions> GuestView tag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Handle changing attribute values, prevent cross-extension options embedding Created 6 years, 5 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: extensions/renderer/dispatcher.cc
diff --git a/extensions/renderer/dispatcher.cc b/extensions/renderer/dispatcher.cc
index c9aaec457060e951d8c0bae5a1e0731fd5505fc5..d5308fca3596de2d2e2f8c9b4cb7976ba3f7dc2e 100644
--- a/extensions/renderer/dispatcher.cc
+++ b/extensions/renderer/dispatcher.cc
@@ -799,10 +799,13 @@ void Dispatcher::UpdateOriginPermissions(const Extension* extension) {
}
void Dispatcher::EnableCustomElementWhiteList() {
- blink::WebCustomElement::addEmbedderCustomElementName("webview");
- blink::WebCustomElement::addEmbedderCustomElementName("appview");
blink::WebCustomElement::addEmbedderCustomElementName("appplugin");
+ blink::WebCustomElement::addEmbedderCustomElementName("appview");
blink::WebCustomElement::addEmbedderCustomElementName("browserplugin");
+ blink::WebCustomElement::addEmbedderCustomElementName("extensionoptions");
+ blink::WebCustomElement::addEmbedderCustomElementName(
+ "extensionoptionsplugin");
+ blink::WebCustomElement::addEmbedderCustomElementName("webview");
}
void Dispatcher::UpdateBindings(const std::string& extension_id) {

Powered by Google App Engine
This is Rietveld 408576698