| // Copyright 2018 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| // This file defines extension APIs implemented under src/chromecast. |
| // See extensions/common/features/* to understand this file, in particular |
| // feature.h, simple_feature.h, and feature_provider.h. |
| |
| { |
| "accessibilityPrivate": { |
| "dependencies": ["permission:accessibilityPrivate"], |
| "contexts": ["blessed_extension"] |
| }, |
| "brailleDisplayPrivate": { |
| "dependencies": ["permission:brailleDisplayPrivate"], |
| "contexts": ["blessed_extension"] |
| }, |
| "commandLinePrivate": { |
| "dependencies": ["permission:commandLinePrivate"], |
| "contexts": ["blessed_extension"] |
| }, |
| "i18n": { |
| "channel": "stable", |
| "extension_types": ["extension", "legacy_packaged_app", "platform_app"], |
| "contexts": ["blessed_extension", "unblessed_extension", "content_script", |
| "lock_screen_extension"] |
| }, |
| "extension": { |
| "channel": "stable", |
| "extension_types": ["extension", "legacy_packaged_app"], |
| "contexts": ["blessed_extension"] |
| }, |
| "extension.getURL": { |
| "contexts": ["blessed_extension", "unblessed_extension", "content_script"] |
| }, |
| "extension.getViews": [ |
| { |
| "channel": "stable", |
| "contexts": ["blessed_extension"], |
| "extension_types": ["extension", "legacy_packaged_app"] |
| }, |
| { |
| // TODO(yoz): Eliminate this usage. |
| "channel": "stable", |
| "contexts": ["blessed_extension"], |
| "extension_types": ["platform_app"], |
| "whitelist": [ |
| "A948368FC53BE437A55FEB414106E207925482F5" // File manager |
| ] |
| } |
| ], |
| "extension.inIncognitoContext": { |
| "contexts": ["blessed_extension", "unblessed_extension", "content_script"] |
| }, |
| "extension.lastError": { |
| "contexts": ["blessed_extension", "unblessed_extension", "content_script"] |
| }, |
| "extension.onRequest": { |
| "contexts": ["blessed_extension", "unblessed_extension", "content_script"] |
| }, |
| "extension.sendRequest": { |
| "contexts": ["blessed_extension", "unblessed_extension", "content_script"] |
| }, |
| // Stub implementation of chrome.identity for app_shell. |
| "identity": { |
| "channel": "dev", |
| "contexts": ["blessed_extension"], |
| "extension_types": ["platform_app"] |
| }, |
| "notifications": { |
| "dependencies": ["permission:notifications"], |
| "contexts": ["blessed_extension"] |
| }, |
| // Setup related functions for a Google Cloud Devices (GCD) target device. |
| "shell.gcd": { |
| "channel": "dev", |
| "contexts": ["blessed_extension"], |
| "extension_types": ["platform_app"] |
| }, |
| "bookmarks": [{ |
| "dependencies": ["permission:bookmarks"], |
| "contexts": ["blessed_extension"], |
| "default_parent": true |
| }, { |
| "channel": "stable", |
| "contexts": ["webui"], |
| "matches": [ |
| "chrome://bookmarks/*" |
| ] |
| }], |
| "settingsPrivate": [{ |
| "dependencies": ["permission:settingsPrivate"], |
| "contexts": ["blessed_extension"] |
| }, { |
| "channel": "stable", |
| "contexts": ["webui"], |
| "matches": [ |
| "chrome://settings/*" |
| ] |
| }], |
| "tabs": [{ |
| "channel": "stable", |
| "extension_types": ["extension", "legacy_packaged_app"], |
| "contexts": ["blessed_extension"] |
| }, { |
| "channel": "stable", |
| "contexts": ["webui"], |
| "matches": [ |
| "chrome://bookmarks/*" |
| ] |
| }], |
| "tts": { |
| "dependencies": ["permission:tts"], |
| "contexts": ["blessed_extension"] |
| }, |
| "windows": [{ |
| "dependencies": ["api:tabs"], |
| "contexts": ["blessed_extension"] |
| }, { |
| "channel": "stable", |
| "contexts": ["webui"], |
| "matches": [ |
| "chrome://bookmarks/*" |
| ] |
| }] |
| } |