Chromium Code Reviews| 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 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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 143 "chrome://bluetooth-pairing/*", | 143 "chrome://bluetooth-pairing/*", |
| 144 "chrome://md-settings/*", | 144 "chrome://md-settings/*", |
| 145 "chrome://settings/*", | 145 "chrome://settings/*", |
| 146 "chrome://settings-frame/*" | 146 "chrome://settings-frame/*" |
| 147 ] | 147 ] |
| 148 }], | 148 }], |
| 149 "bluetoothSocket": { | 149 "bluetoothSocket": { |
| 150 "dependencies": ["manifest:bluetooth"], | 150 "dependencies": ["manifest:bluetooth"], |
| 151 "contexts": ["blessed_extension"] | 151 "contexts": ["blessed_extension"] |
| 152 }, | 152 }, |
| 153 "clipboard": [{ | 153 "clipboard": [{ |
|
Devlin
2016/07/20 22:40:31
features that have only one entry should not be a
jennyz
2016/07/20 23:22:48
Done.
| |
| 154 "channel": "dev", | |
|
Devlin
2016/07/20 22:40:31
the clipboard permission is already restricted to
jennyz
2016/07/20 23:22:48
Done.
| |
| 154 "dependencies": ["permission:clipboard", "permission:clipboardRead"], | 155 "dependencies": ["permission:clipboard", "permission:clipboardRead"], |
| 155 "contexts": ["blessed_extension"], | 156 "contexts": ["blessed_extension"], |
| 156 "platforms": ["chromeos"] | 157 "platforms": ["chromeos"], |
|
Devlin
2016/07/20 22:40:31
Though there's no rule behind it, we typically put
jennyz
2016/07/20 23:22:48
Done.
| |
| 157 }, { | |
| 158 "channel": "dev", | |
| 159 "extension_types": ["platform_app"] | 158 "extension_types": ["platform_app"] |
| 160 }], | 159 }], |
| 161 "declarativeWebRequest": { | 160 "declarativeWebRequest": { |
| 162 "dependencies": ["permission:declarativeWebRequest"], | 161 "dependencies": ["permission:declarativeWebRequest"], |
| 163 "contexts": ["blessed_extension"] | 162 "contexts": ["blessed_extension"] |
| 164 }, | 163 }, |
| 165 "diagnostics": { | 164 "diagnostics": { |
| 166 "dependencies": ["permission:diagnostics"], | 165 "dependencies": ["permission:diagnostics"], |
| 167 "extension_types": ["platform_app"], | 166 "extension_types": ["platform_app"], |
| 168 "contexts": ["blessed_extension"] | 167 "contexts": ["blessed_extension"] |
| 169 }, | 168 }, |
| 170 "displaySource": { | 169 "displaySource": { |
| (...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 515 }, { | 514 }, { |
| 516 "channel": "stable", | 515 "channel": "stable", |
| 517 "contexts": ["webui"], | 516 "contexts": ["webui"], |
| 518 "matches": [ | 517 "matches": [ |
| 519 "chrome://chrome-signin/*", | 518 "chrome://chrome-signin/*", |
| 520 "chrome://media-router/*", | 519 "chrome://media-router/*", |
| 521 "chrome://oobe/*" | 520 "chrome://oobe/*" |
| 522 ] | 521 ] |
| 523 }] | 522 }] |
| 524 } | 523 } |
| OLD | NEW |