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

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

Issue 541753004: Split web_view_internal_api and move part of it to extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits 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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 "extension_types": ["extension"], 182 "extension_types": ["extension"],
183 "location": "component" 183 "location": "component"
184 }, 184 },
185 "usb": { 185 "usb": {
186 "dependencies": ["permission:usb"], 186 "dependencies": ["permission:usb"],
187 "contexts": ["blessed_extension"] 187 "contexts": ["blessed_extension"]
188 }, 188 },
189 "usbPrivate": { 189 "usbPrivate": {
190 "channel": "dev", 190 "channel": "dev",
191 "contexts": ["webui"] 191 "contexts": ["webui"]
192 } 192 },
193 "webViewExperimentalInternal": [{
194 "internal": true,
195 "channel": "dev",
196 "contexts": ["blessed_extension"],
197 "dependencies": ["permission:webview"]
198 },
199 {
200 "internal": true,
201 "channel": "stable",
202 "contexts": ["blessed_extension"],
203 "dependencies": ["permission:webview"],
204 "whitelist": [
205 "8C3741E3AF0B93B6E8E0DDD499BB0B74839EA578",
206 "E703483CEF33DEC18B4B6DD84B5C776FB9182BDB",
207 "1A26E32DE447A17CBE5E9750CDBA78F58539B39C",
208 "59048028102D7B4C681DBC7BC6CD980C3DC66DA3"
209 ]
210 }],
211 "webViewInternal": [{
212 "internal": true,
213 "dependencies": ["permission:webview"],
214 "contexts": ["blessed_extension"]
215 }, {
216 // Component extensions can use the webViewInternal API from iframes.
217 "location": "component",
218 "internal": true,
219 "dependencies": ["permission:webview"],
220 "contexts": ["unblessed_extension"]
221 }]
193 } 222 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698