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 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 18 matching lines...) Expand all Loading... |
29 "component_extensions_auto_granted": false, | 29 "component_extensions_auto_granted": false, |
30 "contexts": ["blessed_extension"], | 30 "contexts": ["blessed_extension"], |
31 "extension_types": ["extension"], | 31 "extension_types": ["extension"], |
32 "noparent": true, | 32 "noparent": true, |
33 "whitelist": [ | 33 "whitelist": [ |
34 "2FC374607C2DF285634B67C64A2E356C607091C3", // Quickoffice | 34 "2FC374607C2DF285634B67C64A2E356C607091C3", // Quickoffice |
35 "3727DD3E564B6055387425027AD74C58784ACC15", // Quickoffice internal | 35 "3727DD3E564B6055387425027AD74C58784ACC15", // Quickoffice internal |
36 "12E618C3C6E97495AAECF2AC12DEB082353241C6" // QO component extension | 36 "12E618C3C6E97495AAECF2AC12DEB082353241C6" // QO component extension |
37 ] | 37 ] |
38 }], | 38 }], |
39 "app.window": { | 39 "app.window": [{ |
40 "channel": "stable", | 40 "channel": "stable", |
41 "contexts": ["blessed_extension"], | 41 "contexts": ["blessed_extension"], |
42 "extension_types": ["platform_app"], | 42 "extension_types": ["platform_app"], |
43 "noparent": true | 43 "noparent": true |
44 }, | 44 }, { |
45 "app.window.canSetVisibleOnAllWorkspaces": { | 45 "channel": "stable", |
| 46 "contexts": ["blessed_extension"], |
| 47 "extension_types": ["extension"], |
| 48 "noparent": true, |
| 49 "component_extensions_auto_granted": false, |
| 50 "whitelist": [ |
| 51 "06BE211D5F014BAB34BC22D9DDA09C63A81D828E", // Official xkb extension |
| 52 "F94EE6AB36D6C6588670B2B01EB65212D9C64E33" // Open source xkb extension |
| 53 ] |
| 54 }], |
| 55 // This does not need to be a complex feature if we could set "noparent" here. |
| 56 // But set "noparent" makes this feature available on stable channel. The |
| 57 // issue is tracked in crbug.com/415750. |
| 58 "app.window.canSetVisibleOnAllWorkspaces": [{ |
| 59 "contexts": ["blessed_extension"], |
46 "channel": "dev" | 60 "channel": "dev" |
47 }, | 61 }], |
48 "app.currentWindowInternal": { | 62 "app.currentWindowInternal": { |
49 "noparent": true, | 63 "noparent": true, |
50 "internal": true, | 64 "internal": true, |
51 "channel": "stable", | 65 "channel": "stable", |
52 "contexts": ["blessed_extension"] | 66 "contexts": ["blessed_extension"] |
53 }, | 67 }, |
54 "app.currentWindowInternal.setShape": { | 68 "app.currentWindowInternal.setShape": { |
55 "dependencies": ["permission:app.window.shape"], | 69 "dependencies": ["permission:app.window.shape"], |
56 "contexts": ["blessed_extension"] | 70 "contexts": ["blessed_extension"] |
57 }, | 71 }, |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
249 "internal": true, | 263 "internal": true, |
250 "dependencies": ["permission:webview"], | 264 "dependencies": ["permission:webview"], |
251 "contexts": ["blessed_extension"] | 265 "contexts": ["blessed_extension"] |
252 }, { | 266 }, { |
253 "internal": true, | 267 "internal": true, |
254 "channel": "dev", | 268 "channel": "dev", |
255 "contexts": ["webui"], | 269 "contexts": ["webui"], |
256 "matches": ["chrome://chrome-signin/*"] | 270 "matches": ["chrome://chrome-signin/*"] |
257 }] | 271 }] |
258 } | 272 } |
OLD | NEW |