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

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: 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..94679d870213b228745159f2339701f74609b7b0 100644
--- a/extensions/renderer/dispatcher.cc
+++ b/extensions/renderer/dispatcher.cc
@@ -801,8 +801,11 @@ void Dispatcher::UpdateOriginPermissions(const Extension* extension) {
void Dispatcher::EnableCustomElementWhiteList() {
blink::WebCustomElement::addEmbedderCustomElementName("webview");
blink::WebCustomElement::addEmbedderCustomElementName("appview");
+ blink::WebCustomElement::addEmbedderCustomElementName("extensionoptions");
blink::WebCustomElement::addEmbedderCustomElementName("appplugin");
blink::WebCustomElement::addEmbedderCustomElementName("browserplugin");
not at google - send to devlin 2014/07/08 15:43:39 fady why does "browserplugin" need to be in here?
Fady Samuel 2014/07/08 15:46:48 Good catch. That can be removed.
ericzeng 2014/07/08 18:10:48 Done.
+ blink::WebCustomElement::addEmbedderCustomElementName(
+ "extensionoptionsplugin");
not at google - send to devlin 2014/07/08 15:43:39 can we put this list in alphabetic order?
ericzeng 2014/07/08 18:10:48 Done.
}
void Dispatcher::UpdateBindings(const std::string& extension_id) {

Powered by Google App Engine
This is Rietveld 408576698