chore: update _api_features
manifest requirements (#39412)
chore: update api_resources manifest requirements
This commit is contained in:
parent
a0effaf9b8
commit
70508b5273
2 changed files with 15 additions and 5 deletions
|
@ -4,6 +4,15 @@
|
||||||
"extension_types": ["extension"],
|
"extension_types": ["extension"],
|
||||||
"contexts": ["blessed_extension"]
|
"contexts": ["blessed_extension"]
|
||||||
},
|
},
|
||||||
|
"tabs.executeScript": {
|
||||||
|
"max_manifest_version": 2
|
||||||
|
},
|
||||||
|
"tabs.insertCSS": {
|
||||||
|
"max_manifest_version": 2
|
||||||
|
},
|
||||||
|
"tabs.removeCSS": {
|
||||||
|
"max_manifest_version": 2
|
||||||
|
},
|
||||||
"extension": {
|
"extension": {
|
||||||
"channel": "stable",
|
"channel": "stable",
|
||||||
"extension_types": ["extension"],
|
"extension_types": ["extension"],
|
||||||
|
@ -14,7 +23,8 @@
|
||||||
"disallow_for_service_workers": true
|
"disallow_for_service_workers": true
|
||||||
},
|
},
|
||||||
"extension.getURL": {
|
"extension.getURL": {
|
||||||
"contexts": ["blessed_extension", "unblessed_extension", "content_script"]
|
"contexts": ["blessed_extension", "unblessed_extension", "content_script"],
|
||||||
|
"max_manifest_version": 2
|
||||||
},
|
},
|
||||||
"i18n": {
|
"i18n": {
|
||||||
"channel": "stable",
|
"channel": "stable",
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2015 The Chromium Authors. All rights reserved.
|
// Copyright 2015 The Chromium Authors
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
// Use of this source code is governed by a BSD-style license that can be
|
||||||
// found in the LICENSE file.
|
// found in the LICENSE file.
|
||||||
|
|
||||||
|
@ -15,9 +15,9 @@ namespace resourcesPrivate {
|
||||||
// chrome/browser/extensions/api/resources_private/resources_private_api.cc
|
// chrome/browser/extensions/api/resources_private/resources_private_api.cc
|
||||||
// for instructions on adding a new component to this API.
|
// for instructions on adding a new component to this API.
|
||||||
//
|
//
|
||||||
// |component| : Internal chrome component to get strings for.
|
// |component| : Internal Chrome component to get strings for.
|
||||||
// |callback| : Called with a dictionary mapping names to strings.
|
// |callback| : Called with a dictionary mapping names to strings.
|
||||||
static void getStrings(Component component,
|
[supportsPromises] static void getStrings(Component component,
|
||||||
GetStringsCallback callback);
|
GetStringsCallback callback);
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue