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

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: Rebase, update ExtensionOptionsGuest construction 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 fa242177fa2341141849ce945ff916f1a5f9a356..289f58d582145304fea736d3e010046387b2158e 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