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

Side by Side Diff: extensions/common/api/_api_features.json

Issue 596003002: Allow declarative webrequest and webrequest in extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Clean up RuleRegistry in ExtensionsApiClient. Created 6 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This features file defines extension APIs implemented under src/extensions. 5 // This features file defines extension APIs implemented under src/extensions.
6 // See extensions/common/features/* to understand this file, in particular 6 // See extensions/common/features/* to understand this file, in particular
7 // feature.h, simple_feature.h, and base_feature_provider.h. 7 // feature.h, simple_feature.h, and base_feature_provider.h.
8 // 8 //
9 // Note that specifying "web_page", "blessed_web_page", or "all" as a context 9 // Note that specifying "web_page", "blessed_web_page", or "all" as a context
10 // type will require manually updating chrome/renderer/resources/dispatcher.cc. 10 // type will require manually updating chrome/renderer/resources/dispatcher.cc.
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 "app.currentWindowInternal": { 48 "app.currentWindowInternal": {
49 "noparent": true, 49 "noparent": true,
50 "internal": true, 50 "internal": true,
51 "channel": "stable", 51 "channel": "stable",
52 "contexts": ["blessed_extension"] 52 "contexts": ["blessed_extension"]
53 }, 53 },
54 "app.currentWindowInternal.setShape": { 54 "app.currentWindowInternal.setShape": {
55 "dependencies": ["permission:app.window.shape"], 55 "dependencies": ["permission:app.window.shape"],
56 "contexts": ["blessed_extension"] 56 "contexts": ["blessed_extension"]
57 }, 57 },
58 "declarativeWebRequest": {
59 "dependencies": ["permission:declarativeWebRequest"],
60 "contexts": ["blessed_extension"]
61 },
58 "dns": { 62 "dns": {
59 "dependencies": ["permission:dns"], 63 "dependencies": ["permission:dns"],
60 "contexts": ["blessed_extension"] 64 "contexts": ["blessed_extension"]
61 }, 65 },
62 // This is not a real API, only here for documentation purposes. 66 // This is not a real API, only here for documentation purposes.
63 // See http://crbug.com/275944 for background. 67 // See http://crbug.com/275944 for background.
64 "extensionTypes": { 68 "extensionTypes": {
65 "internal": true, 69 "internal": true,
66 "channel": "stable", 70 "channel": "stable",
67 "extension_types": ["extension", "legacy_packaged_app", "platform_app"], 71 "extension_types": ["extension", "legacy_packaged_app", "platform_app"],
68 "contexts": ["blessed_extension"] 72 "contexts": ["blessed_extension"]
69 }, 73 },
74 "events": {
75 "internal": true,
76 "channel": "stable",
77 "extension_types": ["platform_app", "extension"],
78 "contexts": "all",
79 "matches": ["<all_urls>"]
80 },
70 "guestViewInternal": [ 81 "guestViewInternal": [
71 { 82 {
72 "internal": true, 83 "internal": true,
73 "channel": "stable", 84 "channel": "stable",
74 "contexts": ["blessed_extension"] 85 "contexts": ["blessed_extension"]
75 }, { 86 }, {
76 "internal": true, 87 "internal": true,
77 "channel": "trunk", 88 "channel": "trunk",
78 "contexts": ["webui"], 89 "contexts": ["webui"],
79 "matches": [ 90 "matches": [
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 "location": "component" 231 "location": "component"
221 }, 232 },
222 "usb": { 233 "usb": {
223 "dependencies": ["permission:usb"], 234 "dependencies": ["permission:usb"],
224 "contexts": ["blessed_extension"] 235 "contexts": ["blessed_extension"]
225 }, 236 },
226 "usbPrivate": { 237 "usbPrivate": {
227 "channel": "dev", 238 "channel": "dev",
228 "contexts": ["webui"] 239 "contexts": ["webui"]
229 }, 240 },
241 "webRequest": {
242 "dependencies": ["permission:webRequest"],
243 "contexts": ["blessed_extension"]
244 },
245 "webRequestInternal": [{
246 "internal": true,
247 "channel": "stable",
248 "contexts": ["blessed_extension"]
249 }, {
250 // webview uses webRequestInternal API.
251 "channel": "stable",
252 "internal": true,
253 "contexts": ["webui"],
254 "matches": ["chrome://chrome-signin/*"]
255 }],
230 "webViewExperimentalInternal": [{ 256 "webViewExperimentalInternal": [{
231 "internal": true, 257 "internal": true,
232 "channel": "dev", 258 "channel": "dev",
233 "contexts": ["blessed_extension"], 259 "contexts": ["blessed_extension"],
234 "dependencies": ["permission:webview"] 260 "dependencies": ["permission:webview"]
235 }, 261 },
236 { 262 {
237 "internal": true, 263 "internal": true,
238 "channel": "stable", 264 "channel": "stable",
239 "contexts": ["blessed_extension"], 265 "contexts": ["blessed_extension"],
240 "dependencies": ["permission:webview"], 266 "dependencies": ["permission:webview"],
241 "whitelist": [ 267 "whitelist": [
242 "8C3741E3AF0B93B6E8E0DDD499BB0B74839EA578", 268 "8C3741E3AF0B93B6E8E0DDD499BB0B74839EA578",
243 "E703483CEF33DEC18B4B6DD84B5C776FB9182BDB", 269 "E703483CEF33DEC18B4B6DD84B5C776FB9182BDB",
244 "1A26E32DE447A17CBE5E9750CDBA78F58539B39C", 270 "1A26E32DE447A17CBE5E9750CDBA78F58539B39C",
245 "59048028102D7B4C681DBC7BC6CD980C3DC66DA3" 271 "59048028102D7B4C681DBC7BC6CD980C3DC66DA3"
246 ] 272 ]
247 }], 273 }],
248 "webViewInternal": [{ 274 "webViewInternal": [{
249 "internal": true, 275 "internal": true,
250 "dependencies": ["permission:webview"], 276 "dependencies": ["permission:webview"],
251 "contexts": ["blessed_extension"] 277 "contexts": ["blessed_extension"]
252 }, { 278 }, {
253 "internal": true, 279 "internal": true,
254 "channel": "dev", 280 "channel": "dev",
255 "contexts": ["webui"], 281 "contexts": ["webui"],
256 "matches": ["chrome://chrome-signin/*"] 282 "matches": ["chrome://chrome-signin/*"]
283 }],
284 "webViewRequest": [{
285 "dependencies": ["permission:webview"],
286 "contexts": ["blessed_extension"]
287 }, {
288 "channel": "stable",
289 "contexts": ["webui"],
290 "matches": ["chrome://chrome-signin/*"]
257 }] 291 }]
258 } 292 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698