1// Copyright (c) 2012 The Chromium Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5// This file defines permissions for extension APIs implemented by CEF. 6// See extensions/common/features/* to understand this file, in particular 7// feature.h, simple_feature.h, and feature_provider.h. 8 9// If APIs are defined in chrome then entries must also be added in 10// libcef/browser/extensions/chrome_api_registration.cc. 11 12{ 13 // From chrome/common/extensions/api/_permission_features.json. 14 // Required by the PDF extension which is hosted in a guest view. 15 "contentSettings": { 16 "channel": "stable", 17 "extension_types": ["extension", "legacy_packaged_app"] 18 }, 19 "resourcesPrivate": { 20 "channel": "stable", 21 "extension_types": [ 22 "extension", "legacy_packaged_app", "platform_app" 23 ], 24 "location": "component" 25 }, 26 "tabs": [ 27 { 28 "channel": "stable", 29 "extension_types": ["extension", "legacy_packaged_app"] 30 }, 31 { 32 "channel": "stable", 33 "extension_types": ["platform_app"] 34 } 35 ] 36} 37