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

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

Issue 14494013: Allow API functions and events to have entries in _api_features.json (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 { 5 {
6 "app": { 6 "app": {
7 "channel": "stable", 7 "channel": "stable",
8 "extension_types": ["hosted_app", "extension", "packaged_app"], 8 "extension_types": ["hosted_app", "extension", "packaged_app"],
9 "contexts": [ 9 "contexts": [
10 "blessed_extension", "unblessed_extension", "content_script", "web_page" 10 "blessed_extension", "unblessed_extension", "content_script", "web_page"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 "contexts": [ 44 "contexts": [
45 "blessed_extension", "unblessed_extension", "content_script", "web_page" 45 "blessed_extension", "unblessed_extension", "content_script", "web_page"
46 ], 46 ],
47 "matches": ["<all_urls>"] 47 "matches": ["<all_urls>"]
48 }, 48 },
49 "fileBrowserHandlerInternal": { 49 "fileBrowserHandlerInternal": {
50 "internal": true, 50 "internal": true,
51 "channel": "stable", 51 "channel": "stable",
52 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] 52 "contexts": ["blessed_extension", "unblessed_extension", "content_script"]
53 }, 53 },
54 "runtime": {
55 "channel": "stable",
56 "contexts": ["blessed_extension", "unblessed_extension", "content_script"]
cduvall 2013/04/26 02:07:21 Not sure if this is right or not, or if it needs e
not at google - send to devlin 2013/04/27 01:02:43 It does need extension types, it's odd that this w
cduvall 2013/05/01 02:51:47 I think without extension_types, it defaults to be
not at google - send to devlin 2013/05/01 20:47:04 yeah, so, these runtime APIs shouldn't be availabl
cduvall 2013/05/01 23:47:10 I think it would definitely be useful for pretty m
57 },
54 "webRequestInternal": { 58 "webRequestInternal": {
55 "internal": true, 59 "internal": true,
56 "channel": "stable", 60 "channel": "stable",
57 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] 61 "contexts": ["blessed_extension", "unblessed_extension", "content_script"]
58 }, 62 },
59 "webstore": { 63 "webstore": {
60 // Hosted apps can use the webstore API from within a blessed context. 64 // Hosted apps can use the webstore API from within a blessed context.
61 "channel": "stable", 65 "channel": "stable",
62 "extension_types": ["hosted_app"], 66 "extension_types": ["hosted_app"],
63 "contexts": ["blessed_extension", "web_page"], 67 "contexts": ["blessed_extension", "web_page"],
64 // Any webpage can use the webstore API. 68 // Any webpage can use the webstore API.
65 "matches": ["http://*/*", "https://*/*"] 69 "matches": ["http://*/*", "https://*/*"]
66 } 70 }
67 } 71 }
OLDNEW
« no previous file with comments | « no previous file | chrome/common/extensions/api/extension_api.h » ('j') | chrome/common/extensions/api/extension_api.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698