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

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

Issue 264743014: Move chrome.runtime to //extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 7 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 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.
11 11
12 { 12 {
13 "dns": { 13 "dns": {
14 "dependencies": ["permission:dns"], 14 "dependencies": ["permission:dns"],
15 "contexts": ["blessed_extension"] 15 "contexts": ["blessed_extension"]
16 }, 16 },
17 "extension": {
not at google - send to devlin 2014/05/05 19:26:15 why did the extension API need to be moved?
Ken Rockot(use gerrit already) 2014/05/05 21:08:07 This was sort of a last minute change, since movin
18 "channel": "stable",
19 "extension_types": ["extension", "legacy_packaged_app"],
20 "contexts": ["blessed_extension"]
21 },
22 "extension.getURL": {
23 "contexts": ["blessed_extension", "unblessed_extension", "content_script"]
24 },
25 "extension.getViews": [
26 {
27 "channel": "stable",
28 "contexts": ["blessed_extension"],
29 "extension_types": ["extension", "legacy_packaged_app"]
30 },
31 {
32 // TODO(yoz): Eliminate this usage.
33 "channel": "stable",
34 "contexts": ["blessed_extension"],
35 "extension_types": ["platform_app"],
36 "whitelist": [
37 "A948368FC53BE437A55FEB414106E207925482F5" // File manager
38 ]
39 }
40 ],
41 "extension.inIncognitoContext": {
42 "contexts": ["blessed_extension", "unblessed_extension", "content_script"]
43 },
44 "extension.lastError": {
45 "contexts": ["blessed_extension", "unblessed_extension", "content_script"]
46 },
47 "extension.onRequest": {
48 "contexts": ["blessed_extension", "unblessed_extension", "content_script"]
49 },
50 "extension.sendNativeMessage": {
51 "dependencies": ["permission:nativeMessaging"]
52 },
53 "extension.sendRequest": {
54 "contexts": ["blessed_extension", "unblessed_extension", "content_script"]
55 },
56 // This is not a real API, only here for documentation purposes.
57 // See http://crbug.com/275944 for background.
58 "extensionsManifestTypes": {
59 "internal": true,
60 "channel": "stable",
61 "contexts": ["blessed_extension"]
62 },
63 "runtime": {
64 "channel": "stable",
65 "extension_types": ["extension", "legacy_packaged_app", "platform_app"],
66 "contexts": ["blessed_extension"]
67 },
68 "runtime.getManifest": {
69 "contexts": ["blessed_extension", "unblessed_extension", "content_script"]
70 },
71 "runtime.connect": {
72 "contexts": "all",
73 "matches": ["<all_urls>"]
74 },
75 "runtime.getURL": {
76 "contexts": ["blessed_extension", "unblessed_extension", "content_script"]
77 },
78 "runtime.id": {
79 "contexts": ["blessed_extension", "unblessed_extension", "content_script"]
80 },
81 "runtime.lastError": {
82 "contexts": "all",
83 "extension_types": "all",
84 "matches": ["<all_urls>"]
85 },
86 "runtime.onConnect": {
87 "contexts": ["blessed_extension", "unblessed_extension", "content_script"]
88 },
89 "runtime.onMessage": {
90 "contexts": ["blessed_extension", "unblessed_extension", "content_script"]
91 },
92 "runtime.reload": {
93 "contexts": ["blessed_extension", "unblessed_extension", "content_script"]
94 },
95 "runtime.requestUpdateCheck": {
96 "contexts": ["blessed_extension", "unblessed_extension", "content_script"]
97 },
98 "runtime.sendMessage": {
99 "contexts": "all",
100 "matches": ["<all_urls>"]
101 },
102 "runtime.setUninstallURL": {
103 "channel": "dev",
104 "contexts": ["blessed_extension", "unblessed_extension", "content_script"]
105 },
17 "socket": { 106 "socket": {
18 "dependencies": ["permission:socket"], 107 "dependencies": ["permission:socket"],
19 "contexts": ["blessed_extension"] 108 "contexts": ["blessed_extension"]
20 }, 109 },
21 "sockets.tcp": { 110 "sockets.tcp": {
22 "dependencies": ["manifest:sockets"], 111 "dependencies": ["manifest:sockets"],
23 "contexts": ["blessed_extension"] 112 "contexts": ["blessed_extension"]
24 }, 113 },
25 "sockets.tcpServer": { 114 "sockets.tcpServer": {
26 "dependencies": ["manifest:sockets"], 115 "dependencies": ["manifest:sockets"],
27 "contexts": ["blessed_extension"] 116 "contexts": ["blessed_extension"]
28 }, 117 },
29 "sockets.udp": { 118 "sockets.udp": {
30 "dependencies": ["manifest:sockets"], 119 "dependencies": ["manifest:sockets"],
31 "contexts": ["blessed_extension"] 120 "contexts": ["blessed_extension"]
32 }, 121 },
33 "storage": { 122 "storage": {
34 "dependencies": ["permission:storage"], 123 "dependencies": ["permission:storage"],
35 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] 124 "contexts": ["blessed_extension", "unblessed_extension", "content_script"]
36 }, 125 },
37 "test": { 126 "test": {
38 "internal": true, 127 "internal": true,
39 "channel": "stable", 128 "channel": "stable",
40 "extension_types": "all", 129 "extension_types": "all",
41 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] 130 "contexts": ["blessed_extension", "unblessed_extension", "content_script"]
131 },
132 "types": {
133 "channel": "stable",
134 "extension_types": ["extension", "legacy_packaged_app", "platform_app"],
135 "contexts": ["blessed_extension"]
136 },
137 "types.private": {
138 "channel": "dev",
139 "extension_types": ["extension"],
140 "location": "component"
42 } 141 }
43 } 142 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698