• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright 2014 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 extension APIs implemented in 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/_api_features.json.
14  // Required by the PDF extension which is hosted in a guest view.
15  "contentSettings": {
16    "dependencies": ["permission:contentSettings"],
17    "contexts": ["blessed_extension"]
18  },
19  "mimeHandlerViewGuestInternal": {
20    "internal": true,
21    "contexts": "all",
22    "channel": "stable",
23    "matches": ["<all_urls>"]
24  },
25  "resourcesPrivate": [
26    {
27      "dependencies": ["permission:resourcesPrivate"],
28      "contexts": ["blessed_extension"]
29    },
30    {
31      "channel": "stable",
32      "contexts": ["webui"],
33      "matches": ["chrome://print/*"]
34    }
35  ],
36  "tabs": {
37    "channel": "stable",
38    "extension_types": ["extension", "legacy_packaged_app"],
39    "contexts": ["blessed_extension"],
40    "disallow_for_service_workers": false
41  }
42}
43