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 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": [ |
|
Devlin
2016/12/29 16:53:17
We can put these on one line, e.g.
"dependencies":
jennyz
2016/12/29 20:20:03
Done.
| |
| 117 "contexts": ["blessed_extension"] | 117 "permission:clipboard" |
| 118 ], | |
| 119 "contexts": ["blessed_extension"] | |
| 120 }, | |
| 121 "clipboard.onClipboardDataChanged": { | |
| 122 "dependencies": [ | |
| 123 "permission:clipboardRead" | |
| 124 ] | |
| 125 }, | |
| 126 "clipboard.setImageData": { | |
| 127 "dependencies": [ | |
| 128 "permission:clipboardWrite" | |
| 129 ] | |
| 118 }, | 130 }, |
| 119 "declarativeWebRequest": { | 131 "declarativeWebRequest": { |
| 120 "dependencies": ["permission:declarativeWebRequest"], | 132 "dependencies": ["permission:declarativeWebRequest"], |
| 121 "contexts": ["blessed_extension"] | 133 "contexts": ["blessed_extension"] |
| 122 }, | 134 }, |
| 123 "diagnostics": { | 135 "diagnostics": { |
| 124 "dependencies": ["permission:diagnostics"], | 136 "dependencies": ["permission:diagnostics"], |
| 125 "extension_types": ["platform_app"], | 137 "extension_types": ["platform_app"], |
| 126 "contexts": ["blessed_extension"] | 138 "contexts": ["blessed_extension"] |
| 127 }, | 139 }, |
| (...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 529 }, { | 541 }, { |
| 530 "channel": "stable", | 542 "channel": "stable", |
| 531 "contexts": ["webui"], | 543 "contexts": ["webui"], |
| 532 "matches": [ | 544 "matches": [ |
| 533 "chrome://chrome-signin/*", | 545 "chrome://chrome-signin/*", |
| 534 "chrome://media-router/*", | 546 "chrome://media-router/*", |
| 535 "chrome://oobe/*" | 547 "chrome://oobe/*" |
| 536 ] | 548 ] |
| 537 }] | 549 }] |
| 538 } | 550 } |
| OLD | NEW |