Associate ClipboardCustomFormats flag with ExperimentalWebPlatformFeatures.
This change associates kClipboardCustomFormats flag with kEnableExperimentalWebPlatformFeatures so developers can just enable the clipboard custom format feature by enabling the experimental web platform feature flag in chrome://flags. Bug: 106449 Change-Id: I2859ab2cc1f190914fab9c96aab71f175d26b0f2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3367332 Reviewed-by: Alexander Timin <altimin@chromium.org> Commit-Queue: Anupam Snigdha <snianu@microsoft.com> Cr-Commit-Position: refs/heads/main@{#957190}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
1aaae98a78
commit
8fc216219e
content
@ -345,6 +345,7 @@ void SetRuntimeFeaturesFromChromiumFeatures() {
|
||||
{"AutofillShadowDOM", blink::features::kAutofillShadowDOM},
|
||||
{"AndroidDownloadableFontsMatching",
|
||||
features::kAndroidDownloadableFontsMatching},
|
||||
{"ClipboardCustomFormats", blink::features::kClipboardCustomFormats},
|
||||
{"COLRV1Fonts", blink::features::kCOLRV1Fonts},
|
||||
{"CSSContainerQueries", blink::features::kCSSContainerQueries},
|
||||
{"ComputePressure", blink::features::kComputePressure,
|
||||
|
@ -98,6 +98,9 @@ GetSwitchDependentFeatureOverrides(const base::CommandLine& command_line) {
|
||||
{switches::kEnableExperimentalWebPlatformFeatures,
|
||||
std::cref(blink::features::kClientHintThirdPartyDelegation),
|
||||
base::FeatureList::OVERRIDE_ENABLE_FEATURE},
|
||||
{switches::kEnableExperimentalWebPlatformFeatures,
|
||||
std::cref(blink::features::kClipboardCustomFormats),
|
||||
base::FeatureList::OVERRIDE_ENABLE_FEATURE},
|
||||
|
||||
// Overrides for --enable-experimental-cookie-features.
|
||||
{switches::kEnableExperimentalCookieFeatures,
|
||||
|
Reference in New Issue
Block a user