74db00fc创建于 2021年3月18日历史提交
// 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"]
  },
  "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"]
    }
  ]
}