blob: 13650c48e90ef4fbe14b5d8044230fe269d9a8a3 [file] [log] [blame]
// 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.
#include "chrome/browser/about_flags.h"
#include <iterator>
#include <map>
#include <set>
#include <utility>
#include "ash/public/cpp/app_list/app_list_features.h"
#include "ash/public/cpp/keyboard/keyboard_switches.h"
#include "base/base_switches.h"
#include "base/bind.h"
#include "base/callback.h"
#include "base/command_line.h"
#include "base/feature_list.h"
#include "base/i18n/base_i18n_switches.h"
#include "base/memory/singleton.h"
#include "base/metrics/histogram_functions.h"
#include "base/metrics/metrics_hashes.h"
#include "base/stl_util.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
#include "base/values.h"
#include "build/build_config.h"
#include "cc/base/switches.h"
#include "chrome/browser/browser_features.h"
#include "chrome/browser/flag_descriptions.h"
#include "chrome/browser/predictors/loading_predictor_config.h"
#include "chrome/browser/predictors/resource_prefetch_common.h"
#include "chrome/browser/prerender/prerender_field_trial.h"
#include "chrome/browser/resource_coordinator/tab_manager_features.h"
#include "chrome/browser/search/ntp_features.h"
#include "chrome/browser/signin/account_consistency_mode_manager.h"
#include "chrome/browser/ssl/chrome_ssl_host_state_delegate.h"
#include "chrome/browser/ui/ui_features.h"
#include "chrome/common/buildflags.h"
#include "chrome/common/channel_info.h"
#include "chrome/common/chrome_content_client.h"
#include "chrome/common/chrome_features.h"
#include "chrome/common/chrome_switches.h"
#include "chromeos/components/proximity_auth/switches.h"
#include "components/assist_ranker/predictor_config_definitions.h"
#include "components/autofill/core/browser/autofill_experiments.h"
#include "components/autofill/core/common/autofill_features.h"
#include "components/autofill/core/common/autofill_payments_features.h"
#include "components/autofill/core/common/autofill_switches.h"
#include "components/autofill/core/common/autofill_util.h"
#include "components/autofill_assistant/browser/features.h"
#include "components/browser_sync/browser_sync_switches.h"
#include "components/cloud_devices/common/cloud_devices_switches.h"
#include "components/contextual_search/core/browser/public.h"
#include "components/data_reduction_proxy/core/common/data_reduction_proxy_features.h"
#include "components/data_reduction_proxy/core/common/data_reduction_proxy_switches.h"
#include "components/dom_distiller/core/dom_distiller_switches.h"
#include "components/download/public/common/download_features.h"
#include "components/error_page/common/error_page_switches.h"
#include "components/favicon/core/features.h"
#include "components/feature_engagement/buildflags.h"
#include "components/feature_engagement/public/feature_constants.h"
#include "components/feature_engagement/public/feature_list.h"
#include "components/feed/feed_feature_list.h"
#include "components/flags_ui/feature_entry.h"
#include "components/flags_ui/feature_entry_macros.h"
#include "components/flags_ui/flags_storage.h"
#include "components/flags_ui/flags_ui_switches.h"
#include "components/invalidation/impl/invalidation_switches.h"
#include "components/language/core/common/language_experiments.h"
#include "components/nacl/common/buildflags.h"
#include "components/nacl/common/nacl_switches.h"
#include "components/network_session_configurator/common/network_features.h"
#include "components/network_session_configurator/common/network_switches.h"
#include "components/ntp_snippets/features.h"
#include "components/ntp_snippets/ntp_snippets_constants.h"
#include "components/ntp_tiles/features.h"
#include "components/offline_pages/core/offline_page_feature.h"
#include "components/omnibox/browser/omnibox_field_trial.h"
#include "components/omnibox/common/omnibox_features.h"
#include "components/password_manager/core/common/password_manager_features.h"
#include "components/payments/core/features.h"
#include "components/previews/core/previews_features.h"
#include "components/previews/core/previews_switches.h"
#include "components/printing/browser/features.h"
#include "components/safe_browsing/features.h"
#include "components/security_state/core/features.h"
#include "components/security_state/core/security_state.h"
#include "components/send_tab_to_self/features.h"
#include "components/services/heap_profiling/public/cpp/switches.h"
#include "components/signin/core/browser/account_reconcilor.h"
#include "components/signin/core/browser/signin_buildflags.h"
#include "components/signin/core/browser/signin_switches.h"
#include "components/spellcheck/common/spellcheck_features.h"
#include "components/spellcheck/spellcheck_buildflags.h"
#include "components/sync/driver/sync_driver_switches.h"
#include "components/tracing/common/tracing_switches.h"
#include "components/translate/core/browser/translate_prefs.h"
#include "components/translate/core/browser/translate_ranker_impl.h"
#include "components/ui_devtools/switches.h"
#include "components/unified_consent/feature.h"
#include "components/version_info/version_info.h"
#include "components/viz/common/features.h"
#include "components/viz/common/switches.h"
#include "content/public/common/buildflags.h"
#include "content/public/common/content_features.h"
#include "content/public/common/content_switches.h"
#include "device/base/features.h"
#include "device/fido/features.h"
#include "device/vr/buildflags/buildflags.h"
#include "extensions/buildflags/buildflags.h"
#include "gpu/config/gpu_finch_features.h"
#include "gpu/config/gpu_switches.h"
#include "media/audio/audio_features.h"
#include "media/base/media_switches.h"
#include "media/media_buildflags.h"
#include "media/midi/midi_switches.h"
#include "media/webrtc/webrtc_switches.h"
#include "net/base/features.h"
#include "net/nqe/effective_connection_type.h"
#include "net/nqe/network_quality_estimator_params.h"
#include "net/websockets/websocket_basic_handshake_stream.h"
#include "pdf/buildflags.h"
#include "ppapi/buildflags/buildflags.h"
#include "printing/buildflags/buildflags.h"
#include "services/device/public/cpp/device_features.h"
#include "services/media_session/public/cpp/features.h"
#include "services/network/public/cpp/features.h"
#include "services/network/public/cpp/network_switches.h"
#include "services/service_manager/sandbox/switches.h"
#include "storage/browser/fileapi/file_system_features.h"
#include "third_party/blink/public/common/experiments/memory_ablation_experiment.h"
#include "third_party/blink/public/common/features.h"
#include "third_party/leveldatabase/leveldb_features.h"
#include "ui/accessibility/accessibility_switches.h"
#include "ui/base/ui_base_features.h"
#include "ui/base/ui_base_switches.h"
#include "ui/compositor/compositor_switches.h"
#include "ui/display/display_features.h"
#include "ui/display/display_switches.h"
#include "ui/events/blink/blink_features.h"
#include "ui/events/event_switches.h"
#include "ui/gfx/switches.h"
#include "ui/gl/buildflags.h"
#include "ui/gl/gl_switches.h"
#include "ui/native_theme/native_theme_features.h"
#include "services/service_manager/sandbox/features.h"
#if defined(OS_ANDROID)
#include "chrome/browser/android/chrome_feature_list.h"
#include "chrome/browser/android/explore_sites/explore_sites_feature.h"
#include "ui/android/buildflags.h"
#else // OS_ANDROID
#include "chrome/browser/media/router/media_router_feature.h"
#include "ui/message_center/public/cpp/features.h"
#endif // OS_ANDROID
#if defined(OS_CHROMEOS)
#include "ash/public/cpp/ash_features.h"
#include "ash/public/cpp/ash_switches.h"
#include "chromeos/constants/chromeos_features.h"
#include "chromeos/constants/chromeos_switches.h"
#include "chromeos/services/assistant/public/features.h"
#include "components/arc/arc_features.h"
#include "third_party/cros_system_api/switches/chrome_switches.h"
#endif // OS_CHROMEOS
#if defined(OS_MACOSX)
#include "chrome/browser/ui/browser_dialogs.h"
#endif // OS_MACOSX
#if BUILDFLAG(ENABLE_EXTENSIONS)
#include "extensions/common/extension_features.h"
#include "extensions/common/switches.h"
#endif // ENABLE_EXTENSIONS
#if BUILDFLAG(ENABLE_PDF)
#include "pdf/pdf_features.h"
#endif
#if defined(USE_OZONE)
#include "ui/ozone/public/ozone_switches.h"
#endif // USE_OZONE
#if defined(OS_WIN)
#include "base/win/windows_version.h"
#include "chrome/browser/win/titlebar_config.h"
#endif // OS_WIN
#if defined(TOOLKIT_VIEWS)
#include "ui/views/animation/installable_ink_drop.h"
#include "ui/views/views_features.h"
#include "ui/views/views_switches.h"
#endif // defined(TOOLKIT_VIEWS)
using flags_ui::FeatureEntry;
using flags_ui::kOsAndroid;
using flags_ui::kOsCrOS;
using flags_ui::kOsCrOSOwnerOnly;
using flags_ui::kOsLinux;
using flags_ui::kOsMac;
using flags_ui::kOsWin;
namespace about_flags {
namespace {
const unsigned kOsAll = kOsMac | kOsWin | kOsLinux | kOsCrOS | kOsAndroid;
const unsigned kOsDesktop = kOsMac | kOsWin | kOsLinux | kOsCrOS;
#if defined(USE_AURA) || defined(OS_ANDROID)
const unsigned kOsAura = kOsWin | kOsLinux | kOsCrOS;
#endif // USE_AURA || OS_ANDROID
const FeatureEntry::Choice kTouchEventFeatureDetectionChoices[] = {
{flags_ui::kGenericExperimentChoiceDisabled, "", ""},
{flags_ui::kGenericExperimentChoiceEnabled,
switches::kTouchEventFeatureDetection,
switches::kTouchEventFeatureDetectionEnabled},
{flags_ui::kGenericExperimentChoiceAutomatic,
switches::kTouchEventFeatureDetection,
switches::kTouchEventFeatureDetectionAuto}};
#if defined(USE_AURA)
const FeatureEntry::Choice kPullToRefreshChoices[] = {
{flags_ui::kGenericExperimentChoiceDefault, "", ""},
{flags_ui::kGenericExperimentChoiceDisabled, switches::kPullToRefresh, "0"},
{flags_ui::kGenericExperimentChoiceEnabled, switches::kPullToRefresh, "1"},
{flag_descriptions::kPullToRefreshEnabledTouchscreen,
switches::kPullToRefresh, "2"}};
#endif // USE_AURA
const FeatureEntry::Choice kOverlayStrategiesChoices[] = {
{flag_descriptions::kOverlayStrategiesDefault, "", ""},
{flag_descriptions::kOverlayStrategiesNone,
switches::kEnableHardwareOverlays, ""},
{flag_descriptions::kOverlayStrategiesUnoccludedFullscreen,
switches::kEnableHardwareOverlays, "single-fullscreen"},
{flag_descriptions::kOverlayStrategiesUnoccluded,
switches::kEnableHardwareOverlays, "single-fullscreen,single-on-top"},
{flag_descriptions::kOverlayStrategiesOccludedAndUnoccluded,
switches::kEnableHardwareOverlays,
"single-fullscreen,single-on-top,underlay"},
};
const FeatureEntry::Choice kTouchTextSelectionStrategyChoices[] = {
{flags_ui::kGenericExperimentChoiceDefault, "", ""},
{flag_descriptions::kTouchSelectionStrategyCharacter,
switches::kTouchTextSelectionStrategy, "character"},
{flag_descriptions::kTouchSelectionStrategyDirection,
switches::kTouchTextSelectionStrategy, "direction"}};
const FeatureEntry::Choice kTraceUploadURL[] = {
{flags_ui::kGenericExperimentChoiceDisabled, "", ""},
{flag_descriptions::kTraceUploadUrlChoiceOther, switches::kTraceUploadURL,
"https://performance-insights.appspot.com/upload?tags=flags,Other"},
{flag_descriptions::kTraceUploadUrlChoiceEmloading,
switches::kTraceUploadURL,
"https://performance-insights.appspot.com/upload?tags=flags,emloading"},
{flag_descriptions::kTraceUploadUrlChoiceQa, switches::kTraceUploadURL,
"https://performance-insights.appspot.com/upload?tags=flags,QA"},
{flag_descriptions::kTraceUploadUrlChoiceTesting, switches::kTraceUploadURL,
"https://performance-insights.appspot.com/upload?tags=flags,TestingTeam"}};
const FeatureEntry::Choice kPassiveListenersChoices[] = {
{flags_ui::kGenericExperimentChoiceDefault, "", ""},
{flag_descriptions::kPassiveEventListenerTrue,
switches::kPassiveListenersDefault, "true"},
{flag_descriptions::kPassiveEventListenerForceAllTrue,
switches::kPassiveListenersDefault, "forcealltrue"},
};
const FeatureEntry::Choice kDataReductionProxyServerExperiment[] = {
{flags_ui::kGenericExperimentChoiceDefault, "", ""},
{flag_descriptions::kDataReductionProxyServerAlternative1,
data_reduction_proxy::switches::kDataReductionProxyExperiment,
data_reduction_proxy::switches::kDataReductionProxyServerAlternative1},
{flag_descriptions::kDataReductionProxyServerAlternative2,
data_reduction_proxy::switches::kDataReductionProxyExperiment,
data_reduction_proxy::switches::kDataReductionProxyServerAlternative2},
{flag_descriptions::kDataReductionProxyServerAlternative3,
data_reduction_proxy::switches::kDataReductionProxyExperiment,
data_reduction_proxy::switches::kDataReductionProxyServerAlternative3},
{flag_descriptions::kDataReductionProxyServerAlternative4,
data_reduction_proxy::switches::kDataReductionProxyExperiment,
data_reduction_proxy::switches::kDataReductionProxyServerAlternative4},
{flag_descriptions::kDataReductionProxyServerAlternative5,
data_reduction_proxy::switches::kDataReductionProxyExperiment,
data_reduction_proxy::switches::kDataReductionProxyServerAlternative5},
{flag_descriptions::kDataReductionProxyServerAlternative6,
data_reduction_proxy::switches::kDataReductionProxyExperiment,
data_reduction_proxy::switches::kDataReductionProxyServerAlternative6},
{flag_descriptions::kDataReductionProxyServerAlternative7,
data_reduction_proxy::switches::kDataReductionProxyExperiment,
data_reduction_proxy::switches::kDataReductionProxyServerAlternative7},
{flag_descriptions::kDataReductionProxyServerAlternative8,
data_reduction_proxy::switches::kDataReductionProxyExperiment,
data_reduction_proxy::switches::kDataReductionProxyServerAlternative8},
{flag_descriptions::kDataReductionProxyServerAlternative9,
data_reduction_proxy::switches::kDataReductionProxyExperiment,
data_reduction_proxy::switches::kDataReductionProxyServerAlternative9},
{flag_descriptions::kDataReductionProxyServerAlternative10,
data_reduction_proxy::switches::kDataReductionProxyExperiment,
data_reduction_proxy::switches::kDataReductionProxyServerAlternative10}};
#if defined(OS_WIN)
const FeatureEntry::Choice kUseAngleChoices[] = {
{flag_descriptions::kUseAngleDefault, "", ""},
{flag_descriptions::kUseAngleGL, switches::kUseANGLE,
gl::kANGLEImplementationOpenGLName},
{flag_descriptions::kUseAngleD3D11, switches::kUseANGLE,
gl::kANGLEImplementationD3D11Name},
{flag_descriptions::kUseAngleD3D9, switches::kUseANGLE,
gl::kANGLEImplementationD3D9Name}};
#endif
#if BUILDFLAG(ENABLE_DICE_SUPPORT)
const FeatureEntry::FeatureParam kAccountConsistencyDice[] = {
{kAccountConsistencyFeatureMethodParameter,
kAccountConsistencyFeatureMethodDice}};
const FeatureEntry::FeatureParam kAccountConsistencyDiceMigration[] = {
{kAccountConsistencyFeatureMethodParameter,
kAccountConsistencyFeatureMethodDiceMigration}};
const FeatureEntry::FeatureVariation kAccountConsistencyFeatureVariations[] = {
{"Dice", kAccountConsistencyDice, base::size(kAccountConsistencyDice),
nullptr /* variation_id */},
{"Dice (migration)", kAccountConsistencyDiceMigration,
base::size(kAccountConsistencyDiceMigration), nullptr /* variation_id */}};
#endif // BUILDFLAG(ENABLE_DICE_SUPPORT)
#if defined(OS_ANDROID)
const FeatureEntry::Choice kReaderModeHeuristicsChoices[] = {
{flags_ui::kGenericExperimentChoiceDefault, "", ""},
{flag_descriptions::kReaderModeHeuristicsMarkup,
switches::kReaderModeHeuristics,
switches::reader_mode_heuristics::kOGArticle},
{flag_descriptions::kReaderModeHeuristicsAdaboost,
switches::kReaderModeHeuristics,
switches::reader_mode_heuristics::kAdaBoost},
{flag_descriptions::kReaderModeHeuristicsAlwaysOn,
switches::kReaderModeHeuristics,
switches::reader_mode_heuristics::kAlwaysTrue},
{flag_descriptions::kReaderModeHeuristicsAlwaysOff,
switches::kReaderModeHeuristics, switches::reader_mode_heuristics::kNone},
{flag_descriptions::kReaderModeHeuristicsAllArticles,
switches::kReaderModeHeuristics,
switches::reader_mode_heuristics::kAllArticles},
};
const FeatureEntry::Choice kForceUpdateMenuTypeChoices[] = {
{flags_ui::kGenericExperimentChoiceDefault, "", ""},
{flag_descriptions::kUpdateMenuTypeNone, switches::kForceUpdateMenuType,
"none"},
{flag_descriptions::kUpdateMenuTypeUpdateAvailable,
switches::kForceUpdateMenuType, "update_available"},
{flag_descriptions::kUpdateMenuTypeUnsupportedOSVersion,
switches::kForceUpdateMenuType, "unsupported_os_version"},
{flag_descriptions::kUpdateMenuTypeInlineUpdateSuccess,
switches::kForceUpdateMenuType, "inline_update_success"},
{flag_descriptions::kUpdateMenuTypeInlineUpdateDialogCanceled,
switches::kForceUpdateMenuType, "inline_update_dialog_canceled"},
{flag_descriptions::kUpdateMenuTypeInlineUpdateDialogFailed,
switches::kForceUpdateMenuType, "inline_update_dialog_failed"},
{flag_descriptions::kUpdateMenuTypeInlineUpdateDownloadFailed,
switches::kForceUpdateMenuType, "inline_update_download_failed"},
{flag_descriptions::kUpdateMenuTypeInlineUpdateDownloadCanceled,
switches::kForceUpdateMenuType, "inline_update_download_canceled"},
{flag_descriptions::kUpdateMenuTypeInlineUpdateInstallFailed,
switches::kForceUpdateMenuType, "inline_update_install_failed"},
};
const FeatureEntry::FeatureParam kCCTModuleCache_ZeroMinutes[] = {
{"cct_module_cache_time_limit_ms", "0"}};
const FeatureEntry::FeatureParam kCCTModuleCache_OneMinute[] = {
{"cct_module_cache_time_limit_ms", "60000"}};
const FeatureEntry::FeatureParam kCCTModuleCache_FiveMinutes[] = {
{"cct_module_cache_time_limit_ms", "300000"}};
const FeatureEntry::FeatureParam kCCTModuleCache_ThirtyMinutes[] = {
{"cct_module_cache_time_limit_ms", "1800000"}};
const FeatureEntry::FeatureVariation kCCTModuleCacheVariations[] = {
{"0 minutes", kCCTModuleCache_ZeroMinutes,
base::size(kCCTModuleCache_ZeroMinutes), nullptr},
{"1 minute", kCCTModuleCache_OneMinute,
base::size(kCCTModuleCache_OneMinute), nullptr},
{"5 minutes", kCCTModuleCache_FiveMinutes,
base::size(kCCTModuleCache_FiveMinutes), nullptr},
{"30 minutes", kCCTModuleCache_ThirtyMinutes,
base::size(kCCTModuleCache_ThirtyMinutes), nullptr},
};
#endif // OS_ANDROID
const FeatureEntry::Choice kEnableGpuRasterizationChoices[] = {
{flags_ui::kGenericExperimentChoiceDefault, "", ""},
{flags_ui::kGenericExperimentChoiceEnabled,
switches::kEnableGpuRasterization, ""},
{flags_ui::kGenericExperimentChoiceDisabled,
switches::kDisableGpuRasterization, ""},
{flag_descriptions::kForceGpuRasterization,
switches::kForceGpuRasterization, ""},
};
const FeatureEntry::Choice kEnableOopRasterizationChoices[] = {
{flags_ui::kGenericExperimentChoiceDefault, "", ""},
{flags_ui::kGenericExperimentChoiceEnabled,
switches::kEnableOopRasterization, ""},
{flags_ui::kGenericExperimentChoiceDisabled,
switches::kDisableOopRasterization, ""},
};
const FeatureEntry::Choice kExtensionContentVerificationChoices[] = {
{flags_ui::kGenericExperimentChoiceDefault, "", ""},
{flag_descriptions::kExtensionContentVerificationBootstrap,
switches::kExtensionContentVerification,
switches::kExtensionContentVerificationBootstrap},
{flag_descriptions::kExtensionContentVerificationEnforce,
switches::kExtensionContentVerification,
switches::kExtensionContentVerificationEnforce},
{flag_descriptions::kExtensionContentVerificationEnforceStrict,
switches::kExtensionContentVerification,
switches::kExtensionContentVerificationEnforceStrict},
};
const FeatureEntry::Choice kTopChromeTouchUiChoices[] = {
{flags_ui::kGenericExperimentChoiceDefault, "", ""},
{flags_ui::kGenericExperimentChoiceAutomatic, switches::kTopChromeTouchUi,
switches::kTopChromeTouchUiAuto},
{flags_ui::kGenericExperimentChoiceDisabled, switches::kTopChromeTouchUi,
switches::kTopChromeTouchUiDisabled},
{flags_ui::kGenericExperimentChoiceEnabled, switches::kTopChromeTouchUi,
switches::kTopChromeTouchUiEnabled}};
#if defined(OS_CHROMEOS)
const FeatureEntry::Choice kUiShowCompositedLayerBordersChoices[] = {
{flags_ui::kGenericExperimentChoiceDefault, "", ""},
{flag_descriptions::kUiShowCompositedLayerBordersRenderPass,
cc::switches::kUIShowCompositedLayerBorders,
cc::switches::kCompositedRenderPassBorders},
{flag_descriptions::kUiShowCompositedLayerBordersSurface,
cc::switches::kUIShowCompositedLayerBorders,
cc::switches::kCompositedSurfaceBorders},
{flag_descriptions::kUiShowCompositedLayerBordersLayer,
cc::switches::kUIShowCompositedLayerBorders,
cc::switches::kCompositedLayerBorders},
{flag_descriptions::kUiShowCompositedLayerBordersAll,
cc::switches::kUIShowCompositedLayerBorders, ""}};
#endif // OS_CHROMEOS
const FeatureEntry::Choice kV8CacheOptionsChoices[] = {
{flags_ui::kGenericExperimentChoiceDefault, "", ""},
{flags_ui::kGenericExperimentChoiceDisabled, switches::kV8CacheOptions,
"none"},
{flag_descriptions::kV8CacheOptionsCode, switches::kV8CacheOptions, "code"},
};
#if defined(OS_CHROMEOS)
const FeatureEntry::Choice kCrosRegionsModeChoices[] = {
{flag_descriptions::kCrosRegionsModeDefault, "", ""},
{flag_descriptions::kCrosRegionsModeOverride,
chromeos::switches::kCrosRegionsMode,
chromeos::switches::kCrosRegionsModeOverride},
{flag_descriptions::kCrosRegionsModeHide,
chromeos::switches::kCrosRegionsMode,
chromeos::switches::kCrosRegionsModeHide},
};
#endif // OS_CHROMEOS
const FeatureEntry::Choice kForceUIDirectionChoices[] = {
{flags_ui::kGenericExperimentChoiceDefault, "", ""},
{flag_descriptions::kForceDirectionLtr, switches::kForceUIDirection,
switches::kForceDirectionLTR},
{flag_descriptions::kForceDirectionRtl, switches::kForceUIDirection,
switches::kForceDirectionRTL},
};
const FeatureEntry::Choice kForceTextDirectionChoices[] = {
{flags_ui::kGenericExperimentChoiceDefault, "", ""},
{flag_descriptions::kForceDirectionLtr, switches::kForceTextDirection,
switches::kForceDirectionLTR},
{flag_descriptions::kForceDirectionRtl, switches::kForceTextDirection,
switches::kForceDirectionRTL},
};
#if defined(OS_CHROMEOS)
const FeatureEntry::Choice kSchedulerConfigurationChoices[] = {
{flags_ui::kGenericExperimentChoiceDefault, "", ""},
{flag_descriptions::kSchedulerConfigurationConservative,
switches::kSchedulerConfiguration,
switches::kSchedulerConfigurationConservative},
{flag_descriptions::kSchedulerConfigurationPerformance,
switches::kSchedulerConfiguration,
switches::kSchedulerConfigurationPerformance},
};
#endif // OS_CHROMEOS
#if defined(OS_ANDROID)
const FeatureEntry::FeatureParam
kInterestFeedLargerImagesFeatureVariationConstant[] = {
{"feed_ui_enabled", "true"}};
const FeatureEntry::FeatureParam
kInterestFeedSnippetsEnabledFeatureVariationConstant[] = {
{"feed_ui_enabled", "true"},
{"snippets_enabled", "true"}};
const FeatureEntry::FeatureVariation kInterestFeedFeatureVariations[] = {
{"(larger images)", kInterestFeedLargerImagesFeatureVariationConstant,
base::size(kInterestFeedLargerImagesFeatureVariationConstant), nullptr},
{"(larger images and snippets)",
kInterestFeedSnippetsEnabledFeatureVariationConstant,
base::size(kInterestFeedSnippetsEnabledFeatureVariationConstant),
nullptr}};
const FeatureEntry::FeatureVariation kRemoteSuggestionsFeatureVariations[] = {
{"via content suggestion server (backed by ChromeReader)", nullptr, 0,
"3313421"},
{"via content suggestion server (backed by Google Now)", nullptr, 0,
"3313422"}};
#endif // OS_ANDROID
const FeatureEntry::Choice kEnableUseZoomForDSFChoices[] = {
{flag_descriptions::kEnableUseZoomForDsfChoiceDefault, "", ""},
{flag_descriptions::kEnableUseZoomForDsfChoiceEnabled,
switches::kEnableUseZoomForDSF, "true"},
{flag_descriptions::kEnableUseZoomForDsfChoiceDisabled,
switches::kEnableUseZoomForDSF, "false"},
};
const FeatureEntry::Choice kSiteIsolationOptOutChoices[] = {
{flag_descriptions::kSiteIsolationOptOutChoiceDefault, "", ""},
{flag_descriptions::kSiteIsolationOptOutChoiceOptOut,
switches::kDisableSiteIsolation, ""},
};
const FeatureEntry::FeatureParam kEnforceTLS13DowngradeKnownOnly[] = {
{"known_roots_only", "true"}};
const FeatureEntry::FeatureVariation kEnforceTLS13DowngradeFeatureVariations[] =
{{"(Known Root Only)", kEnforceTLS13DowngradeKnownOnly,
base::size(kEnforceTLS13DowngradeKnownOnly), nullptr}};
const FeatureEntry::Choice kForceColorProfileChoices[] = {
{flags_ui::kGenericExperimentChoiceDefault, "", ""},
{flag_descriptions::kForceColorProfileSRGB,
switches::kForceDisplayColorProfile, "srgb"},
{flag_descriptions::kForceColorProfileP3,
switches::kForceDisplayColorProfile, "display-p3-d65"},
{flag_descriptions::kForceColorProfileColorSpin,
switches::kForceDisplayColorProfile, "color-spin-gamma24"},
{flag_descriptions::kForceColorProfileHdr,
switches::kForceDisplayColorProfile, "scrgb-linear"},
};
const FeatureEntry::Choice kForceEffectiveConnectionTypeChoices[] = {
{flags_ui::kGenericExperimentChoiceDefault, "", ""},
{flag_descriptions::kEffectiveConnectionTypeUnknownDescription,
network::switches::kForceEffectiveConnectionType,
net::kEffectiveConnectionTypeUnknown},
{flag_descriptions::kEffectiveConnectionTypeOfflineDescription,
network::switches::kForceEffectiveConnectionType,
net::kEffectiveConnectionTypeOffline},
{flag_descriptions::kEffectiveConnectionTypeSlow2GDescription,
network::switches::kForceEffectiveConnectionType,
net::kEffectiveConnectionTypeSlow2G},
{flag_descriptions::kEffectiveConnectionTypeSlow2GOnCellularDescription,
network::switches::kForceEffectiveConnectionType,
net::kEffectiveConnectionTypeSlow2GOnCellular},
{flag_descriptions::kEffectiveConnectionType2GDescription,
network::switches::kForceEffectiveConnectionType,
net::kEffectiveConnectionType2G},
{flag_descriptions::kEffectiveConnectionType3GDescription,
network::switches::kForceEffectiveConnectionType,
net::kEffectiveConnectionType3G},
{flag_descriptions::kEffectiveConnectionType4GDescription,
network::switches::kForceEffectiveConnectionType,
net::kEffectiveConnectionType4G},
};
// Ensure that all effective connection types returned by Network Quality
// Estimator (NQE) are also exposed via flags.
static_assert(net::EFFECTIVE_CONNECTION_TYPE_LAST + 2 ==
base::size(kForceEffectiveConnectionTypeChoices),
"ECT enum value is not handled.");
static_assert(net::EFFECTIVE_CONNECTION_TYPE_UNKNOWN == 0,
"ECT enum value is not handled.");
static_assert(net::EFFECTIVE_CONNECTION_TYPE_4G + 1 ==
net::EFFECTIVE_CONNECTION_TYPE_LAST,
"ECT enum value is not handled.");
#if defined(OS_ANDROID)
const FeatureEntry::FeatureParam
kAutofillKeyboardAccessoryFeatureVariationAnimationDuration[] = {
{autofill::kAutofillKeyboardAccessoryAnimationDurationKey, "1000"}};
const FeatureEntry::FeatureParam
kAutofillKeyboardAccessoryFeatureVariationLimitLabelWidth[] = {
{autofill::kAutofillKeyboardAccessoryLimitLabelWidthKey, "true"}};
const FeatureEntry::FeatureParam
kAutofillKeyboardAccessoryFeatureVariationShowHint[] = {
{autofill::kAutofillKeyboardAccessoryHintKey, "true"}};
const FeatureEntry::FeatureParam
kAutofillKeyboardAccessoryFeatureVariationAnimateWithHint[] = {
{autofill::kAutofillKeyboardAccessoryAnimationDurationKey, "1000"},
{autofill::kAutofillKeyboardAccessoryHintKey, "true"}};
const FeatureEntry::FeatureVariation
kAutofillKeyboardAccessoryFeatureVariations[] = {
{"Animate", kAutofillKeyboardAccessoryFeatureVariationAnimationDuration,
base::size(
kAutofillKeyboardAccessoryFeatureVariationAnimationDuration),
nullptr},
{"Limit label width",
kAutofillKeyboardAccessoryFeatureVariationLimitLabelWidth,
base::size(kAutofillKeyboardAccessoryFeatureVariationLimitLabelWidth),
nullptr},
{"Show hint", kAutofillKeyboardAccessoryFeatureVariationShowHint,
base::size(kAutofillKeyboardAccessoryFeatureVariationShowHint),
nullptr},
{"Animate with hint",
kAutofillKeyboardAccessoryFeatureVariationAnimateWithHint,
base::size(kAutofillKeyboardAccessoryFeatureVariationAnimateWithHint),
nullptr}};
#endif // OS_ANDROID
const FeatureEntry::Choice kMemlogModeChoices[] = {
{flags_ui::kGenericExperimentChoiceDisabled, "", ""},
{flag_descriptions::kMemlogModeMinimal, heap_profiling::kMemlogMode,
heap_profiling::kMemlogModeMinimal},
{flag_descriptions::kMemlogModeAll, heap_profiling::kMemlogMode,
heap_profiling::kMemlogModeAll},
{flag_descriptions::kMemlogModeBrowser, heap_profiling::kMemlogMode,
heap_profiling::kMemlogModeBrowser},
{flag_descriptions::kMemlogModeGpu, heap_profiling::kMemlogMode,
heap_profiling::kMemlogModeGpu},
{flag_descriptions::kMemlogModeAllRenderers, heap_profiling::kMemlogMode,
heap_profiling::kMemlogModeAllRenderers},
{flag_descriptions::kMemlogModeRendererSampling,
heap_profiling::kMemlogMode, heap_profiling::kMemlogModeRendererSampling},
};
const FeatureEntry::Choice kMemlogStackModeChoices[] = {
{flags_ui::kGenericExperimentChoiceDefault, "", ""},
{flag_descriptions::kMemlogStackModeNative,
heap_profiling::kMemlogStackMode, heap_profiling::kMemlogStackModeNative},
{flag_descriptions::kMemlogStackModeNativeWithThreadNames,
heap_profiling::kMemlogStackMode,
heap_profiling::kMemlogStackModeNativeWithThreadNames},
{flag_descriptions::kMemlogStackModePseudo,
heap_profiling::kMemlogStackMode, heap_profiling::kMemlogStackModePseudo},
{flag_descriptions::kMemlogStackModeMixed, heap_profiling::kMemlogStackMode,
heap_profiling::kMemlogStackModeMixed},
};
const FeatureEntry::Choice kMemlogSamplingRateChoices[] = {
{flags_ui::kGenericExperimentChoiceDefault, "", ""},
{flag_descriptions::kMemlogSamplingRate10KB,
heap_profiling::kMemlogSamplingRate,
heap_profiling::kMemlogSamplingRate10KB},
{flag_descriptions::kMemlogSamplingRate50KB,
heap_profiling::kMemlogSamplingRate,
heap_profiling::kMemlogSamplingRate50KB},
{flag_descriptions::kMemlogSamplingRate100KB,
heap_profiling::kMemlogSamplingRate,
heap_profiling::kMemlogSamplingRate100KB},
{flag_descriptions::kMemlogSamplingRate500KB,
heap_profiling::kMemlogSamplingRate,
heap_profiling::kMemlogSamplingRate500KB},
{flag_descriptions::kMemlogSamplingRate1MB,
heap_profiling::kMemlogSamplingRate,
heap_profiling::kMemlogSamplingRate1MB},
{flag_descriptions::kMemlogSamplingRate5MB,
heap_profiling::kMemlogSamplingRate,
heap_profiling::kMemlogSamplingRate5MB},
};
const FeatureEntry::FeatureParam kOmniboxUIMaxAutocompleteMatches3[] = {
{OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam, "3"}};
const FeatureEntry::FeatureParam kOmniboxUIMaxAutocompleteMatches4[] = {
{OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam, "4"}};
const FeatureEntry::FeatureParam kOmniboxUIMaxAutocompleteMatches5[] = {
{OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam, "5"}};
const FeatureEntry::FeatureParam kOmniboxUIMaxAutocompleteMatches6[] = {
{OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam, "6"}};
const FeatureEntry::FeatureParam kOmniboxUIMaxAutocompleteMatches8[] = {
{OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam, "8"}};
const FeatureEntry::FeatureParam kOmniboxUIMaxAutocompleteMatches10[] = {
{OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam, "10"}};
const FeatureEntry::FeatureParam kOmniboxUIMaxAutocompleteMatches12[] = {
{OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam, "12"}};
const FeatureEntry::FeatureVariation
kOmniboxUIMaxAutocompleteMatchesVariations[] = {
{"3 matches", kOmniboxUIMaxAutocompleteMatches3,
base::size(kOmniboxUIMaxAutocompleteMatches3), nullptr},
{"4 matches", kOmniboxUIMaxAutocompleteMatches4,
base::size(kOmniboxUIMaxAutocompleteMatches4), nullptr},
{"5 matches", kOmniboxUIMaxAutocompleteMatches5,
base::size(kOmniboxUIMaxAutocompleteMatches5), nullptr},
{"6 matches", kOmniboxUIMaxAutocompleteMatches6,
base::size(kOmniboxUIMaxAutocompleteMatches6), nullptr},
{"8 matches", kOmniboxUIMaxAutocompleteMatches8,
base::size(kOmniboxUIMaxAutocompleteMatches8), nullptr},
{"10 matches", kOmniboxUIMaxAutocompleteMatches10,
base::size(kOmniboxUIMaxAutocompleteMatches10), nullptr},
{"12 matches", kOmniboxUIMaxAutocompleteMatches12,
base::size(kOmniboxUIMaxAutocompleteMatches12), nullptr}};
#if defined(OS_LINUX) || defined(OS_MACOSX) || defined(OS_WIN) || \
defined(OS_CHROMEOS)
const FeatureEntry::FeatureParam kTranslateBubbleUIButton[] = {
{language::kTranslateUIBubbleKey, language::kTranslateUIBubbleButtonValue}};
const FeatureEntry::FeatureParam kTranslateBubbleUITab[] = {
{language::kTranslateUIBubbleKey, language::kTranslateUIBubbleTabValue}};
const FeatureEntry::FeatureParam kTranslateBubbleUIButtonGM2[] = {
{language::kTranslateUIBubbleKey,
language::kTranslateUIBubbleButtonGM2Value}};
const FeatureEntry::FeatureVariation kTranslateBubbleUIVariations[] = {
{"Button", kTranslateBubbleUIButton, base::size(kTranslateBubbleUIButton),
nullptr},
{"Tab", kTranslateBubbleUITab, base::size(kTranslateBubbleUITab), nullptr},
{"Button_GM2", kTranslateBubbleUIButtonGM2,
base::size(kTranslateBubbleUIButton), nullptr}};
#endif // OS_LINUX || OS_MACOSX || OS_WIN || OS_CHROMEOS
const FeatureEntry::FeatureParam kOmniboxUIVerticalMargin0px[] = {
{OmniboxFieldTrial::kUIVerticalMarginParam, "0"}};
const FeatureEntry::FeatureParam kOmniboxUIVerticalMargin2px[] = {
{OmniboxFieldTrial::kUIVerticalMarginParam, "2"}};
const FeatureEntry::FeatureParam kOmniboxUIVerticalMargin4px[] = {
{OmniboxFieldTrial::kUIVerticalMarginParam, "4"}};
const FeatureEntry::FeatureParam kOmniboxUIVerticalMargin6px[] = {
{OmniboxFieldTrial::kUIVerticalMarginParam, "6"}};
const FeatureEntry::FeatureParam kOmniboxUIVerticalMargin8px[] = {
{OmniboxFieldTrial::kUIVerticalMarginParam, "8"}};
const FeatureEntry::FeatureParam kOmniboxUIVerticalMargin10px[] = {
{OmniboxFieldTrial::kUIVerticalMarginParam, "10"}};
const FeatureEntry::FeatureVariation kOmniboxUIVerticalMarginVariations[] = {
{"0px vertical margin", kOmniboxUIVerticalMargin0px,
base::size(kOmniboxUIVerticalMargin0px), nullptr},
{"2px vertical margin", kOmniboxUIVerticalMargin2px,
base::size(kOmniboxUIVerticalMargin2px), nullptr},
{"4px vertical margin", kOmniboxUIVerticalMargin4px,
base::size(kOmniboxUIVerticalMargin4px), nullptr},
{"6px vertical margin", kOmniboxUIVerticalMargin6px,
base::size(kOmniboxUIVerticalMargin6px), nullptr},
{"8px vertical margin", kOmniboxUIVerticalMargin8px,
base::size(kOmniboxUIVerticalMargin8px), nullptr},
{"10px vertical margin", kOmniboxUIVerticalMargin10px,
base::size(kOmniboxUIVerticalMargin10px), nullptr},
};
const FeatureEntry::FeatureParam kMarkHttpAsDangerous[] = {
{security_state::features::kMarkHttpAsFeatureParameterName,
security_state::features::kMarkHttpAsParameterDangerous}};
const FeatureEntry::FeatureParam kMarkHttpAsWarningAndDangerousOnFormEdits[] = {
{security_state::features::kMarkHttpAsFeatureParameterName,
security_state::features::
kMarkHttpAsParameterWarningAndDangerousOnFormEdits}};
// The "Enabled" state for this feature is "0" and representing setting A.
const FeatureEntry::FeatureParam kTabHoverCardsSettingB[] = {
{features::kTabHoverCardsFeatureParameterName, "1"}};
const FeatureEntry::FeatureParam kTabHoverCardsSettingC[] = {
{features::kTabHoverCardsFeatureParameterName, "2"}};
const FeatureEntry::FeatureVariation kTabHoverCardsFeatureVariations[] = {
{"B", kTabHoverCardsSettingB, base::size(kTabHoverCardsSettingB), nullptr},
{"C", kTabHoverCardsSettingC, base::size(kTabHoverCardsSettingC), nullptr}};
const FeatureEntry::FeatureVariation kMarkHttpAsFeatureVariations[] = {
{"(mark as actively dangerous)", kMarkHttpAsDangerous,
base::size(kMarkHttpAsDangerous), nullptr},
{"(mark with a Not Secure warning and dangerous on form edits)",
kMarkHttpAsWarningAndDangerousOnFormEdits,
base::size(kMarkHttpAsWarningAndDangerousOnFormEdits), nullptr}};
const FeatureEntry::FeatureParam kSimplifyHttpsIndicatorEvToSecure[] = {
{OmniboxFieldTrial::kSimplifyHttpsIndicatorParameterName,
OmniboxFieldTrial::kSimplifyHttpsIndicatorParameterEvToSecure}};
const FeatureEntry::FeatureParam kSimplifyHttpsIndicatorSecureToLock[] = {
{OmniboxFieldTrial::kSimplifyHttpsIndicatorParameterName,
OmniboxFieldTrial::kSimplifyHttpsIndicatorParameterSecureToLock}};
const FeatureEntry::FeatureParam kSimplifyHttpsIndicatorBothToLock[] = {
{OmniboxFieldTrial::kSimplifyHttpsIndicatorParameterName,
OmniboxFieldTrial::kSimplifyHttpsIndicatorParameterBothToLock}};
const FeatureEntry::FeatureParam kSimplifyHttpsIndicatorKeepSecureChip[] = {
{OmniboxFieldTrial::kSimplifyHttpsIndicatorParameterName,
OmniboxFieldTrial::kSimplifyHttpsIndicatorParameterKeepSecureChip}};
const FeatureEntry::FeatureVariation kSimplifyHttpsIndicatorVariations[] = {
{"(show Secure chip for EV pages)", kSimplifyHttpsIndicatorEvToSecure,
base::size(kSimplifyHttpsIndicatorEvToSecure), nullptr},
{"(show Lock icon for non-EV HTTPS pages)",
kSimplifyHttpsIndicatorSecureToLock,
base::size(kSimplifyHttpsIndicatorSecureToLock), nullptr},
{"(show Lock icon for all HTTPS pages)", kSimplifyHttpsIndicatorBothToLock,
base::size(kSimplifyHttpsIndicatorBothToLock), nullptr},
{"(show Secure chip for non-EV HTTPS pages)",
kSimplifyHttpsIndicatorKeepSecureChip,
base::size(kSimplifyHttpsIndicatorKeepSecureChip), nullptr}};
#if defined(OS_ANDROID)
const FeatureEntry::FeatureParam kTranslateForceTriggerOnEnglishHeuristic[] = {
{language::kOverrideModelKey, language::kOverrideModelHeuristicValue},
{language::kEnforceRankerKey, "false"}};
const FeatureEntry::FeatureParam kTranslateForceTriggerOnEnglishGeo[] = {
{language::kOverrideModelKey, language::kOverrideModelGeoValue},
{language::kEnforceRankerKey, "false"}};
const FeatureEntry::FeatureParam kTranslateForceTriggerOnEnglishBackoff[] = {
{language::kOverrideModelKey, language::kOverrideModelDefaultValue},
{language::kEnforceRankerKey, "false"},
{language::kBackoffThresholdKey, "0"}};
const FeatureEntry::FeatureVariation
kTranslateForceTriggerOnEnglishVariations[] = {
{"(Heuristic model without Ranker)",
kTranslateForceTriggerOnEnglishHeuristic,
base::size(kTranslateForceTriggerOnEnglishHeuristic), nullptr},
{"(Geo model without Ranker)", kTranslateForceTriggerOnEnglishGeo,
base::size(kTranslateForceTriggerOnEnglishGeo), nullptr},
{"(Zero threshold)", kTranslateForceTriggerOnEnglishBackoff,
base::size(kTranslateForceTriggerOnEnglishBackoff), nullptr}};
#endif // defined(OS_ANDROID)
#if !defined(OS_ANDROID)
const FeatureEntry::FeatureParam kProactiveTabFreezeAndDiscard_FreezeOnly[] = {
{resource_coordinator::
kProactiveTabFreezeAndDiscard_ShouldProactivelyDiscardParam,
"false"}};
const FeatureEntry::FeatureParam
kProactiveTabFreezeAndDiscard_FreezeAndDiscard[] = {
{resource_coordinator::
kProactiveTabFreezeAndDiscard_ShouldProactivelyDiscardParam,
"true"}};
const FeatureEntry::FeatureParam
kProactiveTabFreezeAndDiscard_DisableHeuristics[] = {
{resource_coordinator::
kProactiveTabFreezeAndDiscard_ShouldProactivelyDiscardParam,
"true"},
{resource_coordinator::
kProactiveTabFreezeAndDiscard_DisableHeuristicsParam,
"true"}};
const FeatureEntry::FeatureVariation kProactiveTabFreezeAndDiscardVariations[] =
{{"Freeze only", kProactiveTabFreezeAndDiscard_FreezeOnly,
base::size(kProactiveTabFreezeAndDiscard_FreezeOnly), nullptr},
{"Freeze and discard", kProactiveTabFreezeAndDiscard_FreezeAndDiscard,
base::size(kProactiveTabFreezeAndDiscard_FreezeAndDiscard), nullptr},
{"Freeze and discard, heuristics disabled",
kProactiveTabFreezeAndDiscard_DisableHeuristics,
base::size(kProactiveTabFreezeAndDiscard_DisableHeuristics), nullptr}};
#endif
#if defined(OS_ANDROID)
const FeatureEntry::FeatureParam kExploreSitesExperimental = {
chrome::android::explore_sites::kExploreSitesVariationParameterName,
chrome::android::explore_sites::kExploreSitesVariationExperimental};
const FeatureEntry::FeatureParam kExploreSitesPersonalized = {
chrome::android::explore_sites::kExploreSitesVariationParameterName,
chrome::android::explore_sites::kExploreSitesVariationPersonalized};
const FeatureEntry::FeatureVariation kExploreSitesVariations[] = {
{"Experimental", &kExploreSitesExperimental, 1, nullptr},
{"Personalized", &kExploreSitesPersonalized, 1, nullptr}};
const FeatureEntry::FeatureParam kSimplifiedServerAllCocaCards = {
contextual_search::kContextualCardsVersionParamName,
contextual_search::kContextualCardsSimplifiedServerWithDiagnosticChar};
const FeatureEntry::FeatureVariation kSimplifiedServerVariations[] = {
{"and allow all CoCa cards", &kSimplifiedServerAllCocaCards, 1, nullptr}};
const FeatureEntry::FeatureParam kLongpressResolveHideOnScroll = {
contextual_search::kLongpressResolveParamName,
contextual_search::kLongpressResolveHideOnScroll};
const FeatureEntry::FeatureParam kLongpressResolvePrivacyAggressive = {
contextual_search::kLongpressResolveParamName,
contextual_search::kLongpressResolvePrivacyAggressive};
const FeatureEntry::FeatureVariation kLongpressResolveVariations[] = {
{"and hide on scroll", &kLongpressResolveHideOnScroll, 1, nullptr},
{"and allow privacy-aggressive behavior",
&kLongpressResolvePrivacyAggressive, 1, nullptr},
};
#endif // defined(OS_ANDROID)
const FeatureEntry::FeatureParam kResamplingInputEventsLSQEnabled[] = {
{"predictor", "lsq"}};
const FeatureEntry::FeatureParam kResamplingInputEventsKalmanEnabled[] = {
{"predictor", "kalman"}};
const FeatureEntry::FeatureVariation kResamplingInputEventsFeatureVariations[] =
{{"lsq", kResamplingInputEventsLSQEnabled,
base::size(kResamplingInputEventsLSQEnabled), nullptr},
{"kalman", kResamplingInputEventsKalmanEnabled,
base::size(kResamplingInputEventsKalmanEnabled), nullptr}};
#if defined(OS_ANDROID)
const FeatureEntry::FeatureParam kBottomOfflineIndicatorEnabled[] = {
{"bottom_offline_indicator", "true"}};
const FeatureEntry::FeatureVariation kOfflineIndicatorFeatureVariations[] = {
{"(bottom)", kBottomOfflineIndicatorEnabled,
base::size(kBottomOfflineIndicatorEnabled), nullptr}};
#endif // OS_ANDROID
#if defined(OS_ANDROID)
const FeatureEntry::FeatureParam kTabSwitcherOnReturn_30Minutes[] = {
{"tab_switcher_on_return_time_ms", "1800000"}};
const FeatureEntry::FeatureParam kTabSwitcherOnReturn_60Minutes[] = {
{"tab_switcher_on_return_time_ms", "3600000"}};
const FeatureEntry::FeatureVariation kTabSwitcherOnReturnVariations[] = {
{"30 minutes", kTabSwitcherOnReturn_30Minutes,
base::size(kTabSwitcherOnReturn_30Minutes), nullptr},
{"60 minutes", kTabSwitcherOnReturn_60Minutes,
base::size(kTabSwitcherOnReturn_60Minutes), nullptr},
};
#endif // OS_ANDROID
const FeatureEntry::FeatureParam kVizHitTestDrawQuadEnabled[] = {
{"provider", "draw_quad"}};
const FeatureEntry::FeatureParam kVizHitTestSurfaceLayerEnabled[] = {
{"provider", "surface_layer"}};
const FeatureEntry::FeatureVariation kVizHitTestVariations[] = {
{"DrawQuad", kVizHitTestDrawQuadEnabled,
base::size(kVizHitTestDrawQuadEnabled), nullptr},
{"SurfaceLayer", kVizHitTestSurfaceLayerEnabled,
base::size(kVizHitTestSurfaceLayerEnabled), nullptr}};
// RECORDING USER METRICS FOR FLAGS:
// -----------------------------------------------------------------------------
// The first line of the entry is the internal name.
//
// To add a new entry, add to the end of kFeatureEntries. There are two
// distinct types of entries:
// . SINGLE_VALUE: entry is either on or off. Use the SINGLE_VALUE_TYPE
// macro for this type supplying the command line to the macro.
// . MULTI_VALUE: a list of choices, the first of which should correspond to a
// deactivated state for this lab (i.e. no command line option). To specify
// this type of entry use the macro MULTI_VALUE_TYPE supplying it the
// array of choices.
// See the documentation of FeatureEntry for details on the fields.
//
// Usage of about:flags is logged on startup via the "Launch.FlagsAtStartup"
// UMA histogram. This histogram shows the number of startups with a given flag
// enabled. If you'd like to see user counts instead, make sure to switch to
// to "count users" view on the dashboard. When adding new entries, the enum
// "LoginCustomFlags" must be updated in histograms/enums.xml. See note in
// enums.xml and don't forget to run AboutFlagsHistogramTest unit test
// to calculate and verify checksum.
//
// When adding a new choice, add it to the end of the list.
const FeatureEntry kFeatureEntries[] = {
{"ignore-gpu-blacklist", flag_descriptions::kIgnoreGpuBlacklistName,
flag_descriptions::kIgnoreGpuBlacklistDescription, kOsAll,
SINGLE_VALUE_TYPE(switches::kIgnoreGpuBlacklist)},
{"disable-accelerated-2d-canvas",
flag_descriptions::kAccelerated2dCanvasName,
flag_descriptions::kAccelerated2dCanvasDescription, kOsAll,
SINGLE_DISABLE_VALUE_TYPE(switches::kDisableAccelerated2dCanvas)},
{"composited-layer-borders", flag_descriptions::kCompositedLayerBordersName,
flag_descriptions::kCompositedLayerBordersDescription, kOsAll,
SINGLE_VALUE_TYPE(cc::switches::kShowCompositedLayerBorders)},
{"overlay-strategies", flag_descriptions::kOverlayStrategiesName,
flag_descriptions::kOverlayStrategiesDescription, kOsAll,
MULTI_VALUE_TYPE(kOverlayStrategiesChoices)},
{"tint-gl-composited-content",
flag_descriptions::kTintGlCompositedContentName,
flag_descriptions::kTintGlCompositedContentDescription, kOsAll,
SINGLE_VALUE_TYPE(switches::kTintGlCompositedContent)},
{"ui-disable-partial-swap", flag_descriptions::kUiPartialSwapName,
flag_descriptions::kUiPartialSwapDescription, kOsAll,
SINGLE_DISABLE_VALUE_TYPE(switches::kUIDisablePartialSwap)},
{"disable-webrtc-hw-decoding", flag_descriptions::kWebrtcHwDecodingName,
flag_descriptions::kWebrtcHwDecodingDescription, kOsAndroid | kOsCrOS,
SINGLE_DISABLE_VALUE_TYPE(switches::kDisableWebRtcHWDecoding)},
{"disable-webrtc-hw-encoding", flag_descriptions::kWebrtcHwEncodingName,
flag_descriptions::kWebrtcHwEncodingDescription, kOsAndroid | kOsCrOS,
SINGLE_DISABLE_VALUE_TYPE(switches::kDisableWebRtcHWEncoding)},
#if !defined(OS_ANDROID)
{"enable-reader-mode", flag_descriptions::kEnableReaderModeName,
flag_descriptions::kEnableReaderModeDescription, kOsDesktop,
SINGLE_VALUE_TYPE(switches::kEnableDomDistiller)},
#endif // !defined(OS_ANDROID)
{"enable-webrtc-hw-h264-encoding",
flag_descriptions::kWebrtcHwH264EncodingName,
flag_descriptions::kWebrtcHwH264EncodingDescription, kOsAndroid | kOsCrOS,
FEATURE_VALUE_TYPE(features::kWebRtcHWH264Encoding)},
{"enable-webrtc-hw-vp8-encoding",
flag_descriptions::kWebrtcHwVP8EncodingName,
flag_descriptions::kWebrtcHwVP8EncodingDescription, kOsAndroid | kOsCrOS,
FEATURE_VALUE_TYPE(features::kWebRtcHWVP8Encoding)},
#if defined(WEBRTC_USE_PIPEWIRE)
{"enable-webrtc-pipewire-capturer",
flag_descriptions::kWebrtcPipeWireCapturerName,
flag_descriptions::kWebrtcPipeWireCapturerDescription, kOsLinux,
FEATURE_VALUE_TYPE(features::kWebRtcPipeWireCapturer)},
#endif // defined(WEBRTC_USE_PIPEWIRE)
#if !defined(OS_ANDROID)
{"enable-webrtc-remote-event-log",
flag_descriptions::kWebRtcRemoteEventLogName,
flag_descriptions::kWebRtcRemoteEventLogDescription, kOsDesktop,
FEATURE_VALUE_TYPE(features::kWebRtcRemoteEventLog)},
#endif
{"enable-webrtc-srtp-aes-gcm", flag_descriptions::kWebrtcSrtpAesGcmName,
flag_descriptions::kWebrtcSrtpAesGcmDescription, kOsAll,
SINGLE_VALUE_TYPE(switches::kEnableWebRtcSrtpAesGcm)},
{"enable-webrtc-stun-origin", flag_descriptions::kWebrtcStunOriginName,
flag_descriptions::kWebrtcStunOriginDescription, kOsAll,
SINGLE_VALUE_TYPE(switches::kEnableWebRtcStunOrigin)},
{"enable-webrtc-hybrid-agc", flag_descriptions::kWebrtcHybridAgcName,
flag_descriptions::kWebrtcHybridAgcDescription, kOsAll,
FEATURE_VALUE_TYPE(features::kWebRtcHybridAgc)},
{"enable-webrtc-new-encode-cpu-load-estimator",
flag_descriptions::kWebrtcNewEncodeCpuLoadEstimatorName,
flag_descriptions::kWebrtcNewEncodeCpuLoadEstimatorDescription, kOsAll,
FEATURE_VALUE_TYPE(media::kNewEncodeCpuLoadEstimator)},
{"enable-webrtc-hide-local-ips-with-mdns",
flag_descriptions::kWebrtcHideLocalIpsWithMdnsName,
flag_descriptions::kWebrtcHideLocalIpsWithMdnsDecription, kOsDesktop,
FEATURE_VALUE_TYPE(features::kWebRtcHideLocalIpsWithMdns)},
#if defined(OS_ANDROID)
{"clear-old-browsing-data", flag_descriptions::kClearOldBrowsingDataName,
flag_descriptions::kClearOldBrowsingDataDescription, kOsAndroid,
FEATURE_VALUE_TYPE(features::kClearOldBrowsingData)},
{"enable-osk-overscroll", flag_descriptions::kEnableOskOverscrollName,
flag_descriptions::kEnableOskOverscrollDescription, kOsAndroid,
SINGLE_VALUE_TYPE(switches::kEnableOSKOverscroll)},
{"enable-new-photo-picker", flag_descriptions::kNewPhotoPickerName,
flag_descriptions::kNewPhotoPickerDescription, kOsAndroid,
FEATURE_VALUE_TYPE(chrome::android::kNewPhotoPicker)},
{"enable-surfacecontrol", flag_descriptions::kAndroidSurfaceControl,
flag_descriptions::kAndroidSurfaceControlDescription, kOsAndroid,
FEATURE_VALUE_TYPE(features::kAndroidSurfaceControl)},
#endif // OS_ANDROID
#if BUILDFLAG(ENABLE_NACL)
{"enable-nacl", flag_descriptions::kNaclName,
flag_descriptions::kNaclDescription, kOsAll,
SINGLE_VALUE_TYPE(switches::kEnableNaCl)},
#endif // ENABLE_NACL
#if BUILDFLAG(ENABLE_EXTENSIONS)
{"extension-apis", flag_descriptions::kExperimentalExtensionApisName,
flag_descriptions::kExperimentalExtensionApisDescription, kOsDesktop,
SINGLE_VALUE_TYPE(extensions::switches::kEnableExperimentalExtensionApis)},
{"extensions-toolbar-menu", flag_descriptions::kExtensionsToolbarMenuName,
flag_descriptions::kExtensionsToolbarMenuDescription, kOsDesktop,
FEATURE_VALUE_TYPE(features::kExtensionsToolbarMenu)},
{"extensions-on-chrome-urls",
flag_descriptions::kExtensionsOnChromeUrlsName,
flag_descriptions::kExtensionsOnChromeUrlsDescription, kOsAll,
SINGLE_VALUE_TYPE(extensions::switches::kExtensionsOnChromeURLs)},
#endif // ENABLE_EXTENSIONS
{"enable-history-manipulation-intervention",
flag_descriptions::kHistoryManipulationIntervention,
flag_descriptions::kHistoryManipulationInterventionDescription, kOsAll,
FEATURE_VALUE_TYPE(features::kHistoryManipulationIntervention)},
{"disable-pushstate-throttle",
flag_descriptions::kDisablePushStateThrottleName,
flag_descriptions::kDisablePushStateThrottleDescription, kOsAll,
SINGLE_VALUE_TYPE(switches::kDisablePushStateThrottle)},
{"disable-ipc-flooding-protection",
flag_descriptions::kDisableIpcFloodingProtectionName,
flag_descriptions::kDisableIpcFloodingProtectionDescription, kOsAll,
SINGLE_VALUE_TYPE(switches::kDisableIpcFloodingProtection)},
#if defined(OS_ANDROID)
{"contextual-search-definitions",
flag_descriptions::kContextualSearchDefinitionsName,
flag_descriptions::kContextualSearchDefinitionsDescription, kOsAndroid,
FEATURE_VALUE_TYPE(chrome::android::kContextualSearchDefinitions)},
{"contextual-search-longpress-resolve",
flag_descriptions::kContextualSearchLongpressResolveName,
flag_descriptions::kContextualSearchLongpressResolveDescription,
kOsAndroid,
FEATURE_WITH_PARAMS_VALUE_TYPE(
chrome::android::kContextualSearchLongpressResolve,
kLongpressResolveVariations,
"ContextualSearchLongpressResolve")},
{"contextual-search-ml-tap-suppression",
flag_descriptions::kContextualSearchMlTapSuppressionName,
flag_descriptions::kContextualSearchMlTapSuppressionDescription,
kOsAndroid,
FEATURE_VALUE_TYPE(chrome::android::kContextualSearchMlTapSuppression)},
{"contextual-search-ranker-query",
flag_descriptions::kContextualSearchRankerQueryName,
flag_descriptions::kContextualSearchRankerQueryDescription, kOsAndroid,
FEATURE_VALUE_TYPE(assist_ranker::kContextualSearchRankerQuery)},
{"contextual-search-second-tap",
flag_descriptions::kContextualSearchSecondTapName,
flag_descriptions::kContextualSearchSecondTapDescription, kOsAndroid,
FEATURE_VALUE_TYPE(chrome::android::kContextualSearchSecondTap)},
{"contextual-search-simplified-server",
flag_descriptions::kContextualSearchSimplifiedServerName,
flag_descriptions::kContextualSearchSimplifiedServerDescription,
kOsAndroid,
FEATURE_WITH_PARAMS_VALUE_TYPE(
chrome::android::kContextualSearchSimplifiedServer,
kSimplifiedServerVariations,
"ContextualSearchSimplifiedServer")},
{"contextual-search-translation-model",
flag_descriptions::kContextualSearchTranslationModelName,
flag_descriptions::kContextualSearchTranslationModelDescription,
kOsAndroid,
FEATURE_VALUE_TYPE(chrome::android::kContextualSearchTranslationModel)},
{"contextual-search-unity-integration",
flag_descriptions::kContextualSearchUnityIntegrationName,
flag_descriptions::kContextualSearchUnityIntegrationDescription,
kOsAndroid,
FEATURE_VALUE_TYPE(chrome::android::kContextualSearchUnityIntegration)},
{"explore-sites", flag_descriptions::kExploreSitesName,
flag_descriptions::kExploreSitesDescription, kOsAndroid,
FEATURE_WITH_PARAMS_VALUE_TYPE(chrome::android::kExploreSites,
kExploreSitesVariations,
"ExploreSites")},
{"shopping-assist", flag_descriptions::kShoppingAssistName,
flag_descriptions::kShoppingAssistDescription, kOsAndroid,
FEATURE_VALUE_TYPE(chrome::android::kShoppingAssist)},
#endif // OS_ANDROID
{"show-autofill-type-predictions",
flag_descriptions::kShowAutofillTypePredictionsName,
flag_descriptions::kShowAutofillTypePredictionsDescription, kOsAll,
FEATURE_VALUE_TYPE(autofill::features::kAutofillShowTypePredictions)},
{"smooth-scrolling", flag_descriptions::kSmoothScrollingName,
flag_descriptions::kSmoothScrollingDescription,
// Mac has a separate implementation with its own setting to disable.
kOsLinux | kOsCrOS | kOsWin | kOsAndroid,
ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSmoothScrolling,
switches::kDisableSmoothScrolling)},
#if defined(USE_AURA)
{"overlay-scrollbars", flag_descriptions::kOverlayScrollbarsName,
flag_descriptions::kOverlayScrollbarsDescription,
// Uses the system preference on Mac (a different implementation).
// On Android, this is always enabled.
kOsAura, FEATURE_VALUE_TYPE(features::kOverlayScrollbar)},
{"overlay-scrollbars-flash-after-scroll-update",
flag_descriptions::kOverlayScrollbarsFlashAfterAnyScrollUpdateName,
flag_descriptions::kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription,
kOsAura,
FEATURE_VALUE_TYPE(features::kOverlayScrollbarFlashAfterAnyScrollUpdate)},
{"overlay-scrollbars-flash-when-mouse-enter",
flag_descriptions::kOverlayScrollbarsFlashWhenMouseEnterName,
flag_descriptions::kOverlayScrollbarsFlashWhenMouseEnterDescription,
kOsAura,
FEATURE_VALUE_TYPE(features::kOverlayScrollbarFlashWhenMouseEnter)},
#endif // USE_AURA
{"enable-quic", flag_descriptions::kQuicName,
flag_descriptions::kQuicDescription, kOsAll,
ENABLE_DISABLE_VALUE_TYPE(switches::kEnableQuic, switches::kDisableQuic)},
{"disable-javascript-harmony-shipping",
flag_descriptions::kJavascriptHarmonyShippingName,
flag_descriptions::kJavascriptHarmonyShippingDescription, kOsAll,
SINGLE_DISABLE_VALUE_TYPE(switches::kDisableJavaScriptHarmonyShipping)},
{"enable-javascript-harmony", flag_descriptions::kJavascriptHarmonyName,
flag_descriptions::kJavascriptHarmonyDescription, kOsAll,
SINGLE_VALUE_TYPE(switches::kJavaScriptHarmony)},
{"enable-webassembly-baseline", flag_descriptions::kEnableWasmBaselineName,
flag_descriptions::kEnableWasmBaselineDescription, kOsAll,
FEATURE_VALUE_TYPE(features::kWebAssemblyBaseline)},
{"enable-webassembly-code-cache",
flag_descriptions::kEnableWasmCodeCacheName,
flag_descriptions::kEnableWasmCodeCacheDescription, kOsAll,
FEATURE_VALUE_TYPE(blink::features::kWasmCodeCache)},
{"enable-webassembly-code-gc", flag_descriptions::kEnableWasmCodeGCName,
flag_descriptions::kEnableWasmCodeGCDescription, kOsAll,
FEATURE_VALUE_TYPE(features::kWebAssemblyCodeGC)},
{"enable-webassembly-simd", flag_descriptions::kEnableWasmSimdName,
flag_descriptions::kEnableWasmSimdDescription, kOsAll,
FEATURE_VALUE_TYPE(features::kWebAssemblySimd)},
{"enable-webassembly-threads", flag_descriptions::kEnableWasmThreadsName,
flag_descriptions::kEnableWasmThreadsDescription, kOsAll,
FEATURE_VALUE_TYPE(features::kWebAssemblyThreads)},
{"shared-array-buffer", flag_descriptions::kEnableSharedArrayBufferName,
flag_descriptions::kEnableSharedArrayBufferDescription, kOsAll,
FEATURE_VALUE_TYPE(features::kSharedArrayBuffer)},
{"enable-future-v8-vm-features", flag_descriptions::kV8VmFutureName,
flag_descriptions::kV8VmFutureDescription, kOsAll,
FEATURE_VALUE_TYPE(features::kV8VmFuture)},
{"harmony-await-optimization", flag_descriptions::kAwaitOptimizationName,
flag_descriptions::kAwaitOptimizationDescription, kOsAll,
FEATURE_VALUE_TYPE(features::kAwaitOptimization)},
{"enable-gpu-rasterization", flag_descriptions::kGpuRasterizationName,
flag_descriptions::kGpuRasterizationDescription, kOsAll,
MULTI_VALUE_TYPE(kEnableGpuRasterizationChoices)},
{"enable-oop-rasterization", flag_descriptions::kOopRasterizationName,
flag_descriptions::kOopRasterizationDescription, kOsAll,
MULTI_VALUE_TYPE(kEnableOopRasterizationChoices)},
{"enable-experimental-web-platform-features",
flag_descriptions::kExperimentalWebPlatformFeaturesName,
flag_descriptions::kExperimentalWebPlatformFeaturesDescription, kOsAll,
SINGLE_VALUE_TYPE(switches::kEnableExperimentalWebPlatformFeatures)},
#if defined(OS_ANDROID)
{"enable-app-notification-status-messaging",
flag_descriptions::kAppNotificationStatusMessagingName,
flag_descriptions::kAppNotificationStatusMessagingDescription, kOsAndroid,
FEATURE_VALUE_TYPE(features::kAppNotificationStatusMessaging)},
#endif // OS_ANDROID
{"enable-devtools-experiments", flag_descriptions::kDevtoolsExperimentsName,
flag_descriptions::kDevtoolsExperimentsDescription, kOsDesktop,
SINGLE_VALUE_TYPE(switches::kEnableDevToolsExperiments)},
{"silent-debugger-extension-api",
flag_descriptions::kSilentDebuggerExtensionApiName,
flag_descriptions::kSilentDebuggerExtensionApiDescription, kOsDesktop,
SINGLE_VALUE_TYPE(switches::kSilentDebuggerExtensionAPI)},
#if BUILDFLAG(ENABLE_SPELLCHECK) && defined(OS_ANDROID)
{"enable-android-spellchecker",
flag_descriptions::kEnableAndroidSpellcheckerDescription,
flag_descriptions::kEnableAndroidSpellcheckerDescription, kOsAndroid,
FEATURE_VALUE_TYPE(spellcheck::kAndroidSpellCheckerNonLowEnd)},
#endif // ENABLE_SPELLCHECK && OS_ANDROID
{"top-chrome-touch-ui", flag_descriptions::kTopChromeTouchUiName,
flag_descriptions::kTopChromeTouchUiDescription, kOsDesktop,
MULTI_VALUE_TYPE(kTopChromeTouchUiChoices)},
#if !defined(OS_ANDROID)
{"new-tab-loading-animation", flag_descriptions::kNewTabLoadingAnimation,
flag_descriptions::kNewTabLoadingAnimationDescription, kOsDesktop,
FEATURE_VALUE_TYPE(features::kNewTabLoadingAnimation)},
#endif // !defined(OS_ANDROID)
{"focus-mode", flag_descriptions::kFocusMode,
flag_descriptions::kFocusModeDescription, kOsDesktop,
FEATURE_VALUE_TYPE(features::kFocusMode)},
{"site-settings", flag_descriptions::kSiteSettings,
flag_descriptions::kSiteSettingsDescription, kOsDesktop,
FEATURE_VALUE_TYPE(features::kSiteSettings)},
{"touch-events", flag_descriptions::kTouchEventsName,
flag_descriptions::kTouchEventsDescription, kOsDesktop,
MULTI_VALUE_TYPE(kTouchEventFeatureDetectionChoices)},
{"disable-touch-adjustment", flag_descriptions::kTouchAdjustmentName,
flag_descriptions::kTouchAdjustmentDescription,
kOsWin | kOsLinux | kOsCrOS | kOsAndroid,
SINGLE_DISABLE_VALUE_TYPE(switches::kDisableTouchAdjustment)},
#if defined(OS_CHROMEOS)
{"disable-explicit-dma-fences",
flag_descriptions::kDisableExplicitDmaFencesName,
flag_descriptions::kDisableExplicitDmaFencesDescription, kOsCrOS,
SINGLE_VALUE_TYPE(switches::kDisableExplicitDmaFences)},
#endif // OS_CHROMEOS
#if defined(OS_CHROMEOS)
{"ash-enable-unified-desktop",
flag_descriptions::kAshEnableUnifiedDesktopName,
flag_descriptions::kAshEnableUnifiedDesktopDescription, kOsCrOS,
SINGLE_VALUE_TYPE(switches::kEnableUnifiedDesktop)},
{"cryptauth-v2-enrollment", flag_descriptions::kCryptAuthV2EnrollmentName,
flag_descriptions::kCryptAuthV2EnrollmentDescription, kOsCrOS,
FEATURE_VALUE_TYPE(chromeos::features::kCryptAuthV2Enrollment)},
{"updated_cellular_activation_ui",
flag_descriptions::kUpdatedCellularActivationUiName,
flag_descriptions::kUpdatedCellularActivationUiDescription, kOsCrOS,
FEATURE_VALUE_TYPE(chromeos::features::kUpdatedCellularActivationUi)},
{"use_messages_google_com_domain",
flag_descriptions::kUseMessagesGoogleComDomainName,
flag_descriptions::kUseMessagesGoogleComDomainDescription, kOsCrOS,
FEATURE_VALUE_TYPE(chromeos::features::kUseMessagesGoogleComDomain)},
{"use_messages_staging_url", flag_descriptions::kUseMessagesStagingUrlName,
flag_descriptions::kUseMessagesStagingUrlDescription, kOsCrOS,
FEATURE_VALUE_TYPE(chromeos::features::kUseMessagesStagingUrl)},
{"disable-cancel-all-touches",
flag_descriptions::kDisableCancelAllTouchesName,
flag_descriptions::kDisableCancelAllTouchesDescription, kOsCrOS,
SINGLE_VALUE_TYPE(switches::kDisableCancelAllTouches)},
{"enable_messages_web_push", flag_descriptions::kEnableMessagesWebPushName,
flag_descriptions::kEnableMessagesWebPushDescription, kOsCrOS,
FEATURE_VALUE_TYPE(chromeos::features::kEnableMessagesWebPush)},
{
"enable-background-blur",
flag_descriptions::kEnableBackgroundBlurName,
flag_descriptions::kEnableBackgroundBlurDescription,
kOsCrOS,
FEATURE_VALUE_TYPE(app_list_features::kEnableBackgroundBlur),
},
{"enable-notification-indicator",
flag_descriptions::kNotificationIndicatorName,
flag_descriptions::kNotificationIndicatorDescription, kOsCrOS,
FEATURE_VALUE_TYPE(features::kNotificationIndicator)},
{"enable-app-list-search-autocomplete",
flag_descriptions::kEnableAppListSearchAutocompleteName,
flag_descriptions::kEnableAppListSearchAutocompleteDescription, kOsCrOS,
FEATURE_VALUE_TYPE(app_list_features::kEnableAppListSearchAutocomplete)},
{"list-all-display-modes", flag_descriptions::kListAllDisplayModesName,
flag_descriptions::kListAllDisplayModesDescription, kOsCrOS,
FEATURE_VALUE_TYPE(display::features::kListAllDisplayModes)},
{"instant-tethering", flag_descriptions::kTetherName,
flag_descriptions::kTetherDescription, kOsCrOS,
FEATURE_VALUE_TYPE(chromeos::features::kInstantTethering)},
{"newblue", flag_descriptions::kNewblueName,
flag_descriptions::kNewblueDescription, kOsCrOS,
FEATURE_VALUE_TYPE(device::kNewblueDaemon)},
{"unfiltered-bluetooth-devices",
flag_descriptions::kUnfilteredBluetoothDevicesName,
flag_descriptions::kUnfilteredBluetoothDevicesDescription, kOsCrOS,
FEATURE_VALUE_TYPE(device::kUnfilteredBluetoothDevices)},
{"shelf-hover-previews", flag_descriptions::kShelfHoverPreviewsName,
flag_descriptions::kShelfHoverPreviewsDescription, kOsCrOS,
SINGLE_VALUE_TYPE(chromeos::switches::kShelfHoverPreviews)},
{"show-taps", flag_descriptions::kShowTapsName,
flag_descriptions::kShowTapsDescription, kOsCrOS,
SINGLE_VALUE_TYPE(ash::switches::kShowTaps)},
{"show-touch-hud", flag_descriptions::kShowTouchHudName,
flag_descriptions::kShowTouchHudDescription, kOsCrOS,
SINGLE_VALUE_TYPE(ash::switches::kAshTouchHud)},
{"mojo-imf", flag_descriptions::kMojoImfName,
flag_descriptions::kMojoImfDescription, kOsCrOS,
FEATURE_VALUE_TYPE(features::kMojoIMF)},
#endif // OS_CHROMEOS
{
"disable-accelerated-video-decode",
flag_descriptions::kAcceleratedVideoDecodeName,
flag_descriptions::kAcceleratedVideoDecodeDescription,
kOsMac | kOsWin | kOsCrOS | kOsAndroid,
SINGLE_DISABLE_VALUE_TYPE(switches::kDisableAcceleratedVideoDecode),
},
#if defined(OS_CHROMEOS)
{
"ash-debug-shortcuts",
flag_descriptions::kDebugShortcutsName,
flag_descriptions::kDebugShortcutsDescription,
kOsAll,
SINGLE_VALUE_TYPE(ash::switches::kAshDebugShortcuts),
},
{"ui-slow-animations", flag_descriptions::kUiSlowAnimationsName,
flag_descriptions::kUiSlowAnimationsDescription, kOsCrOS,
SINGLE_VALUE_TYPE(switches::kUISlowAnimations)},
{"ui-show-composited-layer-borders",
flag_descriptions::kUiShowCompositedLayerBordersName,
flag_descriptions::kUiShowCompositedLayerBordersDescription, kOsCrOS,
MULTI_VALUE_TYPE(kUiShowCompositedLayerBordersChoices)},
{"enable-request-tablet-site", flag_descriptions::kRequestTabletSiteName,
flag_descriptions::kRequestTabletSiteDescription, kOsCrOS,
SINGLE_VALUE_TYPE(chromeos::switches::kEnableRequestTabletSite)},
{"force-use-chrome-camera", flag_descriptions::kForceUseChromeCameraName,
flag_descriptions::kForceUseChromeCameraDescription, kOsCrOS,
SINGLE_VALUE_TYPE(chromeos::switches::kForceUseChromeCamera)},
#endif // OS_CHROMEOS
{"debug-packed-apps", flag_descriptions::kDebugPackedAppName,
flag_descriptions::kDebugPackedAppDescription, kOsDesktop,
SINGLE_VALUE_TYPE(switches::kDebugPackedApps)},
{"automatic-password-generation",
flag_descriptions::kAutomaticPasswordGenerationName,
flag_descriptions::kAutomaticPasswordGenerationDescription, kOsAll,
FEATURE_VALUE_TYPE(autofill::features::kAutomaticPasswordGeneration)},
{"new-password-form-parsing",
flag_descriptions::kNewPasswordFormParsingName,
flag_descriptions::kNewPasswordFormParsingDescription, kOsAll,
FEATURE_VALUE_TYPE(password_manager::features::kNewPasswordFormParsing)},
{"new-password-form-parsing-for-saving",
flag_descriptions::kNewPasswordFormParsingForSavingName,
flag_descriptions::kNewPasswordFormParsingForSavingDescription, kOsAll,
FEATURE_VALUE_TYPE(
password_manager::features::kNewPasswordFormParsingForSaving)},
{"only-new-password-form-parsing",
flag_descriptions::kOnlyNewPasswordFormParsingName,
flag_descriptions::kOnlyNewPasswordFormParsingDescription, kOsAll,
FEATURE_VALUE_TYPE(password_manager::features::kOnlyNewParser)},
{"enable-show-autofill-signatures",
flag_descriptions::kShowAutofillSignaturesName,
flag_descriptions::kShowAutofillSignaturesDescription, kOsAll,
SINGLE_VALUE_TYPE(autofill::switches::kShowAutofillSignatures)},
{"wallet-service-use-sandbox",
flag_descriptions::kWalletServiceUseSandboxName,
flag_descriptions::kWalletServiceUseSandboxDescription,
kOsAndroid | kOsDesktop,
ENABLE_DISABLE_VALUE_TYPE_AND_VALUE(
autofill::switches::kWalletServiceUseSandbox,
"1",
autofill::switches::kWalletServiceUseSandbox,
"0")},
#if defined(USE_AURA) || defined(OS_ANDROID)
{"overscroll-history-navigation",
flag_descriptions::kOverscrollHistoryNavigationName,
flag_descriptions::kOverscrollHistoryNavigationDescription,
kOsAura | kOsAndroid,
FEATURE_VALUE_TYPE(features::kOverscrollHistoryNavigation)},
#if !defined(OS_ANDROID)
{"pull-to-refresh", flag_descriptions::kPullToRefreshName,
flag_descriptions::kPullToRefreshDescription, kOsAura,
MULTI_VALUE_TYPE(kPullToRefreshChoices)},
#endif // !OS_ANDROID
#endif // USE_AURA || OS_ANDROID
{"enable-touch-drag-drop", flag_descriptions::kTouchDragDropName,
flag_descriptions::kTouchDragDropDescription, kOsWin | kOsCrOS,
ENABLE_DISABLE_VALUE_TYPE(switches::kEnableTouchDragDrop,
switches::kDisableTouchDragDrop)},
{"touch-selection-strategy", flag_descriptions::kTouchSelectionStrategyName,
flag_descriptions::kTouchSelectionStrategyDescription,
kOsAndroid, // TODO(mfomitchev): Add CrOS/Win/Linux support soon.
MULTI_VALUE_TYPE(kTouchTextSelectionStrategyChoices)},
{"enable-navigation-tracing",
flag_descriptions::kEnableNavigationTracingName,
flag_descriptions::kEnableNavigationTracingDescription, kOsAll,
SINGLE_VALUE_TYPE(switches::kEnableNavigationTracing)},
{"trace-upload-url", flag_descriptions::kTraceUploadUrlName,
flag_descriptions::kTraceUploadUrlDescription, kOsAll,
MULTI_VALUE_TYPE(kTraceUploadURL)},
{"enable-suggestions-with-substring-match",
flag_descriptions::kSuggestionsWithSubStringMatchName,
flag_descriptions::kSuggestionsWithSubStringMatchDescription, kOsAll,
FEATURE_VALUE_TYPE(autofill::features::kAutofillTokenPrefixMatching)},
{"lcd-text-aa", flag_descriptions::kLcdTextName,
flag_descriptions::kLcdTextDescription, kOsDesktop,
ENABLE_DISABLE_VALUE_TYPE(switches::kEnableLCDText,
switches::kDisableLCDText)},
{"enable-offer-store-unmasked-wallet-cards",
flag_descriptions::kOfferStoreUnmaskedWalletCardsName,
flag_descriptions::kOfferStoreUnmaskedWalletCardsDescription, kOsAll,
ENABLE_DISABLE_VALUE_TYPE(
autofill::switches::kEnableOfferStoreUnmaskedWalletCards,
autofill::switches::kDisableOfferStoreUnmaskedWalletCards)},
#if defined(OS_CHROMEOS)
{"enable-virtual-keyboard", flag_descriptions::kVirtualKeyboardName,
flag_descriptions::kVirtualKeyboardDescription, kOsCrOS,
SINGLE_VALUE_TYPE(keyboard::switches::kEnableVirtualKeyboard)},
#endif // OS_CHROMEOS
#if BUILDFLAG(ENABLE_SERVICE_DISCOVERY)
{"device-discovery-notifications",
flag_descriptions::kDeviceDiscoveryNotificationsName,
flag_descriptions::kDeviceDiscoveryNotificationsDescription, kOsDesktop,
ENABLE_DISABLE_VALUE_TYPE(switches::kEnableDeviceDiscoveryNotifications,
switches::kDisableDeviceDiscoveryNotifications)},
#endif // BUILDFLAG(ENABLE_SERVICE_DISCOVERY)
#if defined(OS_WIN)
{"enable-cloud-print-xps", flag_descriptions::kCloudPrintXpsName,
flag_descriptions::kCloudPrintXpsDescription, kOsWin,
SINGLE_VALUE_TYPE(switches::kEnableCloudPrintXps)},
#endif // OS_WIN
#if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_CHROMEOS)
{"enable-webgl2-compute-context",
flag_descriptions::kWebGL2ComputeContextName,
flag_descriptions::kWebGL2ComputeContextDescription,
kOsWin | kOsLinux | kOsCrOS,
SINGLE_VALUE_TYPE(switches::kEnableWebGL2ComputeContext)},
#endif // defined(OS_WIN) || defined(OS_LINUX) || defined(OS_CHROMEOS)
{"enable-webgl-draft-extensions",
flag_descriptions::kWebglDraftExtensionsName,
flag_descriptions::kWebglDraftExtensionsDescription, kOsAll,
SINGLE_VALUE_TYPE(switches::kEnableWebGLDraftExtensions)},
#if BUILDFLAG(ENABLE_DICE_SUPPORT)
{"account-consistency", flag_descriptions::kAccountConsistencyName,
flag_descriptions::kAccountConsistencyDescription, kOsAll,
FEATURE_WITH_PARAMS_VALUE_TYPE(kAccountConsistencyFeature,
kAccountConsistencyFeatureVariations,
"AccountConsistencyVariations")},
#endif
#if defined(OS_ANDROID)
{"enable-accessibility-tab-switcher",
flag_descriptions::kAccessibilityTabSwitcherName,
flag_descriptions::kAccessibilityTabSwitcherDescription, kOsAndroid,
SINGLE_VALUE_TYPE(switches::kEnableAccessibilityTabSwitcher)},
{"enable-android-autofill-accessibility",
flag_descriptions::kAndroidAutofillAccessibilityName,
flag_descriptions::kAndroidAutofillAccessibilityDescription, kOsAndroid,
FEATURE_VALUE_TYPE(features::kAndroidAutofillAccessibility)},
#endif // OS_ANDROID
{"enable-zero-copy", flag_descriptions::kZeroCopyName,
flag_descriptions::kZeroCopyDescription, kOsAll,
ENABLE_DISABLE_VALUE_TYPE(switches::kEnableZeroCopy,
switches::kDisableZeroCopy)},
#if defined(OS_MACOSX)
{"disable-hosted-app-shim-creation",
flag_descriptions::kHostedAppShimCreationName,
flag_descriptions::kHostedAppShimCreationDescription, kOsMac,
SINGLE_DISABLE_VALUE_TYPE(switches::kDisableHostedAppShimCreation)},
{"enable-hosted-app-quit-notification",
flag_descriptions::kHostedAppQuitNotificationName,
flag_descriptions::kHostedAppQuitNotificationDescription, kOsMac,
SINGLE_VALUE_TYPE(switches::kHostedAppQuitNotification)},
#endif // OS_MACOSX
#if defined(OS_ANDROID)
{"translate-force-trigger-on-english",
flag_descriptions::kTranslateForceTriggerOnEnglishName,
flag_descriptions::kTranslateForceTriggerOnEnglishDescription, kOsAndroid,
FEATURE_WITH_PARAMS_VALUE_TYPE(language::kOverrideTranslateTriggerInIndia,
kTranslateForceTriggerOnEnglishVariations,
"OverrideTranslateTriggerInIndia")},
#endif // OS_ANDROID
#if defined(OS_LINUX) || defined(OS_MACOSX) || defined(OS_WIN) || \
defined(OS_CHROMEOS)
{"translate-ui-bubble-options", flag_descriptions::kTranslateBubbleUIName,
flag_descriptions::kTranslateBubbleUIDescription, kOsDesktop,
FEATURE_WITH_PARAMS_VALUE_TYPE(language::kUseButtonTranslateBubbleUI,
kTranslateBubbleUIVariations,
"UseButtonTranslateBubbleUI")},
#endif // OS_LINUX || OS_MACOSX || OS_WIN || OS_CHROMEOS
#if BUILDFLAG(ENABLE_NATIVE_NOTIFICATIONS) && !defined(OS_CHROMEOS)
{"enable-native-notifications",
flag_descriptions::kNotificationsNativeFlagName,
flag_descriptions::kNotificationsNativeFlagDescription,
kOsMac | kOsLinux | kOsWin,
FEATURE_VALUE_TYPE(features::kNativeNotifications)},
#endif // ENABLE_NATIVE_NOTIFICATIONS
#if defined(OS_ANDROID)
{"reader-mode-heuristics", flag_descriptions::kReaderModeHeuristicsName,
flag_descriptions::kReaderModeHeuristicsDescription, kOsAndroid,
MULTI_VALUE_TYPE(kReaderModeHeuristicsChoices)},
#endif // OS_ANDROID
#if defined(OS_ANDROID)
{"enable-chrome-duet", flag_descriptions::kChromeDuetName,
flag_descriptions::kChromeDuetDescription, kOsAndroid,
FEATURE_VALUE_TYPE(chrome::android::kChromeDuetFeature)},
{"force-enable-home-page-button", flag_descriptions::kHomePageButtonName,
flag_descriptions::kHomePageButtonDescription, kOsAndroid,
FEATURE_VALUE_TYPE(chrome::android::kHomePageButtonForceEnabled)},
{"enable-ntp-button", flag_descriptions::kNtpButtonName,
flag_descriptions::kNtpButtonDescription, kOsAndroid,
FEATURE_VALUE_TYPE(chrome::android::kNTPButton)},
{"enable-homepage-tile", flag_descriptions::kHomepageTileName,
flag_descriptions::kHomepageTileDescription, kOsAndroid,
FEATURE_VALUE_TYPE(chrome::android::kHomepageTile)},
{"enable-search-ready-omnibox", flag_descriptions::kSearchReadyOmniboxName,
flag_descriptions::kSearchReadyOmniboxDescription, kOsAndroid,
FEATURE_VALUE_TYPE(chrome::android::kSearchReadyOmniboxFeature)},
#endif // OS_ANDROID
{"in-product-help-demo-mode-choice",
flag_descriptions::kInProductHelpDemoModeChoiceName,
flag_descriptions::kInProductHelpDemoModeChoiceDescription, kOsAll,
FEATURE_WITH_PARAMS_VALUE_TYPE(
feature_engagement::kIPHDemoMode,
feature_engagement::kIPHDemoModeChoiceVariations,
"IPH_DemoMode")},
{"disable-threaded-scrolling", flag_descriptions::kThreadedScrollingName,
flag_descriptions::kThreadedScrollingDescription, kOsAll,
SINGLE_DISABLE_VALUE_TYPE(switches::kDisableThreadedScrolling)},
{"extension-content-verification",
flag_descriptions::kExtensionContentVerificationName,
flag_descriptions::kExtensionContentVerificationDescription, kOsDesktop,
MULTI_VALUE_TYPE(kExtensionContentVerificationChoices)},
#if !defined(OS_ANDROID)
#if defined(OS_CHROMEOS)
{"enable-lock-screen-notification",
flag_descriptions::kLockScreenNotificationName,
flag_descriptions::kLockScreenNotificationDescription, kOsCrOS,
FEATURE_VALUE_TYPE(ash::features::kLockScreenNotifications)},
#endif // OS_CHROMEOS
{"enable-message-center-new-style-notification",
flag_descriptions::kMessageCenterNewStyleNotificationName,
flag_descriptions::kMessageCenterNewStyleNotificationDescription,
kOsDesktop, FEATURE_VALUE_TYPE(message_center::kNewStyleNotifications)},
#endif // !OS_ANDROID
#if defined(OS_CHROMEOS)
{"wake-on-wifi-packet", flag_descriptions::kWakeOnPacketsName,
flag_descriptions::kWakeOnPacketsDescription, kOsCrOSOwnerOnly,
SINGLE_VALUE_TYPE(chromeos::switches::kWakeOnWifiPacket)},
#endif // OS_CHROMEOS
{"reduced-referrer-granularity",
flag_descriptions::kReducedReferrerGranularityName,
flag_descriptions::kReducedReferrerGranularityDescription, kOsAll,
FEATURE_VALUE_TYPE(features::kReducedReferrerGranularity)},
#if defined(OS_CHROMEOS)
{"crostini-backup", flag_descriptions::kCrostiniBackupName,
flag_descriptions::kCrostiniBackupDescription, kOsCrOS,
FEATURE_VALUE_TYPE(chromeos::features::kCrostiniBackup)},
#endif // OS_CHROMEOS
#if defined(OS_ANDROID)
{"enable-credit-card-assist", flag_descriptions::kCreditCardAssistName,
flag_descriptions::kCreditCardAssistDescription, kOsAndroid,
FEATURE_VALUE_TYPE(autofill::features::kAutofillCreditCardAssist)},
#endif // OS_ANDROID
{"ssl-committed-interstitials",
flag_descriptions::kSSLCommittedInterstitialsName,
flag_descriptions::kSSLCommittedInterstitialsDescription, kOsAll,
FEATURE_VALUE_TYPE(features::kSSLCommittedInterstitials)},
{"http-auth-committed-interstitials",
flag_descriptions::kHTTPAuthCommittedInterstitialsName,
flag_descriptions::kHTTPAuthCommittedInterstitialsDescription, kOsAll,
FEATURE_VALUE_TYPE(features::kHTTPAuthCommittedInterstitials)},
#if defined(OS_ANDROID)
{"enable-site-isolation-for-password-sites",
flag_descriptions::kSiteIsolationForPasswordSitesName,
flag_descriptions::kSiteIsolationForPasswordSitesDescription, kOsAndroid,
FEATURE_VALUE_TYPE(features::kSiteIsolationForPasswordSites)},
{"enable-site-per-process", flag_descriptions::kStrictSiteIsolationName,
flag_descriptions::kStrictSiteIsolationDescription, kOsAndroid,
SINGLE_VALUE_TYPE(switches::kSitePerProcess)},
{"enable-process-sharing-with-strict-site-instances",
flag_descriptions::kProcessSharingWithStrictSiteInstancesName,
flag_descriptions::kProcessSharingWithStrictSiteInstancesDescription,
kOsAndroid,
FEATURE_VALUE_TYPE(features::kProcessSharingWithStrictSiteInstances)},
#endif
{"isolate-origins", flag_descriptions::kIsolateOriginsName,
flag_descriptions::kIsolateOriginsDescription, kOsAll,
ORIGIN_LIST_VALUE_TYPE(switches::kIsolateOrigins, "")},
{"kids-management-url-classification",
flag_descriptions::kKidsManagementUrlClassificationName,
flag_descriptions::kKidsManagementUrlClassificationDescription, kOsAll,
FEATURE_VALUE_TYPE(features::kKidsManagementUrlClassification)},
{"site-isolation-trial-opt-out",
flag_descriptions::kSiteIsolationOptOutName,
flag_descriptions::kSiteIsolationOptOutDescription, kOsAll,
MULTI_VALUE_TYPE(kSiteIsolationOptOutChoices)},
{"enable-use-zoom-for-dsf", flag_descriptions::kEnableUseZoomForDsfName,
flag_descriptions::kEnableUseZoomForDsfDescription, kOsAll,
MULTI_VALUE_TYPE(kEnableUseZoomForDSFChoices)},
{"allow-previews", flag_descriptions::kPreviewsAllowedName,
flag_descriptions::kPreviewsAllowedDescription, kOsAll,
FEATURE_VALUE_TYPE(previews::features::kPreviews)},
{"data-saver-server-previews",
flag_descriptions::kDataSaverServerPreviewsName,
flag_descriptions::kDataSaverServerPreviewsDescription, kOsAll,
FEATURE_VALUE_TYPE(
data_reduction_proxy::features::kDataReductionProxyDecidesTransform)},
{"ignore-previews-blocklist",
flag_descriptions::kIgnorePreviewsBlacklistName,
flag_descriptions::kIgnorePreviewsBlacklistDescription, kOsAll,
SINGLE_VALUE_TYPE(previews::switches::kIgnorePreviewsBlacklist)},
{"ignore-litepage-redirect-optimization-blacklist",
flag_descriptions::kIgnoreLitePageRedirectHintsBlacklistName,
flag_descriptions::kIgnoreLitePageRedirectHintsBlacklistDescription,
kOsAll,
SINGLE_VALUE_TYPE(
previews::switches::kIgnoreLitePageRedirectOptimizationBlacklist)},
{"enable-data-reduction-proxy-server-experiment",
flag_descriptions::kEnableDataReductionProxyServerExperimentName,
flag_descriptions::kEnableDataReductionProxyServerExperimentDescription,
kOsAll, MULTI_VALUE_TYPE(kDataReductionProxyServerExperiment)},
#if defined(OS_ANDROID)
{"enable-offline-previews", flag_descriptions::kEnableOfflinePreviewsName,
flag_descriptions::kEnableOfflinePreviewsDescription, kOsAndroid,
FEATURE_VALUE_TYPE(previews::features::kOfflinePreviews)},
{"enable-lite-page-server-previews",
flag_descriptions::kEnableLitePageServerPreviewsName,
flag_descriptions::kEnableLitePageServerPreviewsDescription, kOsAndroid,
FEATURE_VALUE_TYPE(previews::features::kLitePageServerPreviews)},
{"enable-url-loader-lite-page-server-previews",
flag_descriptions::kEnableURLLoaderLitePageServerPreviewsName,
flag_descriptions::kEnableURLLoaderLitePageServerPreviewsName, kOsAndroid,
FEATURE_VALUE_TYPE(
previews::features::kHTTPSServerPreviewsUsingURLLoader)},
#endif // OS_ANDROID
#if defined(OS_CHROMEOS) || defined(OS_LINUX)
{"enable-save-data", flag_descriptions::kEnableSaveDataName,
flag_descriptions::kEnableSaveDataDescription, kOsCrOS,
SINGLE_VALUE_TYPE(
data_reduction_proxy::switches::kEnableDataReductionProxy)},
#endif // OS_CHROMEOS
{"enable-noscript-previews", flag_descriptions::kEnableNoScriptPreviewsName,
flag_descriptions::kEnableNoScriptPreviewsDescription, kOsAll,
FEATURE_VALUE_TYPE(previews::features::kNoScriptPreviews)},
{"enable-resource-loading-hints",
flag_descriptions::kEnableResourceLoadingHintsName,
flag_descriptions::kEnableResourceLoadingHintsDescription, kOsAll,
FEATURE_VALUE_TYPE(previews::features::kResourceLoadingHints)},
{"allow-insecure-localhost", flag_descriptions::kAllowInsecureLocalhostName,
flag_descriptions::kAllowInsecureLocalhostDescription, kOsAll,
SINGLE_VALUE_TYPE(switches::kAllowInsecureLocalhost)},
#if !defined(OS_ANDROID)
{"enable-app-banners", flag_descriptions::kAppBannersName,
flag_descriptions::kAppBannersDescription, kOsDesktop,
FEATURE_VALUE_TYPE(features::kAppBanners)},
#endif // !OS_ANDROID
{"enable-experimental-app-banners",
flag_descriptions::kExperimentalAppBannersName,
flag_descriptions::kExperimentalAppBannersDescription, kOsAll,
FEATURE_VALUE_TYPE(features::kExperimentalAppBanners)},
{"bypass-app-banner-engagement-checks",
flag_descriptions::kBypassAppBannerEngagementChecksName,
flag_descriptions::kBypassAppBannerEngagementChecksDescription, kOsAll,
SINGLE_VALUE_TYPE(switches::kBypassAppBannerEngagementChecks)},
{"enable-desktop-pwas", flag_descriptions::kEnableDesktopPWAsName,
flag_descriptions::kEnableDesktopPWAsDescription, kOsDesktop,
FEATURE_VALUE_TYPE(features::kDesktopPWAWindowing)},
{"enable-desktop-pwas-link-capturing",
flag_descriptions::kEnableDesktopPWAsLinkCapturingName,
flag_descriptions::kEnableDesktopPWAsLinkCapturingDescription, kOsDesktop,
FEATURE_VALUE_TYPE(features::kDesktopPWAsLinkCapturing)},
{"enable-system-webapps", flag_descriptions::kEnableSystemWebAppsName,
flag_descriptions::kEnableSystemWebAppsDescription, kOsDesktop,
FEATURE_VALUE_TYPE(features::kSystemWebApps)},
{"enable-desktop-pwas-stay-in-window",
flag_descriptions::kDesktopPWAsStayInWindowName,
flag_descriptions::kDesktopPWAsStayInWindowDescription, kOsDesktop,
FEATURE_VALUE_TYPE(features::kDesktopPWAsStayInWindow)},
{"enable-desktop-pwas-omnibox-install",
flag_descriptions::kDesktopPWAsOmniboxInstallName,
flag_descriptions::kDesktopPWAsOmniboxInstallDescription, kOsDesktop,
FEATURE_VALUE_TYPE(features::kDesktopPWAsOmniboxInstall)},
{"use-sync-sandbox", flag_descriptions::kSyncSandboxName,
flag_descriptions::kSyncSandboxDescription, kOsAll,
SINGLE_VALUE_TYPE_AND_VALUE(
switches::kSyncServiceURL,
"https://chrome-sync.sandbox.google.com/chrome-sync/alpha")},
#if !defined(OS_ANDROID)
{"load-media-router-component-extension",
flag_descriptions::kLoadMediaRouterComponentExtensionName,
flag_descriptions::kLoadMediaRouterComponentExtensionDescription,
kOsDesktop,
ENABLE_DISABLE_VALUE_TYPE_AND_VALUE(
switches::kLoadMediaRouterComponentExtension,
"1",
switches::kLoadMediaRouterComponentExtension,
"0")},
{"media-router-cast-allow-all-ips",
flag_descriptions::kMediaRouterCastAllowAllIPsName,
flag_descriptions::kMediaRouterCastAllowAllIPsDescription, kOsDesktop,
FEATURE_VALUE_TYPE(media_router::kCastAllowAllIPsFeature)},
#endif // !OS_ANDROID
#if defined(OS_ANDROID)
{"autofill-keyboard-accessory-view",
flag_descriptions::kAutofillAccessoryViewName,
flag_descriptions::kAutofillAccessoryViewDescription, kOsAndroid,
FEATURE_WITH_PARAMS_VALUE_TYPE(
autofill::features::kAutofillKeyboardAccessory,
kAutofillKeyboardAccessoryFeatureVariations,
"AutofillKeyboardAccessoryVariations")},
#endif // OS_ANDROID
#if defined(OS_WIN)
{"try-supported-channel-layouts",
flag_descriptions::kTrySupportedChannelLayoutsName,
flag_descriptions::kTrySupportedChannelLayoutsDescription, kOsWin,
SINGLE_VALUE_TYPE(switches::kTrySupportedChannelLayouts)},
#endif // OS_WIN
#if defined(OS_MACOSX)
{"mac-v2-gpu-sandbox", flag_descriptions::kMacV2GPUSandboxName,
flag_descriptions::kMacV2GPUSandboxDescription, kOsMac,
FEATURE_VALUE_TYPE(features::kMacV2GPUSandbox)},
{"mac-views-task-manager", flag_descriptions::kMacViewsTaskManagerName,
flag_descriptions::kMacViewsTaskManagerDescription, kOsMac,
FEATURE_VALUE_TYPE(features::kViewsTaskManager)},
#endif // OS_MACOSX
{"enable-webvr", flag_descriptions::kWebvrName,
flag_descriptions::kWebvrDescription, kOsAll,
SINGLE_VALUE_TYPE(switches::kEnableWebVR)},
{"webxr", flag_descriptions::kWebXrName,
flag_descriptions::kWebXrDescription, kOsAll,
FEATURE_VALUE_TYPE(features::kWebXr)},
{"webxr-hit-test", flag_descriptions::kWebXrHitTestName,
flag_descriptions::kWebXrHitTestDescription, kOsAll,
FEATURE_VALUE_TYPE(features::kWebXrHitTest)},
{"webxr-plane-detection", flag_descriptions::kWebXrPlaneDetectionName,
flag_descriptions::kWebXrPlaneDetectionDescription, kOsAll,
FEATURE_VALUE_TYPE(features::kWebXrPlaneDetection)},
#if BUILDFLAG(ENABLE_VR)
{"webxr-orientation-sensor-device",
flag_descriptions::kWebXrOrientationSensorDeviceName,
flag_descriptions::kWebXrOrientationSensorDeviceDescription, kOsDesktop,
FEATURE_VALUE_TYPE(device::kWebXrOrientationSensorDevice)},
#if BUILDFLAG(ENABLE_OCULUS_VR)
{"oculus-vr", flag_descriptions::kOculusVRName,
flag_descriptions::kOculusVRDescription, kOsWin,
FEATURE_VALUE_TYPE(features::kOculusVR)},
#endif // ENABLE_OCULUS_VR
#if BUILDFLAG(ENABLE_OPENVR)
{"openvr", flag_descriptions::kOpenVRName,
flag_descriptions::kOpenVRDescription, kOsWin,
FEATURE_VALUE_TYPE(features::kOpenVR)},
#endif // ENABLE_OPENVR
#if BUILDFLAG(ENABLE_WINDOWS_MR)
{"windows-mixed-reality", flag_descriptions::kWindowsMixedRealityName,
flag_descriptions::kWindowsMixedRealityDescription, kOsWin,
FEATURE_VALUE_TYPE(features::kWindowsMixedReality)},
#endif // ENABLE_WINDOWS_MR
#if BUILDFLAG(ENABLE_ISOLATED_XR_SERVICE)
{"xr-sandbox", flag_descriptions::kXRSandboxName,
flag_descriptions::kXRSandboxDescription, kOsWin,
FEATURE_VALUE_TYPE(service_manager::features::kXRSandbox)},
#endif // ENABLE_ISOLATED_XR_SERVICE
#endif // ENABLE_VR
#if defined(OS_CHROMEOS)
{"disable-accelerated-mjpeg-decode",
flag_descriptions::kAcceleratedMjpegDecodeName,
flag_descriptions::kAcceleratedMjpegDecodeDescription, kOsCrOS,
SINGLE_DISABLE_VALUE_TYPE(switches::kDisableAcceleratedMjpegDecode)},
#endif // OS_CHROMEOS
{"v8-cache-options", flag_descriptions::kV8CacheOptionsName,
flag_descriptions::kV8CacheOptionsDescription, kOsAll,
MULTI_VALUE_TYPE(kV8CacheOptionsChoices)},
{"system-keyboard-lock", flag_descriptions::kSystemKeyboardLockName,
flag_descriptions::kSystemKeyboardLockDescription, kOsDesktop,
FEATURE_VALUE_TYPE(features::kSystemKeyboardLock)},
#if defined(OS_ANDROID)
{"progress-bar-throttle", flag_descriptions::kProgressBarThrottleName,
flag_descriptions::kProgressBarThrottleDescription, kOsAndroid,
FEATURE_VALUE_TYPE(chrome::android::kProgressBarThrottleFeature)},
#endif // OS_ANDROID
#if defined(OS_ANDROID)
{"offline-pages-load-signal-collecting",
flag_descriptions::kOfflinePagesLoadSignalCollectingName,
flag_descriptions::kOfflinePagesLoadSignalCollectingDescription,
kOsAndroid,
FEATURE_VALUE_TYPE(
offline_pages::kOfflinePagesLoadSignalCollectingFeature)},
{"offline-pages-live-page-sharing",
flag_descriptions::kOfflinePagesLivePageSharingName,
flag_descriptions::kOfflinePagesLivePageSharingDescription, kOsAndroid,
FEATURE_VALUE_TYPE(offline_pages::kOfflinePagesLivePageSharingFeature)},
{"offline-pages-prefetching",
flag_descriptions::kOfflinePagesPrefetchingName,
flag_descriptions::kOfflinePagesPrefetchingDescription, kOsAndroid,
FEATURE_VALUE_TYPE(offline_pages::kPrefetchingOfflinePagesFeature)},
{"offline-pages-failed-download",
flag_descriptions::kOfflinePagesDescriptiveFailStatusName,
flag_descriptions::kOfflinePagesDescriptiveFailStatusDescription,
kOsAndroid,
FEATURE_VALUE_TYPE(
offline_pages::kOfflinePagesDescriptiveFailStatusFeature)},
{"offline-pages-pending-download",
flag_descriptions::kOfflinePagesDescriptivePendingStatusName,
flag_descriptions::kOfflinePagesDescriptivePendingStatusDescription,
kOsAndroid,
FEATURE_VALUE_TYPE(
offline_pages::kOfflinePagesDescriptivePendingStatusFeature)},
{"offline-pages-resource-based-snapshot",
flag_descriptions::kOfflinePagesResourceBasedSnapshotName,
flag_descriptions::kOfflinePagesResourceBasedSnapshotDescription,
kOsAndroid,
FEATURE_VALUE_TYPE(
offline_pages::kOfflinePagesResourceBasedSnapshotFeature)},
{"offline-pages-renovations",
flag_descriptions::kOfflinePagesRenovationsName,
flag_descriptions::kOfflinePagesRenovationsDescription, kOsAndroid,
FEATURE_VALUE_TYPE(offline_pages::kOfflinePagesRenovationsFeature)},
{"offline-pages-in-downloads-home-open-in-cct",
flag_descriptions::kOfflinePagesInDownloadHomeOpenInCctName,
flag_descriptions::kOfflinePagesInDownloadHomeOpenInCctDescription,
kOsAndroid,
FEATURE_VALUE_TYPE(
offline_pages::kOfflinePagesInDownloadHomeOpenInCctFeature)},
{"offline-pages-alternate-dino-page",
flag_descriptions::kOfflinePagesShowAlternateDinoPageName,
flag_descriptions::kOfflinePagesShowAlternateDinoPageDescription,
kOsAndroid,
FEATURE_VALUE_TYPE(
offline_pages::kOfflinePagesShowAlternateDinoPageFeature)},
{"offline-indicator-choice", flag_descriptions::kOfflineIndicatorChoiceName,
flag_descriptions::kOfflineIndicatorChoiceDescription, kOsAndroid,
FEATURE_WITH_PARAMS_VALUE_TYPE(offline_pages::kOfflineIndicatorFeature,
kOfflineIndicatorFeatureVariations,
"OfflineIndicator")},
{"offline-indicator-always-http-probe",
flag_descriptions::kOfflineIndicatorAlwaysHttpProbeName,
flag_descriptions::kOfflineIndicatorAlwaysHttpProbeDescription, kOsAndroid,
FEATURE_VALUE_TYPE(
offline_pages::kOfflineIndicatorAlwaysHttpProbeFeature)},
{"on-the-fly-mhtml-hash-computation",
flag_descriptions::kOnTheFlyMhtmlHashComputationName,
flag_descriptions::kOnTheFlyMhtmlHashComputationDescription, kOsAndroid,
FEATURE_VALUE_TYPE(offline_pages::kOnTheFlyMhtmlHashComputationFeature)},
#endif // OS_ANDROID
{"disallow-doc-written-script-loads",
flag_descriptions::kDisallowDocWrittenScriptsUiName,
flag_descriptions::kDisallowDocWrittenScriptsUiDescription, kOsAll,
// NOTE: if we want to add additional experiment entries for other
// features controlled by kBlinkSettings, we'll need to add logic to
// merge the flag values.
ENABLE_DISABLE_VALUE_TYPE_AND_VALUE(
switches::kBlinkSettings,
"disallowFetchForDocWrittenScriptsInMainFrame=true",
switches::kBlinkSettings,
"disallowFetchForDocWrittenScriptsInMainFrame=false")},
#if defined(OS_WIN)
{"use-winrt-midi-api", flag_descriptions::kUseWinrtMidiApiName,
flag_descriptions::kUseWinrtMidiApiDescription, kOsWin,
FEATURE_VALUE_TYPE(midi::features::kMidiManagerWinrt)},
#endif // OS_WIN
#if defined(OS_CHROMEOS)
{"cros-regions-mode", flag_descriptions::kCrosRegionsModeName,
flag_descriptions::kCrosRegionsModeDescription, kOsCrOS,
MULTI_VALUE_TYPE(kCrosRegionsModeChoices)},
#endif // OS_CHROMEOS
#if defined(OS_WIN)
{"enable-appcontainer", flag_descriptions::kEnableAppcontainerName,
flag_descriptions::kEnableAppcontainerDescription, kOsWin,
ENABLE_DISABLE_VALUE_TYPE(
service_manager::switches::kEnableAppContainer,
service_manager::switches::kDisableAppContainer)},
#endif // OS_WIN
#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
{"enable-autofill-credit-card-upload",
flag_descriptions::kAutofillCreditCardUploadName,
flag_descriptions::kAutofillCreditCardUploadDescription, kOsAll,
FEATURE_VALUE_TYPE(autofill::features::kAutofillUpstream)},
#endif // TOOLKIT_VIEWS || OS_ANDROID
{"force-ui-direction", flag_descriptions::kForceUiDirectionName,
flag_descriptions::kForceUiDirectionDescription, kOsAll,
MULTI_VALUE_TYPE(kForceUIDirectionChoices)},
{"force-text-direction", flag_descriptions::kForceTextDirectionName,
flag_descriptions::kForceTextDirectionDescription, kOsAll,
MULTI_VALUE_TYPE(kForceTextDirectionChoices)},
#if defined(OS_ANDROID)
{"force-update-menu-type", flag_descriptions::kUpdateMenuTypeName,
flag_descriptions::kUpdateMenuTypeDescription, kOsAndroid,
MULTI_VALUE_TYPE(kForceUpdateMenuTypeChoices)},
{"enable-inline-update-flow", flag_descriptions::kInlineUpdateFlowName,
flag_descriptions::kInlineUpdateFlowDescription, kOsAndroid,
FEATURE_VALUE_TYPE(chrome::android::kInlineUpdateFlow)},
{"update-menu-item-custom-summary",
flag_descriptions::kUpdateMenuItemCustomSummaryName,
flag_descriptions::kUpdateMenuItemCustomSummaryDescription, kOsAndroid,
SINGLE_VALUE_TYPE_AND_VALUE(
switches::kForceShowUpdateMenuItemCustomSummary,
"Custom Summary")},
{"force-show-update-menu-badge", flag_descriptions::kUpdateMenuBadgeName,
flag_descriptions::kUpdateMenuBadgeDescription, kOsAndroid,
SINGLE_VALUE_TYPE(switches::kForceShowUpdateMenuBadge)},
{"set-market-url-for-testing",
flag_descriptions::kSetMarketUrlForTestingName,
flag_descriptions::kSetMarketUrlForTestingDescription, kOsAndroid,
SINGLE_VALUE_TYPE_AND_VALUE(
switches::kMarketUrlForTesting,
"https://play.google.com/store/apps/details?id=com.android.chrome")},
#endif // OS_ANDROID
{"enforce-tls13-downgrade", flag_descriptions::kEnforceTLS13DowngradeName,
flag_descriptions::kEnforceTLS13DowngradeDescription, kOsAll,
FEATURE_WITH_PARAMS_VALUE_TYPE(net::features::kEnforceTLS13Downgrade,
kEnforceTLS13DowngradeFeatureVariations,
"EnforceTLS13Downgrade")},
{"enable-tls13-early-data", flag_descriptions::kEnableTLS13EarlyDataName,
flag_descriptions::kEnableTLS13EarlyDataDescription, kOsAll,
FEATURE_VALUE_TYPE(net::features::kEnableTLS13EarlyData)},
{"enable-scroll-anchor-serialization",
flag_descriptions::kEnableScrollAnchorSerializationName,
flag_descriptions::kEnableScrollAnchorSerializationDescription, kOsAll,
FEATURE_VALUE_TYPE(features::kScrollAnchorSerialization)},
#if defined(OS_ANDROID)
{"interest-feed-content-suggestions",
flag_descriptions::kInterestFeedContentSuggestionsName,
flag_descriptions::kInterestFeedContentSuggestionsDescription, kOsAndroid,
FEATURE_WITH_PARAMS_VALUE_TYPE(feed::kInterestFeedContentSuggestions,
kInterestFeedFeatureVariations,
"InterestFeedContentSuggestions")},
{"enable-ntp-remote-suggestions",
flag_descriptions::kEnableNtpRemoteSuggestionsName,
flag_descriptions::kEnableNtpRemoteSuggestionsDescription, kOsAndroid,
FEATURE_WITH_PARAMS_VALUE_TYPE(ntp_snippets::kArticleSuggestionsFeature,
kRemoteSuggestionsFeatureVariations,
"NTPArticleSuggestions")},
#endif // OS_ANDROID
{"user-activation-v2", flag_descriptions::kUserActivationV2Name,
flag_descriptions::kUserActivationV2Description, kOsAll,
FEATURE_VALUE_TYPE(features::kUserActivationV2)},
#if defined(OS_ANDROID)
{"offlining-recent-pages", flag_descriptions::kOffliningRecentPagesName,
flag_descriptions::kOffliningRecentPagesDescription, kOsAndroid,
FEATURE_VALUE_TYPE(offline_pages::kOffliningRecentPagesFeature)},
{"offline-pages-ct", flag_descriptions::kOfflinePagesCtName,
flag_descriptions::kOfflinePagesCtDescription, kOsAndroid,
FEATURE_VALUE_TYPE(offline_pages::kOfflinePagesCTFeature)},
{"offline-pages-ct-v2", flag_descriptions::kOfflinePagesCtV2Name,
flag_descriptions::kOfflinePagesCtV2Description, kOsAndroid,
FEATURE_VALUE_TYPE(offline_pages::kOfflinePagesCTV2Feature)},
{"offline-pages-ct-suppress-completed-notification",
flag_descriptions::kOfflinePagesCTSuppressNotificationsName,
flag_descriptions::kOfflinePagesCTSuppressNotificationsDescription,
kOsAndroid,
FEATURE_VALUE_TYPE(
offline_pages::kOfflinePagesCTSuppressNotificationsFeature)},
#endif // OS_ANDROID
{"PasswordImport", flag_descriptions::kPasswordImportName,
flag_descriptions::kPasswordImportDescription, kOsAll,
FEATURE_VALUE_TYPE(password_manager::features::kPasswordImport)},
#if defined(OS_ANDROID)
{"passwords-keyboard-accessory",
flag_descriptions::kPasswordsKeyboardAccessoryName,
flag_descriptions::kPasswordsKeyboardAccessoryDescription, kOsAndroid,
FEATURE_VALUE_TYPE(
password_manager::features::kPasswordsKeyboardAccessory)},
#endif // OS_ANDROID
#if defined(OS_ANDROID)
{"enable-android-web-contents-dark-mode",
flag_descriptions::kAndroidWebContentsDarkMode,
flag_descriptions::kAndroidWebContentsDarkModeDescription, kOsAndroid,
FEATURE_VALUE_TYPE(chrome::android::kAndroidWebContentsDarkMode)},
#if BUILDFLAG(ENABLE_ANDROID_NIGHT_MODE)
{"enable-android-night-mode", flag_descriptions::kAndroidNightModeName,
flag_descriptions::kAndroidNightModeDescription, kOsAndroid,
FEATURE_VALUE_TYPE(chrome::android::kAndroidNightMode)},
#endif // BUILDFLAG(ENABLE_ANDROID_NIGHT_MODE)
#endif // OS_ANDROID
#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
{"passwords-migrate-linux-to-login-db",
flag_descriptions::kPasswordsMigrateLinuxToLoginDBName,
flag_descriptions::kPasswordsMigrateLinuxToLoginDBDescription, kOsLinux,
FEATURE_VALUE_TYPE(password_manager::features::kMigrateLinuxToLoginDB)},
#endif // defined(OS_LINUX) && !defined(OS_CHROMEOS)
{"enable-experimental-accessibility-features",
flag_descriptions::kExperimentalAccessibilityFeaturesName,
flag_descriptions::kExperimentalAccessibilityFeaturesDescription, kOsCrOS,
SINGLE_VALUE_TYPE(::switches::kEnableExperimentalAccessibilityFeatures)},
{"enable-experimental-accessibility-language-detection",
flag_descriptions::kExperimentalAccessibilityLanguageDetectionName,
flag_descriptions::kExperimentalAccessibilityLanguageDetectionDescription,
kOsCrOS,
SINGLE_VALUE_TYPE(
::switches::kEnableExperimentalAccessibilityLanguageDetection)},
#if defined(OS_CHROMEOS)
{"enable-bulk-printers", flag_descriptions::kBulkPrintersName,
flag_descriptions::kBulkPrintersDescription, kOsCrOS,
FEATURE_VALUE_TYPE(features::kBulkPrinters)},
{"enable-encryption-migration",
flag_descriptions::kEnableEncryptionMigrationName,
flag_descriptions::kEnableEncryptionMigrationDescription, kOsCrOS,
ENABLE_DISABLE_VALUE_TYPE(
chromeos::switches::kEnableEncryptionMigration,
chromeos::switches::kDisableEncryptionMigration)},
{"enable-cros-ime-input-logic-fst",
flag_descriptions::kImeInputLogicFstName,
flag_descriptions::kImeInputLogicFstDescription, kOsCrOS,
FEATURE_VALUE_TYPE(chromeos::features::kImeInputLogicFst)},
{"enable-cros-ime-service", flag_descriptions::kImeServiceName,
flag_descriptions::kImeServiceDescription, kOsCrOS,
FEATURE_VALUE_TYPE(chromeos::features::kImeServiceConnectable)},
{"enable-experimental-accessibility-autoclick",
flag_descriptions::kExperimentalAccessibilityAutoclickName,
flag_descriptions::kExperimentalAccessibilityAutoclickDescription, kOsCrOS,
SINGLE_VALUE_TYPE(::switches::kEnableExperimentalAccessibilityAutoclick)},
{"enable-experimental-accessibility-switch-access",
flag_descriptions::kExperimentalAccessibilitySwitchAccessName,
flag_descriptions::kExperimentalAccessibilitySwitchAccessDescription,
kOsCrOS,
SINGLE_VALUE_TYPE(
::switches::kEnableExperimentalAccessibilitySwitchAccess)},
{"enable-experimental-accessibility-chromevox-language-switching",
flag_descriptions::
kExperimentalAccessibilityChromeVoxLanguageSwitchingName,
flag_descriptions::
kExperimentalAccessibilityChromeVoxLanguageSwitchingDescription,
kOsCrOS,
SINGLE_VALUE_TYPE(
::switches::
kEnableExperimentalAccessibilityChromeVoxLanguageSwitching)},
{"enable-experimental-accessibility-chromevox-rich-text-indication",
flag_descriptions::
kExperimentalAccessibilityChromeVoxRichTextIndicationName,
flag_descriptions::
kExperimentalAccessibilityChromeVoxRichTextIndicationDescription,
kOsCrOS,
SINGLE_VALUE_TYPE(
::switches::
kEnableExperimentalAccessibilityChromeVoxRichTextIndication)},
#endif // OS_CHROMEOS
#if !defined(OS_ANDROID) && defined(GOOGLE_CHROME_BUILD)
{"enable-google-branded-context-menu",
flag_descriptions::kGoogleBrandedContextMenuName,
flag_descriptions::kGoogleBrandedContextMenuDescription, kOsDesktop,
FEATURE_VALUE_TYPE(features::kGoogleBrandedContextMenu)},
#endif // !OS_ANDROID && GOOGLE_CHROME_BUILD
#if defined(OS_MACOSX)
{"enable-immersive-fullscreen-toolbar",
flag_descriptions::kImmersiveFullscreenName,
flag_descriptions::kImmersiveFullscreenDescription, kOsMac,
FEATURE_VALUE_TYPE(features::kImmersiveFullscreen)},
#endif // OS_MACOSX
{"rewrite-leveldb-on-deletion",
flag_descriptions::kRewriteLevelDBOnDeletionName,
flag_descriptions::kRewriteLevelDBOnDeletionDescription, kOsAll,
FEATURE_VALUE_TYPE(leveldb::kLevelDBRewriteFeature)},
{"passive-listener-default",
flag_descriptions::kPassiveEventListenerDefaultName,
flag_descriptions::kPassiveEventListenerDefaultDescription, kOsAll,
MULTI_VALUE_TYPE(kPassiveListenersChoices)},
{"document-passive-event-listeners",
flag_descriptions::kPassiveDocumentEventListenersName,
flag_descriptions::kPassiveDocumentEventListenersDescription, kOsAll,
FEATURE_VALUE_TYPE(features::kPassiveDocumentEventListeners)},
{"document-passive-wheel-event-listeners",
flag_descriptions::kPassiveDocumentWheelEventListenersName,
flag_descriptions::kPassiveDocumentWheelEventListenersDescription, kOsAll,
FEATURE_VALUE_TYPE(features::kPassiveDocumentWheelEventListeners)},
{"passive-event-listeners-due-to-fling",
flag_descriptions::kPassiveEventListenersDueToFlingName,
flag_descriptions::kPassiveEventListenersDueToFlingDescription, kOsAll,
FEATURE_VALUE_TYPE(features::kPassiveEventListenersDueToFling)},
{"per-method-can-make-payment-quota",
flag_descriptions::kPerMethodCanMakePaymentQuotaName,
flag_descriptions::kPerMethodCanMakePaymentQuotaDescription, kOsAll,
FEATURE_VALUE_TYPE(
payments::features::kWebPaymentsPerMethodCanMakePaymentQuota)},
{"enable-web-payments-experimental-features",
flag_descriptions::kWebPaymentsExperimentalFeaturesName,
flag_descriptions::kWebPaymentsExperimentalFeaturesDescription, kOsAll,
FEATURE_VALUE_TYPE(payments::features::kWebPaymentsExperimentalFeatures)},
{"fill-on-account-select", flag_descriptions::kFillOnAccountSelectName,
flag_descriptions::kFillOnAccountSelectDescription, kOsAll,
FEATURE_VALUE_TYPE(password_manager::features::kFillOnAccountSelect)},
{"fill-on-account-select-http",
flag_descriptions::kFillOnAccountSelectHttpName,
flag_descriptions::kFillOnAccountSelectHttpDescription, kOsAll,
FEATURE_VALUE_TYPE(password_manager::features::kFillOnAccountSelectHttp)},
{"enable-surfaces-for-videos",
flag_descriptions::kUseSurfaceLayerForVideoName,
flag_descriptions::kUseSurfaceLayerForVideoDescription, kOsAll,
FEATURE_VALUE_TYPE(media::kUseSurfaceLayerForVideo)},
#if defined(OS_ANDROID)
{"no-credit-card-abort", flag_descriptions::kNoCreditCardAbort,
flag_descriptions::kNoCreditCardAbortDescription, kOsAndroid,
FEATURE_VALUE_TYPE(chrome::android::kNoCreditCardAbort)},
#endif // OS_ANDROID
#if defined(OS_CHROMEOS)
{"arc-available-for-child", flag_descriptions::kArcAvailableForChildName,
flag_descriptions::kArcAvailableForChildDescription, kOsCrOS,
FEATURE_VALUE_TYPE(arc::kAvailableForChildAccountFeature)},
{"arc-boot-completed-broadcast", flag_descriptions::kArcBootCompleted,
flag_descriptions::kArcBootCompletedDescription, kOsCrOS,
FEATURE_VALUE_TYPE(arc::kBootCompletedBroadcastFeature)},
{"arc-custom-tabs-experiment",
flag_descriptions::kArcCustomTabsExperimentName,
flag_descriptions::kArcCustomTabsExperimentDescription, kOsCrOS,
FEATURE_VALUE_TYPE(arc::kCustomTabsExperimentFeature)},
{"arc-documents-provider", flag_descriptions::kArcDocumentsProviderName,
flag_descriptions::kArcDocumentsProviderDescription, kOsCrOS,
FEATURE_VALUE_TYPE(arc::kEnableDocumentsProviderInFilesAppFeature)},
{"arc-file-picker-experiment",
flag_descriptions::kArcFilePickerExperimentName,
flag_descriptions::kArcFilePickerExperimentDescription, kOsCrOS,
FEATURE_VALUE_TYPE(arc::kFilePickerExperimentFeature)},
{"arc-graphics-buffer-visualization-tool",
flag_descriptions::kArcGraphicBuffersVisualizationToolName,
flag_descriptions::kArcGraphicBuffersVisualizationToolDescription, kOsCrOS,
FEATURE_VALUE_TYPE(arc::kGraphicBuffersVisualizationTool)},
{"arc-native-bridge-experiment",
flag_descriptions::kArcNativeBridgeExperimentName,
flag_descriptions::kArcNativeBridgeExperimentDescription, kOsCrOS,
FEATURE_VALUE_TYPE(arc::kNativeBridgeExperimentFeature)},
{"arc-print-spooler-experiment",
flag_descriptions::kArcPrintSpoolerExperimentName,
flag_descriptions::kArcPrintSpoolerExperimentDescription, kOsCrOS,
FEATURE_VALUE_TYPE(arc::kPrintSpoolerExperimentFeature)},
{"arc-usb-host", flag_descriptions::kArcUsbHostName,
flag_descriptions::kArcUsbHostDescription, kOsCrOS,
FEATURE_VALUE_TYPE(arc::kUsbHostFeature)},
{"arc-vpn", flag_descriptions::kArcVpnName,
flag_descriptions::kArcVpnDescription, kOsCrOS,
FEATURE_VALUE_TYPE(arc::kVpnFeature)},
#endif // OS_CHROMEOS
{"enable-generic-sensor", flag_descriptions::kEnableGenericSensorName,
flag_descriptions::kEnableGenericSensorDescription, kOsAll,
FEATURE_VALUE_TYPE(features::kGenericSensor)},
{"enable-generic-sensor-extra-classes",
flag_descriptions::kEnableGenericSensorExtraClassesName,
flag_descriptions::kEnableGenericSensorExtraClassesDescription, kOsAll,
FEATURE_VALUE_TYPE(features::kGenericSensorExtraClasses)},
{"enable-sensor-content-setting",
flag_descriptions::kEnableSensorContentSettingName,
flag_descriptions::kEnableSensorContentSettingDescription, kOsAll,
FEATURE_VALUE_TYPE(features::kSensorContentSetting)},
{"expensive-background-timer-throttling",
flag_descriptions::kExpensiveBackgroundTimerThrottlingName,
flag_descriptions::kExpensiveBackgroundTimerThrottlingDescription, kOsAll,
FEATURE_VALUE_TYPE(features::kExpensiveBackgroundTimerThrottling)},
#if BUILDFLAG(ENABLE_PRINT_PREVIEW)
{"enable-cloud-printer-handler",
flag_descriptions::kCloudPrinterHandlerName,
flag_descriptions::kCloudPrinterHandlerDescription, kOsDesktop,
FEATURE_VALUE_TYPE(features::kCloudPrinterHandler)},
{"enable-new-print-preview-layout",
flag_descriptions::kNewPrintPreviewLayoutName,
flag_descriptions::kNewPrintPreviewLayoutDescription, kOsDesktop,
FEATURE_VALUE_TYPE(features::kNewPrintPreviewLayout)},
#endif
#if defined(OS_CHROMEOS)
{ui_devtools::switches::kEnableUiDevTools,
flag_descriptions::kUiDevToolsName,
flag_descriptions::kUiDevToolsDescription, kOsCrOS,
SINGLE_VALUE_TYPE(ui_devtools::switches::kEnableUiDevTools)},
#endif // defined(OS_CHROMEOS)
{"enable-autofill-credit-card-ablation-experiment",
flag_descriptions::kEnableAutofillCreditCardAblationExperimentDisplayName,
flag_descriptions::kEnableAutofillCreditCardAblationExperimentDescription,
kOsAll,
FEATURE_VALUE_TYPE(
autofill::features::kAutofillCreditCardAblationExperiment)},
{"enable-autofill-credit-card-upload-editable-cardholder-name",
flag_descriptions::
kEnableAutofillCreditCardUploadEditableCardholderNameName,
flag_descriptions::
kEnableAutofillCreditCardUploadEditableCardholderNameDescription,
kOsAll,
FEATURE_VALUE_TYPE(
autofill::features::kAutofillUpstreamEditableCardholderName)},
{"enable-autofill-credit-card-upload-editable-expiration-date",
flag_descriptions::
kEnableAutofillCreditCardUploadEditableExpirationDateName,
flag_descriptions::
kEnableAutofillCreditCardUploadEditableExpirationDateDescription,
kOsAll,
FEATURE_VALUE_TYPE(
autofill::features::kAutofillUpstreamEditableExpirationDate)},
{"enable-autofill-do-not-upload-save-unsupported-cards",
flag_descriptions::kEnableAutofillDoNotUploadSaveUnsupportedCardsName,
flag_descriptions::
kEnableAutofillDoNotUploadSaveUnsupportedCardsDescription,
kOsAll,
FEATURE_VALUE_TYPE(
autofill::features::kAutofillDoNotUploadSaveUnsupportedCards)},
{"enable-autofill-import-non-focusable-credit-card-forms",
flag_descriptions::kEnableAutofillImportNonFocusableCreditCardFormsName,
flag_descriptions::
kEnableAutofillImportNonFocusableCreditCardFormsDescription,
kOsAll,
FEATURE_VALUE_TYPE(
autofill::features::kAutofillImportNonFocusableCreditCardForms)},
{"enable-autofill-import-dynamic-forms",
flag_descriptions::kEnableAutofillImportDynamicFormsName,
flag_descriptions::kEnableAutofillImportDynamicFormsDescription, kOsAll,
FEATURE_VALUE_TYPE(autofill::features::kAutofillImportDynamicForms)},
{"enable-autofill-local-card-migration-uses-strike-system-v2",
flag_descriptions::kEnableAutofillLocalCardMigrationUsesStrikeSystemV2Name,
flag_descriptions::
kEnableAutofillLocalCardMigrationUsesStrikeSystemV2Description,
kOsAll,
FEATURE_VALUE_TYPE(
autofill::features::kAutofillLocalCardMigrationUsesStrikeSystemV2)},
{"enable-autofill-save-card-improved-user-consent",
flag_descriptions::kEnableAutofillSaveCardImprovedUserConsentName,
flag_descriptions::kEnableAutofillSaveCardImprovedUserConsentDescription,
kOsDesktop,
FEATURE_VALUE_TYPE(
autofill::features::kAutofillSaveCardImprovedUserConsent)},
{"enable-autofill-save-credit-card-uses-strike-system",
flag_descriptions::kEnableAutofillSaveCreditCardUsesStrikeSystemName,
flag_descriptions::
kEnableAutofillSaveCreditCardUsesStrikeSystemDescription,
kOsAll,
FEATURE_VALUE_TYPE(
autofill::features::kAutofillSaveCreditCardUsesStrikeSystem)},
{"enable-autofill-save-credit-card-uses-strike-system-v2",
flag_descriptions::kEnableAutofillSaveCreditCardUsesStrikeSystemV2Name,
flag_descriptions::
kEnableAutofillSaveCreditCardUsesStrikeSystemV2Description,
kOsAll,
FEATURE_VALUE_TYPE(
autofill::features::kAutofillSaveCreditCardUsesStrikeSystemV2)},
{"enable-autofill-send-experiment-ids-in-payments-rpcs",
flag_descriptions::kEnableAutofillSendExperimentIdsInPaymentsRPCsName,
flag_descriptions::
kEnableAutofillSendExperimentIdsInPaymentsRPCsDescription,
kOsAll,
FEATURE_VALUE_TYPE(
autofill::features::kAutofillSendExperimentIdsInPaymentsRPCs)},
#if defined(OS_ANDROID)
{"enable-autofill-manual-fallback",
flag_descriptions::kAutofillManualFallbackAndroidName,
flag_descriptions::kAutofillManualFallbackAndroidDescription, kOsAndroid,
FEATURE_VALUE_TYPE(autofill::features::kAutofillManualFallbackAndroid)},
{"enable-autofill-refresh-style",
flag_descriptions::kEnableAutofillRefreshStyleName,
flag_descriptions::kEnableAutofillRefreshStyleDescription, kOsAndroid,
FEATURE_VALUE_TYPE(autofill::features::kAutofillRefreshStyleAndroid)},
{"lsd-permission-prompt", flag_descriptions::kLsdPermissionPromptName,
flag_descriptions::kLsdPermissionPromptDescription, kOsAndroid,
FEATURE_VALUE_TYPE(features::kLsdPermissionPrompt)},
{"language-settings", flag_descriptions::kLanguagesPreferenceName,
flag_descriptions::kLanguagesPreferenceDescription, kOsAndroid,
FEATURE_VALUE_TYPE(chrome::android::kLanguagesPreference)},
#endif
#if defined(OS_CHROMEOS)
{"enable-touchscreen-calibration",
flag_descriptions::kTouchscreenCalibrationName,
flag_descriptions::kTouchscreenCalibrationDescription, kOsCrOS,
SINGLE_VALUE_TYPE(chromeos::switches::kEnableTouchCalibrationSetting)},
#endif // defined(OS_CHROMEOS)
#if defined(OS_CHROMEOS)
{"android-files-in-files-app",
flag_descriptions::kShowAndroidFilesInFilesAppName,
flag_descriptions::kShowAndroidFilesInFilesAppDescription, kOsCrOS,
ENABLE_DISABLE_VALUE_TYPE(
chromeos::switches::kShowAndroidFilesInFilesApp,
chromeos::switches::kHideAndroidFilesInFilesApp)},
{"crostini-gpu-support", flag_descriptions::kCrostiniGpuSupportName,
flag_descriptions::kCrostiniGpuSupportDescription, kOsCrOS,
FEATURE_VALUE_TYPE(chromeos::features::kCrostiniGpuSupport)},
{"crostini-usb-allow-unsupported",
flag_descriptions::kCrostiniUsbAllowUnsupportedName,
flag_descriptions::kCrostiniUsbAllowUnsupportedDescription, kOsCrOS,
FEATURE_VALUE_TYPE(chromeos::features::kCrostiniUsbAllowUnsupported)},
{"crostini-usb-support", flag_descriptions::kCrostiniUsbSupportName,
flag_descriptions::kCrostiniUsbSupportDescription, kOsCrOS,
FEATURE_VALUE_TYPE(chromeos::features::kCrostiniUsbSupport)},
{"file-manager-feedback-panel",
flag_descriptions::kFileManagerFeedbackPanelName,
flag_descriptions::kFileManagerFeedbackPanelDescription, kOsCrOS,
FEATURE_VALUE_TYPE(chromeos::features::kEnableFileManagerFeedbackPanel)},
{"file-manager-piex-wasm", flag_descriptions::kFileManagerPiexWasmName,
flag_descriptions::kFileManagerPiexWasmDescription, kOsCrOS,
FEATURE_VALUE_TYPE(chromeos::features::kEnableFileManagerPiexWasm)},
#endif // OS_CHROMEOS
#if defined(OS_WIN)
{"gdi-text-printing", flag_descriptions::kGdiTextPrinting,
flag_descriptions::kGdiTextPrintingDescription, kOsWin,
FEATURE_VALUE_TYPE(features::kGdiTextPrinting)},
{"postscript-printing", flag_descriptions::kDisablePostscriptPrinting,
flag_descriptions::kDisablePostscriptPrintingDescription, kOsWin,
FEATURE_VALUE_TYPE(features::kDisablePostScriptPrinting)},
#endif // defined(OS_WIN)
#if defined(OS_WIN)
{"new-usb-backend", flag_descriptions::kNewUsbBackendName,
flag_descriptions::kNewUsbBackendDescription, kOsWin,
FEATURE_VALUE_TYPE(device::kNewUsbBackend)},
#endif // defined(OS_WIN)
#if defined(OS_ANDROID)
{"omnibox-new-answer-layout",
flag_descriptions::kOmniboxNewAnswerLayoutName,
flag_descriptions::kOmniboxNewAnswerLayoutDescription, kOsAndroid,
FEATURE_VALUE_TYPE(omnibox::kOmniboxNewAnswerLayout)},
#endif // defined(OS_ANDROID)
{"omnibox-rich-entity-suggestions",
flag_descriptions::kOmniboxRichEntitySuggestionsName,
flag_descriptions::kOmniboxRichEntitySuggestionsDescription, kOsAll,
FEATURE_VALUE_TYPE(omnibox::kOmniboxRichEntitySuggestions)},
{"omnibox-local-entity-suggestions",
flag_descriptions::kOmniboxLocalEntitySuggestionsName,
flag_descriptions::kOmniboxLocalEntitySuggestionsDescription, kOsDesktop,
FEATURE_VALUE_TYPE(omnibox::kOmniboxLocalEntitySuggestions)},
#if defined(OS_LINUX) || defined(OS_MACOSX) || defined(OS_WIN)
{"omnibox-experimental-keyword-mode",
flag_descriptions::kOmniboxExperimentalKeywordModeName,
flag_descriptions::kOmniboxExperimentalKeywordModeDescription, kOsDesktop,
FEATURE_VALUE_TYPE(omnibox::kExperimentalKeywordMode)},
{"omnibox-reverse-answers", flag_descriptions::kOmniboxReverseAnswersName,
flag_descriptions::kOmniboxReverseAnswersDescription, kOsDesktop,
FEATURE_VALUE_TYPE(omnibox::kOmniboxReverseAnswers)},
{"omnibox-reverse-tab-switch-logic",
flag_descriptions::kOmniboxReverseTabSwitchLogicName,
flag_descriptions::kOmniboxReverseTabSwitchLogicDescription, kOsDesktop,
FEATURE_VALUE_TYPE(omnibox::kOmniboxReverseTabSwitchLogic)},
{"omnibox-short-bookmark-suggestions",
flag_descriptions::kOmniboxShortBookmarkSuggestionsName,
flag_descriptions::kOmniboxShortBookmarkSuggestionsDescription, kOsDesktop,
FEATURE_VALUE_TYPE(omnibox::kOmniboxShortBookmarkSuggestions)},
{"omnibox-tab-switch-suggestions",
flag_descriptions::kOmniboxTabSwitchSuggestionsName,
flag_descriptions::kOmniboxTabSwitchSuggestionsDescription, kOsDesktop,
FEATURE_VALUE_TYPE(omnibox::kOmniboxTabSwitchSuggestions)},
{"omnibox-pedal-suggestions",
flag_descriptions::kOmniboxPedalSuggestionsName,
flag_descriptions::kOmniboxPedalSuggestionsDescription, kOsDesktop,
FEATURE_VALUE_TYPE(omnibox::kOmniboxPedalSuggestions)},
{"omnibox-suggestion-transparency-options",
flag_descriptions::kOmniboxSuggestionTransparencyOptionsName,
flag_descriptions::kOmniboxSuggestionTransparencyOptionsDescription,
kOsAll,
FEATURE_VALUE_TYPE(omnibox::kOmniboxSuggestionTransparencyOptions)},
{"omnibox-ui-cues-for-search-history-matches",
flag_descriptions::kOmniboxUICuesForSearchHistoryMatchesName,
flag_descriptions::kOmniboxUICuesForSearchHistoryMatchesDescription,
kOsAll,
FEATURE_VALUE_TYPE(omnibox::kOmniboxUICuesForSearchHistoryMatches)},
{"omnibox-alternate-match-description-separator",
flag_descriptions::kOmniboxAlternateMatchDescriptionSeparatorName,
flag_descriptions::kOmniboxAlternateMatchDescriptionSeparatorDescription,
kOsDesktop,
FEATURE_VALUE_TYPE(omnibox::kOmniboxAlternateMatchDescriptionSeparator)},
{"omnibox-drive-suggestions",
flag_descriptions::kOmniboxDriveSuggestionsName,
flag_descriptions::kOmniboxDriveSuggestionsDescriptions, kOsDesktop,
FEATURE_VALUE_TYPE(omnibox::kDocumentProvider)},
{"omnibox-deduplicate-drive-urls",
flag_descriptions::kOmniboxDeduplicateDriveUrlsName,
flag_descriptions::kOmniboxDeduplicateDriveUrlsDescription, kOsDesktop,
FEATURE_VALUE_TYPE(omnibox::kDedupeGoogleDriveURLs)},
#endif // defined(OS_LINUX) || defined(OS_MACOSX) || defined(OS_WIN)
{"enable-speculative-service-worker-start-on-query-input",
flag_descriptions::kSpeculativeServiceWorkerStartOnQueryInputName,
flag_descriptions::kSpeculativeServiceWorkerStartOnQueryInputDescription,
kOsAll,
FEATURE_VALUE_TYPE(omnibox::kSpeculativeServiceWorkerStartOnQueryInput)},
// NOTE: This feature is generic and marked kOsAll but is used only in CrOS
// for AndroidMessagesIntegration feature.
{"enable-service-worker-long-running-message",
flag_descriptions::kServiceWorkerLongRunningMessageName,
flag_descriptions::kServiceWorkerLongRunningMessageDescription, kOsAll,
FEATURE_VALUE_TYPE(features::kServiceWorkerLongRunningMessage)},
#if defined(OS_CHROMEOS)
{"scheduler-configuration", flag_descriptions::kSchedulerConfigurationName,
flag_descriptions::kSchedulerConfigurationDescription, kOsCrOS,
MULTI_VALUE_TYPE(kSchedulerConfigurationChoices)},
#endif // OS_CHROMEOS
#if defined(OS_ANDROID)
{"enable-command-line-on-non-rooted-devices",
flag_descriptions::kEnableCommandLineOnNonRootedName,
flag_descriptions::kEnableCommandLineOnNoRootedDescription, kOsAndroid,
FEATURE_VALUE_TYPE(chrome::android::kCommandLineOnNonRooted)},
#endif // OS_ANDROID
#if defined(OS_ANDROID)
{"enable-custom-context-menu",
flag_descriptions::kEnableCustomContextMenuName,
flag_descriptions::kEnableCustomContextMenuDescription, kOsAndroid,
FEATURE_VALUE_TYPE(chrome::android::kCustomContextMenu)},
#endif // OS_ANDROID
#if defined(OS_ANDROID)
{"enable-revamped-context-menu",
flag_descriptions::kEnableRevampedContextMenuName,
flag_descriptions::kEnableRevampedContextMenuDescription, kOsAndroid,
FEATURE_VALUE_TYPE(chrome::android::kRevampedContextMenu)},
#endif // OS_ANDROID
{"omnibox-display-title-for-current-url",
flag_descriptions::kOmniboxDisplayTitleForCurrentUrlName,
flag_descriptions::kOmniboxDisplayTitleForCurrentUrlDescription, kOsAll,
FEATURE_VALUE_TYPE(omnibox::kDisplayTitleForCurrentUrl)},
{"force-color-profile", flag_descriptions::kForceColorProfileName,
flag_descriptions::kForceColorProfileDescription, kOsAll,
MULTI_VALUE_TYPE(kForceColorProfileChoices)},
#if defined(OS_ANDROID)
{"enable-webnfc", flag_descriptions::kEnableWebNfcName,
flag_descriptions::kEnableWebNfcDescription, kOsAndroid,
FEATURE_VALUE_TYPE(features::kWebNfc)},
#endif
{"force-effective-connection-type",
flag_descriptions::kForceEffectiveConnectionTypeName,
flag_descriptions::kForceEffectiveConnectionTypeDescription, kOsAll,
MULTI_VALUE_TYPE(kForceEffectiveConnectionTypeChoices)},
{"memlog", flag_descriptions::kMemlogName,
flag_descriptions::kMemlogDescription, kOsAll,
MULTI_VALUE_TYPE(kMemlogModeChoices)},
{"memlog-sampling-rate", flag_descriptions::kMemlogSamplingRateName,
flag_descriptions::kMemlogSamplingRateDescription, kOsAll,
MULTI_VALUE_TYPE(kMemlogSamplingRateChoices)},
{"memlog-stack-mode", flag_descriptions::kMemlogStackModeName,
flag_descriptions::kMemlogStackModeDescription, kOsAll,
MULTI_VALUE_TYPE(kMemlogStackModeChoices)},
{"omnibox-ui-hide-steady-state-url-scheme",
flag_descriptions::kOmniboxUIHideSteadyStateUrlSchemeName,
flag_descriptions::kOmniboxUIHideSteadyStateUrlSchemeDescription, kOsAll,
FEATURE_VALUE_TYPE(omnibox::kHideSteadyStateUrlScheme)},
{"omnibox-ui-hide-steady-state-url-trivial-subdomains",
flag_descriptions::kOmniboxUIHideSteadyStateUrlTrivialSubdomainsName,
flag_descriptions::
kOmniboxUIHideSteadyStateUrlTrivialSubdomainsDescription,
kOsAll, FEATURE_VALUE_TYPE(omnibox::kHideSteadyStateUrlTrivialSubdomains)},
{"omnibox-ui-hide-steady-state-url-path-query-and-ref",
flag_descriptions::kOmniboxUIHideSteadyStateUrlPathQueryAndRefName,
flag_descriptions::kOmniboxUIHideSteadyStateUrlPathQueryAndRefDescription,
kOsAll, FEATURE_VALUE_TYPE(omnibox::kHideSteadyStateUrlPathQueryAndRef)},
{"omnibox-ui-one-click-unelide",
flag_descriptions::kOmniboxUIOneClickUnelideName,
flag_descriptions::kOmniboxUIOneClickUnelideDescription, kOsAll,
FEATURE_VALUE_TYPE(omnibox::kOneClickUnelide)},
{"omnibox-ui-max-autocomplete-matches",
flag_descriptions::kOmniboxUIMaxAutocompleteMatchesName,
flag_descriptions::kOmniboxUIMaxAutocompleteMatchesDescription, kOsDesktop,
FEATURE_WITH_PARAMS_VALUE_TYPE(
omnibox::kUIExperimentMaxAutocompleteMatches,
kOmniboxUIMaxAutocompleteMatchesVariations,
"OmniboxUIMaxAutocompleteVariations")},
{"omnibox-ui-vertical-margin",
flag_descriptions::kOmniboxUIVerticalMarginName,
flag_descriptions::kOmniboxUIVerticalMarginDescription, kOsDesktop,
FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kUIExperimentVerticalMargin,
kOmniboxUIVerticalMarginVariations,
"OmniboxUIVerticalMarginVariations")},
{"omnibox-ui-vertical-margin-limit-to-non-touch-only",
flag_descriptions::kOmniboxUIVerticalMarginLimitToNonTouchOnlyName,
flag_descriptions::kOmniboxUIVerticalMarginLimitToNonTouchOnlyDescription,
kOsDesktop,
FEATURE_VALUE_TYPE(
omnibox::kUIExperimentVerticalMarginLimitToNonTouchOnly)},
{"omnibox-ui-show-suggestion-favicons",
flag_descriptions::kOmniboxUIShowSuggestionFaviconsName,
flag_descriptions::kOmniboxUIShowSuggestionFaviconsDescription,
kOsDesktop | kOsAndroid,
FEATURE_VALUE_TYPE(omnibox::kUIExperimentShowSuggestionFavicons)},
{"omnibox-ui-swap-title-and-url",
flag_descriptions::kOmniboxUISwapTitleAndUrlName,
flag_descriptions::kOmniboxUISwapTitleAndUrlDescription, kOsDesktop,
FEATURE_VALUE_TYPE(omnibox::kUIExperimentSwapTitleAndUrl)},
#if defined(OS_ANDROID)
{"omnibox-zero-suggestions-on-ntp",
flag_descriptions::kOmniboxZeroSuggestionsOnNTPName,
flag_descriptions::kOmniboxZeroSuggestionsOnNTPDescription, kOsAndroid,
FEATURE_VALUE_TYPE(omnibox::kZeroSuggestionsOnNTP)},
#endif
{"omnibox-material-design-weather-icons",
flag_descriptions::kOmniboxMaterialDesignWeatherIconsName,
flag_descriptions::kOmniboxMaterialDesignWeatherIconsDescription,
kOsDesktop,
FEATURE_VALUE_TYPE(omnibox::kOmniboxMaterialDesignWeatherIcons)},
{"use-new-accept-language-header",
flag_descriptions::kUseNewAcceptLanguageHeaderName,
flag_descriptions::kUseNewAcceptLanguageHeaderDescription, kOsAll,
FEATURE_VALUE_TYPE(features::kUseNewAcceptLanguageHeader)},
#if defined(OS_CHROMEOS)
{"handwriting-gesture", flag_descriptions::kHandwritingGestureName,
flag_descriptions::kHandwritingGestureDescription, kOsCrOS,
FEATURE_VALUE_TYPE(features::kHandwritingGesture)},
#endif // OS_CHROMEOS
{"network-service", flag_descriptions::kEnableNetworkServiceName,
flag_descriptions::kEnableNetworkServiceDescription, kOsAll,
FEATURE_VALUE_TYPE(network::features::kNetworkService)},
{"network-service-in-process",
flag_descriptions::kEnableNetworkServiceInProcessName,
flag_descriptions::kEnableNetworkServiceInProcessDescription, kOsAll,
FEATURE_VALUE_TYPE(features::kNetworkServiceInProcess)},
{"allow-starting-service-manager-only",
flag_descriptions::kAllowStartingServiceManagerOnlyName,
flag_descriptions::kAllowStartingServiceManagerOnlyDescription, kOsAll,
FEATURE_VALUE_TYPE(features::kAllowStartingServiceManagerOnly)},
{"out-of-blink-cors", flag_descriptions::kEnableOutOfBlinkCorsName,
flag_descriptions::kEnableOutOfBlinkCorsDescription, kOsAll,
FEATURE_VALUE_TYPE(network::features::kOutOfBlinkCors)},
{"enable-resource-load-scheduler",
flag_descriptions::kResourceLoadSchedulerName,
flag_descriptions::kResourceLoadSchedulerDescription, kOsAll,
FEATURE_VALUE_TYPE(features::kResourceLoadScheduler)},
#if defined(OS_ANDROID)
{"omnibox-spare-renderer", flag_descriptions::kOmniboxSpareRendererName,
flag_descriptions::kOmniboxSpareRendererDescription, kOsAndroid,
FEATURE_VALUE_TYPE(chrome::android::kOmniboxSpareRenderer)},
#endif
#if defined(OS_CHROMEOS)
{"double-tap-to-zoom-in-tablet-mode",
flag_descriptions::kDoubleTapToZoomInTabletModeName,
flag_descriptions::kDoubleTapToZoomInTabletModeDescription, kOsCrOS,
FEATURE_VALUE_TYPE(features::kDoubleTapToZoomInTabletMode)},
#endif // defined(OS_CHROMEOS)
{"tab-groups", flag_descriptions::kTabGroupsName,
flag_descriptions::kTabGroupsDescription, kOsDesktop,
FEATURE_VALUE_TYPE(features::kTabGroups)},
{"scrollable-tabstrip", flag_descriptions::kScrollableTabStripName,
flag_descriptions::kScrollableTabStripDescription, kOsDesktop,
FEATURE_VALUE_TYPE(features::kScrollableTabStrip)},
#if defined(OS_ANDROID)
{"enable-reader-mode-in-cct", flag_descriptions::kReaderModeInCCTName,
flag_descriptions::kReaderModeInCCTDescription, kOsAndroid,
FEATURE_VALUE_TYPE(chrome::android::kReaderModeInCCT)},
#endif // !defined(OS_ANDROID)
#if defined(OS_ANDROID)
{"pwa-improved-splash-screen",
flag_descriptions::kPwaImprovedSplashScreenName,
flag_descriptions::kPwaImprovedSplashScreenDescription, kOsAndroid,
FEATURE_VALUE_TYPE(chrome::android::kPwaImprovedSplashScreen)},
#endif // OS_ANDROID
#if defined(OS_ANDROID)
{"pwa-persistent-notification",
flag_descriptions::kPwaPersistentNotificationName,
flag_descriptions::kPwaPersistentNotificationDescription, kOsAndroid,
FEATURE_VALUE_TYPE(chrome::android::kPwaPersistentNotification)},
#endif // OS_ANDROID
{"click-to-open-pdf", flag_descriptions::kClickToOpenPDFName,
flag_descriptions::kClickToOpenPDFDescription, kOsAll,
FEATURE_VALUE_TYPE(features::kClickToOpenPDFPlaceholder)},
#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
{"direct-manipulation-stylus",
flag_descriptions::kDirectManipulationStylusName,
flag_descriptions::kDirectManipulationStylusDescription,
kOsWin | kOsMac | kOsLinux,
FEATURE_VALUE_TYPE(features::kDirectManipulationStylus)},
{"show-managed-ui", flag_descriptions::kShowManagedUiName,
flag_descriptions::kShowManagedUiDescription,
kOsWin | kOsMac | kOsLinux | kOsCrOS,