| 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 chrome/common/extensions/api/_features.md to understand this file, as | 6 // See chrome/common/extensions/api/_features.md to understand this file, as |
| 7 // well as feature.h, simple_feature.h, and feature_provider.h. | 7 // well as feature.h, simple_feature.h, and 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 { | 12 { |
| 13 "alarms": { | 13 "alarms": { |
| 14 "dependencies": ["permission:alarms"], | 14 "dependencies": ["permission:alarms"], |
| 15 "contexts": ["blessed_extension"] | 15 "contexts": ["blessed_extension"] |
| 16 }, | 16 }, |
| 17 "app.runtime": [{ | 17 "app.runtime": [{ |
| 18 "channel": "stable", | 18 "channel": "stable", |
| 19 "contexts": ["blessed_extension"], | 19 "contexts": ["blessed_extension", "lock_screen_extension"], |
| 20 "extension_types": ["platform_app"], | 20 "extension_types": ["platform_app"], |
| 21 "noparent": true | 21 "noparent": true |
| 22 }, { | 22 }, { |
| 23 "channel": "stable", | 23 "channel": "stable", |
| 24 "component_extensions_auto_granted": false, | 24 "component_extensions_auto_granted": false, |
| 25 "contexts": ["blessed_extension"], | 25 "contexts": ["blessed_extension"], |
| 26 "extension_types": ["extension"], | 26 "extension_types": ["extension"], |
| 27 "noparent": true, | 27 "noparent": true, |
| 28 "whitelist": [ | 28 "whitelist": [ |
| 29 "2FC374607C2DF285634B67C64A2E356C607091C3", // Quickoffice | 29 "2FC374607C2DF285634B67C64A2E356C607091C3", // Quickoffice |
| 30 "3727DD3E564B6055387425027AD74C58784ACC15", // Quickoffice internal | 30 "3727DD3E564B6055387425027AD74C58784ACC15", // Quickoffice internal |
| 31 "12E618C3C6E97495AAECF2AC12DEB082353241C6" // QO component extension | 31 "12E618C3C6E97495AAECF2AC12DEB082353241C6" // QO component extension |
| 32 ] | 32 ] |
| 33 }], | 33 }], |
| 34 "app.window": [{ | 34 "app.window": [{ |
| 35 "channel": "stable", | 35 "channel": "stable", |
| 36 "contexts": ["blessed_extension"], | 36 "contexts": ["blessed_extension", "lock_screen_extension"], |
| 37 "extension_types": ["platform_app"], | 37 "extension_types": ["platform_app"], |
| 38 "noparent": true | 38 "noparent": true |
| 39 }, { | 39 }, { |
| 40 "channel": "stable", | 40 "channel": "stable", |
| 41 "contexts": ["blessed_extension"], | 41 "contexts": ["blessed_extension"], |
| 42 "extension_types": ["extension"], | 42 "extension_types": ["extension"], |
| 43 "noparent": true, | 43 "noparent": true, |
| 44 "component_extensions_auto_granted": false, | 44 "component_extensions_auto_granted": false, |
| 45 "whitelist": [ | 45 "whitelist": [ |
| 46 "B9EF10DDFEA11EF77873CC5009809E5037FC4C7A", // Google input tools | 46 "B9EF10DDFEA11EF77873CC5009809E5037FC4C7A", // Google input tools |
| 47 "06BE211D5F014BAB34BC22D9DDA09C63A81D828E", // Official xkb extension | 47 "06BE211D5F014BAB34BC22D9DDA09C63A81D828E", // Official xkb extension |
| 48 "F94EE6AB36D6C6588670B2B01EB65212D9C64E33" // Open source xkb extension | 48 "F94EE6AB36D6C6588670B2B01EB65212D9C64E33" // Open source xkb extension |
| 49 ] | 49 ] |
| 50 }], | 50 }], |
| 51 "app.currentWindowInternal": { | 51 "app.currentWindowInternal": { |
| 52 "noparent": true, | 52 "noparent": true, |
| 53 "internal": true, | 53 "internal": true, |
| 54 "channel": "stable", | 54 "channel": "stable", |
| 55 "contexts": ["blessed_extension"] | 55 "contexts": ["blessed_extension", "lock_screen_extension"] |
| 56 }, | 56 }, |
| 57 "app.currentWindowInternal.setShape": { | 57 "app.currentWindowInternal.setShape": { |
| 58 "dependencies": ["permission:app.window.shape"], | 58 "dependencies": ["permission:app.window.shape"], |
| 59 "contexts": ["blessed_extension"] | 59 "contexts": ["blessed_extension"] |
| 60 }, | 60 }, |
| 61 // 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 |
| 62 // guest API, which are different. | 62 // guest API, which are different. |
| 63 "appViewEmbedderInternal": { | 63 "appViewEmbedderInternal": { |
| 64 "internal": true, | 64 "internal": true, |
| 65 "contexts": ["blessed_extension"], | 65 "contexts": ["blessed_extension"], |
| (...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 545 }, { | 545 }, { |
| 546 "channel": "stable", | 546 "channel": "stable", |
| 547 "contexts": ["webui"], | 547 "contexts": ["webui"], |
| 548 "matches": [ | 548 "matches": [ |
| 549 "chrome://chrome-signin/*", | 549 "chrome://chrome-signin/*", |
| 550 "chrome://media-router/*", | 550 "chrome://media-router/*", |
| 551 "chrome://oobe/*" | 551 "chrome://oobe/*" |
| 552 ] | 552 ] |
| 553 }] | 553 }] |
| 554 } | 554 } |
| OLD | NEW |