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

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

Issue 2264113002: [Extensions] Add feature documentation for id hashes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: better Created 4 years, 4 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 | « no previous file | chrome/common/extensions/api/_features.md » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « no previous file | chrome/common/extensions/api/_features.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698