| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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/chrome. | 5 // This features file defines extension APIs implemented under src/chrome. |
| 6 // See extensions/common/features/* to understand this file, in particular | 6 // See chrome/common/extensions/api/_features.md to understand this file, as |
| 7 // 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. |
| 11 | 11 |
| 12 // To add a new whitelisted ID, SHA-1 it and force it to uppercase. In Bash: | |
| 13 // | |
| 14 // $ echo -n "aaaabbbbccccddddeeeeffffgggghhhh" | \ | |
| 15 // sha1sum | tr '[:lower:]' '[:upper:]' | |
| 16 // 9A0417016F345C934A1A88F55CA17C05014EEEBA - | |
| 17 // | |
| 18 // Google employees: please update http://go/chrome-api-whitelist to map | |
| 19 // hashes back to ids. | |
| 20 | |
| 21 { | 12 { |
| 22 "accessibilityFeatures": [{ | 13 "accessibilityFeatures": [{ |
| 23 "dependencies": ["permission:accessibilityFeatures.modify"], | 14 "dependencies": ["permission:accessibilityFeatures.modify"], |
| 24 "contexts": ["blessed_extension"] | 15 "contexts": ["blessed_extension"] |
| 25 }, { | 16 }, { |
| 26 "dependencies": ["permission:accessibilityFeatures.read"], | 17 "dependencies": ["permission:accessibilityFeatures.read"], |
| 27 "contexts": ["blessed_extension"] | 18 "contexts": ["blessed_extension"] |
| 28 }], | 19 }], |
| 29 "accessibilityPrivate": { | 20 "accessibilityPrivate": { |
| 30 "dependencies": ["permission:accessibilityPrivate"], | 21 "dependencies": ["permission:accessibilityPrivate"], |
| (...skipping 809 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 840 "internal": true, | 831 "internal": true, |
| 841 "channel": "stable", | 832 "channel": "stable", |
| 842 "dependencies": ["permission:webview"], | 833 "dependencies": ["permission:webview"], |
| 843 "contexts": ["blessed_extension"] | 834 "contexts": ["blessed_extension"] |
| 844 }, | 835 }, |
| 845 "windows": { | 836 "windows": { |
| 846 "dependencies": ["api:tabs"], | 837 "dependencies": ["api:tabs"], |
| 847 "contexts": ["blessed_extension"] | 838 "contexts": ["blessed_extension"] |
| 848 } | 839 } |
| 849 } | 840 } |
| OLD | NEW |