OLD | NEW |
---|---|
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 chrome/common/extensions/api/_features.md to understand this file, as | 6 // See chrome/common/extensions/api/_features.md to understand this file, as |
7 // well as feature.h, simple_feature.h, and base_feature_provider.h. | 7 // well as 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
106 "chrome://md-settings/*", | 106 "chrome://md-settings/*", |
107 "chrome://settings/*", | 107 "chrome://settings/*", |
108 "chrome://settings-frame/*" | 108 "chrome://settings-frame/*" |
109 ] | 109 ] |
110 }], | 110 }], |
111 "bluetoothSocket": { | 111 "bluetoothSocket": { |
112 "dependencies": ["manifest:bluetooth"], | 112 "dependencies": ["manifest:bluetooth"], |
113 "contexts": ["blessed_extension"] | 113 "contexts": ["blessed_extension"] |
114 }, | 114 }, |
115 "clipboard": { | 115 "clipboard": { |
116 "dependencies": ["permission:clipboard", "permission:clipboardRead"], | 116 "dependencies": [ |
117 "permission:clipboard", "permission:clipboardReadWrite" | |
Devlin
2016/11/16 02:34:33
This will disable this entire api for any existing
jennyz
2016/12/07 01:21:48
This extension is a new one we added for Citrix re
Devlin
2016/12/09 15:23:43
Where is this whitelist enforced?
jennyz
2016/12/20 22:16:54
No, I didn't enforce the whitelist. According to y
Devlin
2016/12/22 16:07:49
But this API isn't *only* used for the new functio
jennyz
2016/12/22 22:45:20
Good point. I have removed clipboardReadWrite perm
jennyz
2016/12/22 23:31:40
I read your comment again. After I removed the add
Devlin
2016/12/27 17:08:00
Yes, if you want different permissions for differe
jennyz
2016/12/29 05:16:03
I made the change to adjust the permissions to API
| |
118 ], | |
117 "contexts": ["blessed_extension"] | 119 "contexts": ["blessed_extension"] |
118 }, | 120 }, |
119 "declarativeWebRequest": { | 121 "declarativeWebRequest": { |
120 "dependencies": ["permission:declarativeWebRequest"], | 122 "dependencies": ["permission:declarativeWebRequest"], |
121 "contexts": ["blessed_extension"] | 123 "contexts": ["blessed_extension"] |
122 }, | 124 }, |
123 "diagnostics": { | 125 "diagnostics": { |
124 "dependencies": ["permission:diagnostics"], | 126 "dependencies": ["permission:diagnostics"], |
125 "extension_types": ["platform_app"], | 127 "extension_types": ["platform_app"], |
126 "contexts": ["blessed_extension"] | 128 "contexts": ["blessed_extension"] |
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
518 }, { | 520 }, { |
519 "channel": "stable", | 521 "channel": "stable", |
520 "contexts": ["webui"], | 522 "contexts": ["webui"], |
521 "matches": [ | 523 "matches": [ |
522 "chrome://chrome-signin/*", | 524 "chrome://chrome-signin/*", |
523 "chrome://media-router/*", | 525 "chrome://media-router/*", |
524 "chrome://oobe/*" | 526 "chrome://oobe/*" |
525 ] | 527 ] |
526 }] | 528 }] |
527 } | 529 } |
OLD | NEW |