OLD | NEW |
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. |
(...skipping 24 matching lines...) Expand all Loading... |
35 "contexts": ["blessed_extension"] | 35 "contexts": ["blessed_extension"] |
36 }, | 36 }, |
37 "alarms": { | 37 "alarms": { |
38 "dependencies": ["permission:alarms"], | 38 "dependencies": ["permission:alarms"], |
39 "contexts": ["blessed_extension"] | 39 "contexts": ["blessed_extension"] |
40 }, | 40 }, |
41 "app": { | 41 "app": { |
42 "blacklist": [ | 42 "blacklist": [ |
43 "2FC374607C2DF285634B67C64A2E356C607091C3", // Quickoffice | 43 "2FC374607C2DF285634B67C64A2E356C607091C3", // Quickoffice |
44 "3727DD3E564B6055387425027AD74C58784ACC15", // Quickoffice internal | 44 "3727DD3E564B6055387425027AD74C58784ACC15", // Quickoffice internal |
45 "12E618C3C6E97495AAECF2AC12DEB082353241C6" // QO component extension | 45 "12E618C3C6E97495AAECF2AC12DEB082353241C6", // QO component extension |
| 46 "06BE211D5F014BAB34BC22D9DDA09C63A81D828E", // Official xkb extension |
| 47 "F94EE6AB36D6C6588670B2B01EB65212D9C64E33" // Open source xkb extension |
46 ], | 48 ], |
47 "channel": "stable", | 49 "channel": "stable", |
48 "extension_types": ["hosted_app", "extension", "legacy_packaged_app"], | 50 "extension_types": ["hosted_app", "extension", "legacy_packaged_app"], |
49 "contexts": [ | 51 "contexts": [ |
50 "blessed_extension", | 52 "blessed_extension", |
51 "unblessed_extension", | 53 "unblessed_extension", |
52 "content_script", | 54 "content_script", |
53 "web_page", | 55 "web_page", |
54 "blessed_web_page" | 56 "blessed_web_page" |
55 ], | 57 ], |
56 // Any webpage can use the app API. | 58 // Any webpage can use the app API. |
57 "matches": ["<all_urls>"] | 59 "matches": ["<all_urls>"] |
58 }, | 60 }, |
59 // The API for the *embedder* of appview. Appview has both an embedder and | 61 // The API for the *embedder* of appview. Appview has both an embedder and |
60 // guest API, which are different. | 62 // guest API, which are different. |
61 "appViewEmbedderInternal": { | 63 "appViewEmbedderInternal": { |
62 "internal": true, | 64 "internal": true, |
63 "contexts": ["blessed_extension"], | 65 "contexts": ["blessed_extension"], |
64 "dependencies": ["permission:appview"] | 66 "dependencies": ["permission:appview"] |
65 }, | 67 }, |
66 // TODO(fsamuel,kalman): Rename this appViewGuestInternal. | 68 // TODO(fsamuel,kalman): Rename this appViewGuestInternal. |
67 "appViewInternal": { | 69 "appViewInternal": { |
68 "internal": true, | 70 "internal": true, |
69 "channel": "dev", | 71 "channel": "dev", |
70 "contexts": ["blessed_extension"] | 72 "contexts": ["blessed_extension"] |
71 }, | 73 }, |
72 "app.window": { | 74 "app.window": [{ |
73 "channel": "stable", | 75 "channel": "stable", |
74 "contexts": ["blessed_extension"], | 76 "contexts": ["blessed_extension"], |
75 "extension_types": ["platform_app"], | 77 "extension_types": ["platform_app"], |
76 "noparent": true | 78 "noparent": true |
77 }, | 79 }, { |
| 80 "channel": "stable", |
| 81 "contexts": ["blessed_extension"], |
| 82 "extension_types": ["extension"], |
| 83 "noparent": true, |
| 84 "whitelist": [ |
| 85 "06BE211D5F014BAB34BC22D9DDA09C63A81D828E", // Official xkb extension |
| 86 "F94EE6AB36D6C6588670B2B01EB65212D9C64E33" // Open source xkb extension |
| 87 ] |
| 88 }], |
78 "app.currentWindowInternal": { | 89 "app.currentWindowInternal": { |
79 "noparent": true, | 90 "noparent": true, |
80 "internal": true, | 91 "internal": true, |
81 "channel": "stable", | 92 "channel": "stable", |
82 "contexts": ["blessed_extension"] | 93 "contexts": ["blessed_extension"] |
83 }, | 94 }, |
84 "app.currentWindowInternal.setShape": { | 95 "app.currentWindowInternal.setShape": { |
85 "dependencies": ["permission:app.window.shape"], | 96 "dependencies": ["permission:app.window.shape"], |
86 "contexts": ["blessed_extension"] | 97 "contexts": ["blessed_extension"] |
87 }, | 98 }, |
(...skipping 766 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
854 "internal": true, | 865 "internal": true, |
855 "channel": "stable", | 866 "channel": "stable", |
856 "dependencies": ["permission:webview"], | 867 "dependencies": ["permission:webview"], |
857 "contexts": ["blessed_extension"] | 868 "contexts": ["blessed_extension"] |
858 }, | 869 }, |
859 "windows": { | 870 "windows": { |
860 "dependencies": ["api:tabs"], | 871 "dependencies": ["api:tabs"], |
861 "contexts": ["blessed_extension"] | 872 "contexts": ["blessed_extension"] |
862 } | 873 } |
863 } | 874 } |
OLD | NEW |