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, | |
Ken Rockot(use gerrit already)
2014/09/28 20:56:35
Due to the particularly gnarly bug which prevents
bshe
2014/09/29 01:34:04
Thanks for your suggestion, Really appreciate! I h
| |
49 "whitelist": [ | |
50 "06BE211D5F014BAB34BC22D9DDA09C63A81D828E", // Official xkb extension | |
51 "F94EE6AB36D6C6588670B2B01EB65212D9C64E33" // Open source xkb extension | |
52 ] | |
53 }], | |
54 // This does not need to be a complex feature if we could set "noparent" here. | |
55 // But set "noparent" makes this feature available on stable channel. The | |
56 // issue is tracked in crbug.com/415750. | |
57 "app.window.canSetVisibleOnAllWorkspaces": [{ | |
58 "contexts": ["blessed_extension"], | |
46 "channel": "dev" | 59 "channel": "dev" |
47 }, | 60 }], |
48 "app.currentWindowInternal": { | 61 "app.currentWindowInternal": { |
49 "noparent": true, | 62 "noparent": true, |
50 "internal": true, | 63 "internal": true, |
51 "channel": "stable", | 64 "channel": "stable", |
52 "contexts": ["blessed_extension"] | 65 "contexts": ["blessed_extension"] |
53 }, | 66 }, |
54 "app.currentWindowInternal.setShape": { | 67 "app.currentWindowInternal.setShape": { |
55 "dependencies": ["permission:app.window.shape"], | 68 "dependencies": ["permission:app.window.shape"], |
56 "contexts": ["blessed_extension"] | 69 "contexts": ["blessed_extension"] |
57 }, | 70 }, |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
252 "dependencies": ["permission:webview"], | 265 "dependencies": ["permission:webview"], |
253 "contexts": ["blessed_extension"] | 266 "contexts": ["blessed_extension"] |
254 }, { | 267 }, { |
255 // Component extensions can use the webViewInternal API from iframes. | 268 // Component extensions can use the webViewInternal API from iframes. |
256 "location": "component", | 269 "location": "component", |
257 "internal": true, | 270 "internal": true, |
258 "dependencies": ["permission:webview"], | 271 "dependencies": ["permission:webview"], |
259 "contexts": ["unblessed_extension"] | 272 "contexts": ["unblessed_extension"] |
260 }] | 273 }] |
261 } | 274 } |
OLD | NEW |