2016-07-20 20:03:38 +02:00
|
|
|
// 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
|
2017-03-03 23:37:23 +01:00
|
|
|
// feature.h, simple_feature.h, and feature_provider.h.
|
2016-07-20 20:03:38 +02:00
|
|
|
|
|
|
|
// 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.
|
2018-06-08 18:53:10 +02:00
|
|
|
"contentSettings": {
|
|
|
|
"channel": "stable",
|
|
|
|
"extension_types": ["extension", "legacy_packaged_app"]
|
|
|
|
},
|
2023-01-30 18:43:54 +01:00
|
|
|
"pdfViewerPrivate": {
|
|
|
|
"channel": "stable",
|
|
|
|
"extension_types": ["extension"],
|
|
|
|
"allowlist": [
|
|
|
|
"CBCC42ABED43A4B58FE3810E62AFFA010EB0349F" // PDF Viewer
|
|
|
|
]
|
|
|
|
},
|
2016-07-20 20:03:38 +02:00
|
|
|
"resourcesPrivate": {
|
|
|
|
"channel": "stable",
|
|
|
|
"extension_types": [
|
|
|
|
"extension", "legacy_packaged_app", "platform_app"
|
|
|
|
],
|
|
|
|
"location": "component"
|
|
|
|
},
|
|
|
|
"tabs": [
|
|
|
|
{
|
|
|
|
"channel": "stable",
|
|
|
|
"extension_types": ["extension", "legacy_packaged_app"]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"channel": "stable",
|
2021-03-04 23:36:57 +01:00
|
|
|
"extension_types": ["platform_app"]
|
2016-07-20 20:03:38 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|