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

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

Issue 265503003: Enable file_handlers and chrome.app.runtime for QuickOffice. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Feedback, less hacky Created 6 years, 7 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 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.
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
12 { 21 {
13 "accessibilityFeatures": [{ 22 "accessibilityFeatures": [{
14 "platforms": ["chromeos"], 23 "platforms": ["chromeos"],
15 "dependencies": ["permission:accessibilityFeatures.modify"], 24 "dependencies": ["permission:accessibilityFeatures.modify"],
16 "contexts": ["blessed_extension"] 25 "contexts": ["blessed_extension"]
17 }, { 26 }, {
18 "platforms": ["chromeos"], 27 "platforms": ["chromeos"],
19 "dependencies": ["permission:accessibilityFeatures.read"], 28 "dependencies": ["permission:accessibilityFeatures.read"],
20 "contexts": ["blessed_extension"] 29 "contexts": ["blessed_extension"]
21 }], 30 }],
22 "activityLogPrivate": { 31 "activityLogPrivate": {
23 "dependencies": ["permission:activityLogPrivate"], 32 "dependencies": ["permission:activityLogPrivate"],
24 "contexts": ["blessed_extension"] 33 "contexts": ["blessed_extension"]
25 }, 34 },
26 "adview": { 35 "adview": {
27 "dependencies": ["permission:adview"], 36 "dependencies": ["permission:adview"],
28 "contexts": ["blessed_extension"] 37 "contexts": ["blessed_extension"]
29 }, 38 },
30 "alarms": { 39 "alarms": {
31 "dependencies": ["permission:alarms"], 40 "dependencies": ["permission:alarms"],
32 "contexts": ["blessed_extension"] 41 "contexts": ["blessed_extension"]
33 }, 42 },
34 "app": { 43 "app": {
44 "blacklist": [
45 "2FC374607C2DF285634B67C64A2E356C607091C3", // Quickoffice
46 "3727DD3E564B6055387425027AD74C58784ACC15", // Quickoffice internal
47 "12E618C3C6E97495AAECF2AC12DEB082353241C6" // QO component extension
48 ],
35 "channel": "stable", 49 "channel": "stable",
36 "extension_types": ["hosted_app", "extension", "legacy_packaged_app"], 50 "extension_types": ["hosted_app", "extension", "legacy_packaged_app"],
37 "contexts": [ 51 "contexts": [
38 "blessed_extension", 52 "blessed_extension",
39 "unblessed_extension", 53 "unblessed_extension",
40 "content_script", 54 "content_script",
41 "web_page", 55 "web_page",
42 "blessed_web_page" 56 "blessed_web_page"
43 ], 57 ],
44 "matches": [ 58 "matches": [
45 "http://*/*", "https://*/*", "chrome-extension://*/*", "file://*/*" 59 "http://*/*", "https://*/*", "chrome-extension://*/*", "file://*/*"
46 ] 60 ]
47 }, 61 },
48 "app.runtime": { 62 "app.runtime": [{
49 "channel": "stable", 63 "channel": "stable",
50 "contexts": ["blessed_extension"], 64 "contexts": ["blessed_extension"],
51 "extension_types": ["platform_app"], 65 "extension_types": ["platform_app"],
52 "noparent": true 66 "noparent": true
53 }, 67 }, {
68 "channel": "stable",
69 "component_extensions_auto_granted": false,
70 "contexts": ["blessed_extension"],
71 "extension_types": ["extension"],
72 "noparent": true,
73 "whitelist": [
74 "2FC374607C2DF285634B67C64A2E356C607091C3", // Quickoffice
75 "3727DD3E564B6055387425027AD74C58784ACC15", // Quickoffice internal
76 "12E618C3C6E97495AAECF2AC12DEB082353241C6" // QO component extension
77 ]
78 }],
54 "app.window": { 79 "app.window": {
55 "channel": "stable", 80 "channel": "stable",
56 "contexts": ["blessed_extension"], 81 "contexts": ["blessed_extension"],
57 "extension_types": ["platform_app"], 82 "extension_types": ["platform_app"],
58 "noparent": true 83 "noparent": true
59 }, 84 },
60 "app.currentWindowInternal": { 85 "app.currentWindowInternal": {
61 "noparent": true, 86 "noparent": true,
62 "internal": true, 87 "internal": true,
63 "channel": "stable", 88 "channel": "stable",
(...skipping 729 matching lines...) Expand 10 before | Expand all | Expand 10 after
793 "internal": true, 818 "internal": true,
794 "channel": "stable", 819 "channel": "stable",
795 "dependencies": ["permission:webview"], 820 "dependencies": ["permission:webview"],
796 "contexts": ["blessed_extension"] 821 "contexts": ["blessed_extension"]
797 }, 822 },
798 "windows": { 823 "windows": {
799 "dependencies": ["api:tabs"], 824 "dependencies": ["api:tabs"],
800 "contexts": ["blessed_extension"] 825 "contexts": ["blessed_extension"]
801 } 826 }
802 } 827 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/startup/startup_browser_creator_impl.cc ('k') | chrome/common/extensions/api/_manifest_features.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698