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

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: Address kalman's comments, add new test for privileged extension apis 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..a5bb5623d65d4550745da1c449e1e898bf559548 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