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

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

Issue 566863004: Enabling webview in app_shell. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn 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 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 "contexts": ["blessed_extension"] 60 "contexts": ["blessed_extension"]
61 }, 61 },
62 // This is not a real API, only here for documentation purposes. 62 // This is not a real API, only here for documentation purposes.
63 // See http://crbug.com/275944 for background. 63 // See http://crbug.com/275944 for background.
64 "extensionTypes": { 64 "extensionTypes": {
65 "internal": true, 65 "internal": true,
66 "channel": "stable", 66 "channel": "stable",
67 "extension_types": ["extension", "legacy_packaged_app", "platform_app"], 67 "extension_types": ["extension", "legacy_packaged_app", "platform_app"],
68 "contexts": ["blessed_extension"] 68 "contexts": ["blessed_extension"]
69 }, 69 },
70 "guestViewInternal": [
71 {
72 "internal": true,
73 "channel": "stable",
74 "contexts": ["blessed_extension"]
75 }, {
76 // Component extensions can use the guestViewInternal API from iframes.
77 "location": "component",
78 "internal": true,
79 "dependencies": ["permission:webview"],
80 "contexts": ["unblessed_extension"]
81 }, {
82 "internal": true,
83 "channel": "trunk",
84 "contexts": ["webui"],
85 "matches": ["chrome://extensions-frame/*", "chrome://extensions/*"]
86 }
87 ],
70 "hid": { 88 "hid": {
71 "dependencies": ["permission:hid"], 89 "dependencies": ["permission:hid"],
72 "contexts": ["blessed_extension"] 90 "contexts": ["blessed_extension"]
73 }, 91 },
74 "power": { 92 "power": {
75 "dependencies": ["permission:power"], 93 "dependencies": ["permission:power"],
76 "contexts": ["blessed_extension"] 94 "contexts": ["blessed_extension"]
77 }, 95 },
78 "runtime": { 96 "runtime": {
79 "channel": "stable", 97 "channel": "stable",
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 "dependencies": ["permission:webview"], 252 "dependencies": ["permission:webview"],
235 "contexts": ["blessed_extension"] 253 "contexts": ["blessed_extension"]
236 }, { 254 }, {
237 // Component extensions can use the webViewInternal API from iframes. 255 // Component extensions can use the webViewInternal API from iframes.
238 "location": "component", 256 "location": "component",
239 "internal": true, 257 "internal": true,
240 "dependencies": ["permission:webview"], 258 "dependencies": ["permission:webview"],
241 "contexts": ["unblessed_extension"] 259 "contexts": ["unblessed_extension"]
242 }] 260 }]
243 } 261 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698