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

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

Issue 375173002: Remove the "content_script" context from a number of APIs that shouldn't be (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: and another Created 6 years, 5 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
« no previous file with comments | « chrome/common/extensions/api/_api_features.json ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 "contexts": "all", 66 "contexts": "all",
67 "extension_types": "all", 67 "extension_types": "all",
68 "matches": ["<all_urls>"] 68 "matches": ["<all_urls>"]
69 }, 69 },
70 "runtime.onConnect": { 70 "runtime.onConnect": {
71 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] 71 "contexts": ["blessed_extension", "unblessed_extension", "content_script"]
72 }, 72 },
73 "runtime.onMessage": { 73 "runtime.onMessage": {
74 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] 74 "contexts": ["blessed_extension", "unblessed_extension", "content_script"]
75 }, 75 },
76 "runtime.reload": {
77 "contexts": ["blessed_extension", "unblessed_extension", "content_script"]
78 },
79 "runtime.requestUpdateCheck": {
80 "contexts": ["blessed_extension", "unblessed_extension", "content_script"]
81 },
not at google - send to devlin 2014/07/09 03:06:54 I will need to send out a PSA to the extensions ma
asargent_no_longer_on_chrome 2014/07/09 18:09:47 Is there a downside to allowing runtime.reload and
not at google - send to devlin 2014/07/09 18:14:25 I think anything that only makes sense to be media
not at google - send to devlin 2014/07/09 20:59:24 We've never documented it as being available in co
82 "runtime.sendMessage": { 76 "runtime.sendMessage": {
83 "contexts": "all", 77 "contexts": "all",
84 "matches": ["<all_urls>"] 78 "matches": ["<all_urls>"]
85 }, 79 },
86 "runtime.setUninstallURL": { 80 "runtime.setUninstallURL": {
87 "channel": "dev", 81 "channel": "dev"
88 "contexts": ["blessed_extension", "unblessed_extension", "content_script"]
89 }, 82 },
90 "socket": { 83 "socket": {
91 "dependencies": ["permission:socket"], 84 "dependencies": ["permission:socket"],
92 "contexts": ["blessed_extension"] 85 "contexts": ["blessed_extension"]
93 }, 86 },
94 "sockets.tcp": { 87 "sockets.tcp": {
95 "dependencies": ["manifest:sockets"], 88 "dependencies": ["manifest:sockets"],
96 "contexts": ["blessed_extension"] 89 "contexts": ["blessed_extension"]
97 }, 90 },
98 "sockets.tcpServer": { 91 "sockets.tcpServer": {
(...skipping 22 matching lines...) Expand all
121 "types.private": { 114 "types.private": {
122 "channel": "dev", 115 "channel": "dev",
123 "extension_types": ["extension"], 116 "extension_types": ["extension"],
124 "location": "component" 117 "location": "component"
125 }, 118 },
126 "usb": { 119 "usb": {
127 "dependencies": ["permission:usb"], 120 "dependencies": ["permission:usb"],
128 "contexts": ["blessed_extension"] 121 "contexts": ["blessed_extension"]
129 } 122 }
130 } 123 }
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/_api_features.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698