cef/libcef/common/extensions/api/_permission_features.json

44 lines
1.3 KiB
JSON
Raw Normal View History

// Copyright (c) 2012 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 permissions for extension APIs implemented by CEF.
// See extensions/common/features/* to understand this file, in particular
// feature.h, simple_feature.h, and feature_provider.h.
// If APIs are defined in chrome then entries must also be added in
// libcef/browser/extensions/chrome_api_registration.cc.
{
// From chrome/common/extensions/api/_permission_features.json.
// Required by the PDF extension which is hosted in a guest view.
"contentSettings": {
"channel": "stable",
"extension_types": ["extension", "legacy_packaged_app"]
},
"pdfViewerPrivate": {
"channel": "stable",
"extension_types": ["extension"],
"allowlist": [
"CBCC42ABED43A4B58FE3810E62AFFA010EB0349F" // PDF Viewer
]
},
"resourcesPrivate": {
"channel": "stable",
"extension_types": [
"extension", "legacy_packaged_app", "platform_app"
],
"location": "component"
},
"tabs": [
{
"channel": "stable",
"extension_types": ["extension", "legacy_packaged_app"]
},
{
"channel": "stable",
"extension_types": ["platform_app"]
}
]
}