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

Unified Diff: chrome/common/extensions/api/_api_features.json

Issue 572633003: Enable webview tag in webui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 6 years, 3 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: chrome/common/extensions/api/_api_features.json
diff --git a/chrome/common/extensions/api/_api_features.json b/chrome/common/extensions/api/_api_features.json
index 94b95a9aa9573548993c7dd7a28db683fa838977..c99a6615f79451040840eabde02d4c23259a6547 100644
--- a/chrome/common/extensions/api/_api_features.json
+++ b/chrome/common/extensions/api/_api_features.json
@@ -193,11 +193,16 @@
"dependencies": ["permission:chromeosInfoPrivate"],
"contexts": ["blessed_extension"]
},
- "chromeWebViewInternal": {
+ "chromeWebViewInternal": [{
"internal": true,
"dependencies": ["permission:webview"],
"contexts": ["blessed_extension"]
- },
+ }, {
+ "internal": true,
+ "channel": "dev",
+ "contexts": ["webui"],
+ "matches": ["chrome://chrome-signin/*"]
+ }],
"cloudPrintPrivate": {
"dependencies": ["permission:cloudPrintPrivate"],
"contexts": ["blessed_extension"]
@@ -731,8 +736,8 @@
// webview uses webRequestInternal API.
"channel": "stable",
"internal": true,
- "dependencies": ["permission:webview"],
- "contexts": ["unblessed_extension"]
+ "contexts": ["webui"],
+ "matches": ["chrome://chrome-signin/*"]
}],
"webrtcAudioPrivate": {
"dependencies": ["permission:webrtcAudioPrivate"],
@@ -765,10 +770,9 @@
"dependencies": ["permission:webview"],
"contexts": ["blessed_extension"]
}, {
- // Component extensions can use the webViewRequest API from iframes.
- "location": "component",
- "dependencies": ["permission:webview"],
- "contexts": ["unblessed_extension"]
+ "channel": "stable",
+ "contexts": ["webui"],
+ "matches": ["chrome://chrome-signin/*"]
}],
"webviewTag": {
"internal": true,
« no previous file with comments | « chrome/browser/ui/webui/signin/inline_login_ui.cc ('k') | extensions/browser/guest_view/app_view/app_view_guest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698