chore: update extensions features (#44683)

* chore: update extensions features

Co-authored-by: Samuel Maddock <samuel.maddock@gmail.com>

* restore header

Co-authored-by: Samuel Maddock <samuel.maddock@gmail.com>

---------

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Samuel Maddock <samuel.maddock@gmail.com>
This commit is contained in:
trop[bot] 2024-11-15 13:16:19 -05:00 committed by GitHub
parent 2ee65f9c10
commit 71d57a7cb2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 308 additions and 20 deletions

View file

@ -1,3 +1,15 @@
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This features file defines extension APIs implemented under src/chrome.
// See chrome/common/extensions/api/_features.md to understand this file, as
// well as feature.h, simple_feature.h, and feature_provider.h.
//
// Note that specifying "web_page", "privileged_web_page", or "all" as a context
// type will require manually updating javascript bindings code in the
// renderer.
{ {
"action": { "action": {
"dependencies": ["manifest:action"], "dependencies": ["manifest:action"],

View file

@ -12,29 +12,94 @@
"extension_types": ["extension"], "extension_types": ["extension"],
"min_manifest_version": 3 "min_manifest_version": 3
}, },
"author": { "browser_action": {
"channel": "stable", "channel": "stable",
"extension_types": "all" "extension_types": ["extension"],
"max_manifest_version": 2
},
"chrome_settings_overrides": {
"channel": "stable",
"extension_types": ["extension"],
"platforms": ["win", "mac"]
},
"chrome_url_overrides": {
"channel": "stable",
"extension_types": ["extension", "legacy_packaged_app"]
}, },
"content_scripts": { "content_scripts": {
"channel": "stable", "channel": "stable",
"extension_types": ["extension"] "extension_types": ["extension", "legacy_packaged_app"]
},
"converted_from_user_script": {
"channel": "stable",
"extension_types": [
"extension", "legacy_packaged_app", "hosted_app"
]
}, },
"devtools_page": { "devtools_page": {
"channel": "stable", "channel": "stable",
"extension_types": ["extension", "legacy_packaged_app"]
},
"file_browser_handlers": {
"channel": "stable",
"extension_types": ["extension", "legacy_packaged_app"]
},
"file_system_provider_capabilities": {
"channel": "stable",
"extension_types": ["extension", "platform_app"]
},
"minimum_chrome_version": {
"channel": "stable",
"extension_types": [
"extension", "legacy_packaged_app", "hosted_app", "platform_app", "theme"
]
},
"natively_connectable": {
"channel": "dev",
"extension_types": ["extension"] "extension_types": ["extension"]
}, },
"host_permissions": { "omnibox": {
"channel": "stable",
"extension_types": ["extension", "legacy_packaged_app"]
},
"optional_permissions": {
"channel": "stable",
"extension_types": [
"extension",
"legacy_packaged_app",
"hosted_app",
"platform_app",
"chromeos_system_extension"
]
},
"platforms": {
"channel": "stable",
"extension_types": "all"
},
"side_panel": {
"channel": "stable", "channel": "stable",
"extension_types": ["extension"], "extension_types": ["extension"],
"min_manifest_version": 3 "min_manifest_version": 3
}, },
"minimum_chrome_version": { "storage": {
"channel": "stable", "channel": "stable",
"extension_types": ["extension"] "extension_types": [
"extension",
"legacy_packaged_app",
"platform_app",
"login_screen_extension"
]
}, },
"short_name": { "theme": {
"channel": "stable", "channel": "stable",
"extension_types": "all" "extension_types": ["theme"]
},
"tts_engine": {
"channel": "stable",
"extension_types": ["extension", "legacy_packaged_app"]
},
"url_handlers": {
"channel": "stable",
"extension_types": ["platform_app"]
} }
} }

View file

@ -1,10 +1,157 @@
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This features file defines permissions for extension APIs implemented
// under src/chrome.
// See chrome/common/extensions/api/_features.md to understand this file, as
// well as feature.h, simple_feature.h, and feature_provider.h.
// If you add a new platform_app permission please update the "stubs_app" test:
// chrome/test/data/extensions/api_test/stubs_app/manifest.json
{ {
"resourcesPrivate": { "accessibilityFeatures.modify": {
"channel": "stable",
"extension_types": ["extension", "platform_app"]
},
"accessibilityFeatures.read": {
"channel": "stable",
"extension_types": ["extension", "platform_app"]
},
"aiLanguageModelOriginTrial": {
"channel": "stable", "channel": "stable",
"extension_types": [ "extension_types": [
"extension" "extension"
], ]
"location": "component" },
"background": {
"channel": "stable",
"extension_types": [
"platform_app", "extension", "legacy_packaged_app", "hosted_app"
]
},
"bookmarks": {
"channel": "stable",
"extension_types": ["extension", "legacy_packaged_app"]
},
"browsingData": {
"channel": "stable",
"extension_types": ["extension", "legacy_packaged_app"]
},
"clipboardRead": {
"channel": "stable",
"extension_types": [
"extension", "legacy_packaged_app", "hosted_app", "platform_app"
]
},
"clipboardWrite": {
"channel": "stable",
"extension_types": [
"extension", "legacy_packaged_app", "hosted_app", "platform_app"
]
},
"contentSettings": {
"channel": "stable",
"extension_types": ["extension", "legacy_packaged_app"]
},
"contextMenus": {
"channel": "stable",
"extension_types": ["extension", "legacy_packaged_app", "platform_app"]
},
"cookies": {
"channel": "stable",
"extension_types": ["extension", "legacy_packaged_app"]
},
"debugger": [
{
"channel": "stable",
"extension_types": ["extension", "legacy_packaged_app"]
},
{
"channel": "stable",
"extension_types": ["platform_app"]
}
],
"declarativeContent": {
"channel": "stable",
"extension_types": ["extension"]
},
"desktopCapture": {
"channel": "stable",
"extension_types": ["extension", "platform_app"]
},
"downloads": {
"channel": "stable",
"extension_types": ["extension"]
},
"downloads.open": {
"channel": "stable",
"extension_types": ["extension"]
},
"downloads.shelf": {
"channel": "stable",
"extension_types": ["extension"]
},
"downloads.ui": {
"channel": "stable",
"extension_types": ["extension"]
},
"experimental": {
"channel": "stable",
"command_line_switch": "experimental-extension-apis",
"extension_types": [
"extension", "legacy_packaged_app", "hosted_app", "platform_app"
]
},
"experimentalAiData": {
"extension_types": ["extension"],
"channel": "dev",
"command_line_switch": "extension-ai-data-collection"
},
"favicon": {
"channel": "stable",
"extension_types": ["extension"]
},
"fontSettings": {
"channel": "stable",
"extension_types": ["extension", "legacy_packaged_app"]
},
"gcm": {
"channel": "stable",
"extension_types": ["extension", "platform_app"]
},
"geolocation": {
"channel": "stable",
"extension_types": [
"extension", "legacy_packaged_app", "hosted_app", "platform_app"
]
},
"history": {
"channel": "stable",
"extension_types": ["extension", "legacy_packaged_app"]
},
"identity": {
"channel": "stable",
"extension_types": ["extension", "platform_app"]
},
"identity.email": {
"channel": "stable",
"extension_types": ["extension", "platform_app"]
},
"idltest": {
"channel": "trunk",
"extension_types": ["extension"]
},
"notifications": {
"channel": "stable",
"extension_types": [
"extension", "legacy_packaged_app", "hosted_app", "platform_app"
]
},
"pageCapture": {
"channel": "stable",
"extension_types": ["extension", "legacy_packaged_app"]
}, },
"pdfViewerPrivate": { "pdfViewerPrivate": {
"channel": "stable", "channel": "stable",
@ -15,23 +162,87 @@
"CBCC42ABED43A4B58FE3810E62AFFA010EB0349F" "CBCC42ABED43A4B58FE3810E62AFFA010EB0349F"
] ]
}, },
"management": { "plugin": {
"channel": "stable", "channel": "stable",
"extension_types": [ "extension_types": ["extension", "legacy_packaged_app"]
"extension"
]
}, },
"tabs": { "privacy": {
"channel": "stable",
"extension_types": ["extension", "legacy_packaged_app"]
},
"proxy": {
"channel": "stable",
"extension_types": ["extension", "legacy_packaged_app"]
},
"readingList": {
"channel": "stable",
"extension_types": ["extension"],
"min_manifest_version": 3
},
"resourcesPrivate": {
"channel": "stable", "channel": "stable",
"extension_types": [ "extension_types": [
"extension" "extension", "legacy_packaged_app", "platform_app"
] ],
"location": "component"
}, },
"scripting": { "scripting": {
"channel": "stable", "channel": "stable",
"extension_types": ["extension"],
"min_manifest_version": 3
},
"search": {
"channel": "stable",
"extension_types": ["extension"]
},
"sessions": {
"channel": "stable",
"extension_types": ["extension", "legacy_packaged_app"]
},
"sidePanel": {
"channel": "stable",
"extension_types": ["extension"],
"min_manifest_version": 3
},
"tabGroups": {
"channel": "stable",
"extension_types": ["extension"],
"min_manifest_version": 3
},
"tabs": {
"channel": "stable",
"extension_types": ["extension", "legacy_packaged_app"]
},
"tabCapture": {
"channel": "stable",
"extension_types": ["extension", "legacy_packaged_app"]
},
"topSites": {
"channel": "stable",
"extension_types": ["extension", "legacy_packaged_app"]
},
"transientBackground": {
"channel": "dev",
"extension_types": [ "extension_types": [
"extension" "extension"
], ]
"min_manifest_version": 3 },
"tts": {
"channel": "stable",
"extension_types": ["extension", "legacy_packaged_app", "platform_app"]
},
"ttsEngine": {
"channel": "stable",
"extension_types": ["extension", "legacy_packaged_app"]
},
"webAuthenticationProxy": {
"channel": "stable",
"extension_types": ["extension"],
"min_manifest_version": 3,
"platforms": ["win", "linux", "mac"]
},
"webNavigation": {
"channel": "stable",
"extension_types": ["extension", "legacy_packaged_app"]
} }
} }