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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 "contexts": ["blessed_extension"], | 46 "contexts": ["blessed_extension"], |
47 "extension_types": ["extension"], | 47 "extension_types": ["extension"], |
48 "noparent": true, | 48 "noparent": true, |
49 "component_extensions_auto_granted": false, | 49 "component_extensions_auto_granted": false, |
50 "whitelist": [ | 50 "whitelist": [ |
51 "B9EF10DDFEA11EF77873CC5009809E5037FC4C7A", // Google input tools | 51 "B9EF10DDFEA11EF77873CC5009809E5037FC4C7A", // Google input tools |
52 "06BE211D5F014BAB34BC22D9DDA09C63A81D828E", // Official xkb extension | 52 "06BE211D5F014BAB34BC22D9DDA09C63A81D828E", // Official xkb extension |
53 "F94EE6AB36D6C6588670B2B01EB65212D9C64E33" // Open source xkb extension | 53 "F94EE6AB36D6C6588670B2B01EB65212D9C64E33" // Open source xkb extension |
54 ] | 54 ] |
55 }], | 55 }], |
56 // This does not need to be a complex feature if we could set "noparent" here. | |
57 // But set "noparent" makes this feature available on stable channel. The | |
58 // issue is tracked in crbug.com/415750. | |
59 "app.window.canSetVisibleOnAllWorkspaces": [{ | |
60 "contexts": ["blessed_extension"], | |
61 "channel": "dev" | |
62 }], | |
63 "app.currentWindowInternal": { | 56 "app.currentWindowInternal": { |
64 "noparent": true, | 57 "noparent": true, |
65 "internal": true, | 58 "internal": true, |
66 "channel": "stable", | 59 "channel": "stable", |
67 "contexts": ["blessed_extension"] | 60 "contexts": ["blessed_extension"] |
68 }, | 61 }, |
69 "app.currentWindowInternal.setShape": { | 62 "app.currentWindowInternal.setShape": { |
70 "dependencies": ["permission:app.window.shape"], | 63 "dependencies": ["permission:app.window.shape"], |
71 "contexts": ["blessed_extension"] | 64 "contexts": ["blessed_extension"] |
72 }, | 65 }, |
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
423 }], | 416 }], |
424 "webViewRequest": [{ | 417 "webViewRequest": [{ |
425 "dependencies": ["permission:webview"], | 418 "dependencies": ["permission:webview"], |
426 "contexts": ["blessed_extension"] | 419 "contexts": ["blessed_extension"] |
427 }, { | 420 }, { |
428 "channel": "stable", | 421 "channel": "stable", |
429 "contexts": ["webui"], | 422 "contexts": ["webui"], |
430 "matches": ["chrome://chrome-signin/*", "chrome://oobe/*"] | 423 "matches": ["chrome://chrome-signin/*", "chrome://oobe/*"] |
431 }] | 424 }] |
432 } | 425 } |
OLD | NEW |