| // Copyright 2012 The Chromium Authors |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| // Instructions for adding new entries to this file: |
| // https://chromium.googlesource.com/chromium/src/+/main/docs/how_to_add_your_feature_flag.md#step-2_adding-the-feature-flag-to-the-chrome_flags-ui |
| |
| #include "chrome/browser/about_flags.h" |
| |
| #include <iterator> |
| #include <map> |
| #include <memory> |
| #include <set> |
| #include <utility> |
| |
| #include "base/base_switches.h" |
| #include "base/command_line.h" |
| #include "base/feature_list.h" |
| #include "base/functional/bind.h" |
| #include "base/functional/callback.h" |
| #include "base/i18n/base_i18n_switches.h" |
| #include "base/memory/singleton.h" |
| #include "base/metrics/histogram_functions.h" |
| #include "base/no_destructor.h" |
| #include "base/strings/string_number_conversions.h" |
| #include "base/strings/utf_string_conversions.h" |
| #include "base/task/task_features.h" |
| #include "base/values.h" |
| #include "build/branding_buildflags.h" |
| #include "build/build_config.h" |
| #include "cc/base/features.h" |
| #include "cc/base/switches.h" |
| #include "chrome/browser/browser_features.h" |
| #include "chrome/browser/browser_process.h" |
| #include "chrome/browser/fast_checkout/fast_checkout_features.h" |
| #include "chrome/browser/feature_guide/notifications/feature_notification_guide_service.h" |
| #include "chrome/browser/flag_descriptions.h" |
| #include "chrome/browser/follow/follow_features.h" |
| #include "chrome/browser/login_detection/login_detection_util.h" |
| #include "chrome/browser/media/router/discovery/access_code/access_code_cast_constants.h" |
| #include "chrome/browser/media/router/discovery/access_code/access_code_cast_feature.h" |
| #include "chrome/browser/navigation_predictor/navigation_predictor_features.h" |
| #include "chrome/browser/navigation_predictor/search_engine_preconnector.h" |
| #include "chrome/browser/net/stub_resolver_config_reader.h" |
| #include "chrome/browser/net/system_network_context_manager.h" |
| #include "chrome/browser/notifications/scheduler/public/features.h" |
| #include "chrome/browser/page_info/page_info_features.h" |
| #include "chrome/browser/permissions/notifications_permission_revocation_config.h" |
| #include "chrome/browser/permissions/quiet_notification_permission_ui_config.h" |
| #include "chrome/browser/predictors/loading_predictor_config.h" |
| #include "chrome/browser/preloading/prefetch/search_prefetch/field_trial_settings.h" |
| #include "chrome/browser/resource_coordinator/tab_manager_features.h" |
| #include "chrome/browser/share/share_features.h" |
| #include "chrome/browser/sharing/features.h" |
| #include "chrome/browser/sharing_hub/sharing_hub_features.h" |
| #include "chrome/browser/signin/signin_features.h" |
| #include "chrome/browser/site_isolation/about_flags.h" |
| #include "chrome/browser/thumbnail/cc/features.h" |
| #include "chrome/browser/ui/browser_navigator_params.h" |
| #include "chrome/browser/ui/ui_features.h" |
| #include "chrome/browser/unexpire_flags.h" |
| #include "chrome/browser/unexpire_flags_gen.h" |
| #include "chrome/browser/video_tutorials/switches.h" |
| #include "chrome/browser/webauthn/webauthn_switches.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/ui/wm/features.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/browser_sync/browser_sync_switches.h" |
| #include "components/browser_ui/settings/android/features.h" |
| #include "components/browser_ui/site_settings/android/features.h" |
| #include "components/browsing_data/core/features.h" |
| #include "components/commerce/core/commerce_feature_list.h" |
| #include "components/commerce/core/flag_descriptions.h" |
| #include "components/component_updater/component_updater_command_line_config_policy.h" |
| #include "components/component_updater/component_updater_switches.h" |
| #include "components/content_settings/core/common/features.h" |
| #include "components/contextual_search/core/browser/contextual_search_field_trial.h" |
| #include "components/contextual_search/core/browser/public.h" |
| #include "components/dom_distiller/core/dom_distiller_features.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/external_intents/android/external_intents_features.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_state.h" |
| #include "components/flags_ui/flags_storage.h" |
| #include "components/flags_ui/flags_ui_metrics.h" |
| #include "components/flags_ui/flags_ui_switches.h" |
| #include "components/flags_ui/pref_service_flags_storage.h" |
| #include "components/heavy_ad_intervention/heavy_ad_features.h" |
| #include "components/history/core/browser/features.h" |
| #include "components/history_clusters/core/config.h" |
| #include "components/history_clusters/core/features.h" |
| #include "components/history_clusters/core/on_device_clustering_features.h" |
| #include "components/image_service/features.h" |
| #include "components/invalidation/impl/invalidation_switches.h" |
| #include "components/language/core/common/language_experiments.h" |
| #include "components/lens/buildflags.h" |
| #include "components/lens/lens_features.h" |
| #include "components/messages/android/messages_feature.h" |
| #include "components/mirroring/service/mirroring_features.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/no_state_prefetch/browser/no_state_prefetch_field_trial.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/optimization_guide/core/optimization_guide_features.h" |
| #include "components/optimization_guide/core/optimization_guide_switches.h" |
| #include "components/page_info/core/features.h" |
| #include "components/paint_preview/buildflags/buildflags.h" |
| #include "components/paint_preview/features/features.h" |
| #include "components/password_manager/core/common/password_manager_features.h" |
| #include "components/payments/core/features.h" |
| #include "components/performance_manager/public/features.h" |
| #include "components/permissions/features.h" |
| #include "components/policy/core/common/features.h" |
| #include "components/power_bookmarks/core/power_bookmark_features.h" |
| #include "components/privacy_sandbox/privacy_sandbox_features.h" |
| #include "components/query_tiles/switches.h" |
| #include "components/reading_list/features/reading_list_switches.h" |
| #include "components/safe_browsing/core/common/features.h" |
| #include "components/search/ntp_features.h" |
| #include "components/security_interstitials/content/stateful_ssl_host_state_delegate.h" |
| #include "components/security_state/core/security_state.h" |
| #include "components/segmentation_platform/public/features.h" |
| #include "components/send_tab_to_self/features.h" |
| #include "components/services/heap_profiling/public/cpp/switches.h" |
| #include "components/shared_highlighting/core/common/shared_highlighting_features.h" |
| #include "components/signin/core/browser/dice_account_reconcilor_delegate.h" |
| #include "components/signin/public/base/signin_buildflags.h" |
| #include "components/signin/public/base/signin_switches.h" |
| #include "components/site_isolation/features.h" |
| #include "components/spellcheck/common/spellcheck_features.h" |
| #include "components/spellcheck/spellcheck_buildflags.h" |
| #include "components/supervised_user/core/common/buildflags.h" |
| #include "components/sync/base/command_line_switches.h" |
| #include "components/sync/base/features.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/translate/core/common/translate_util.h" |
| #include "components/ui_devtools/switches.h" |
| #include "components/variations/service/google_groups_updater_service.h" |
| #include "components/variations/variations_switches.h" |
| #include "components/version_info/version_info.h" |
| #include "components/viz/common/features.h" |
| #include "components/viz/common/switches.h" |
| #include "components/webapps/browser/features.h" |
| #include "components/webapps/common/switches.h" |
| #include "content/public/common/content_features.h" |
| #include "content/public/common/content_switches.h" |
| #include "device/base/features.h" |
| #include "device/bluetooth/bluez/bluez_features.h" |
| #include "device/bluetooth/chromeos_platform_features.h" |
| #include "device/bluetooth/floss/floss_features.h" |
| #include "device/fido/features.h" |
| #include "device/gamepad/public/cpp/gamepad_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/capture/capture_switches.h" |
| #include "media/media_buildflags.h" |
| #include "media/midi/midi_switches.h" |
| #include "media/webrtc/webrtc_features.h" |
| #include "mojo/core/embedder/features.h" |
| #include "net/base/features.h" |
| #include "net/net_buildflags.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 "sandbox/policy/features.h" |
| #include "sandbox/policy/switches.h" |
| #include "services/device/public/cpp/device_features.h" |
| #include "services/device/public/cpp/serial/serial_switches.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/tracing/public/cpp/tracing_features.h" |
| #include "storage/browser/quota/quota_features.h" |
| #include "third_party/blink/public/common/features.h" |
| #include "third_party/blink/public/common/forcedark/forcedark_switches.h" |
| #include "third_party/blink/public/common/switches.h" |
| #include "ui/accessibility/accessibility_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_features.h" |
| #include "ui/gl/gl_switches.h" |
| #include "ui/native_theme/native_theme_features.h" |
| #include "ui/ui_features.h" |
| #include "url/url_features.h" |
| |
| #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) |
| #include "base/allocator/buildflags.h" |
| #endif |
| |
| #if BUILDFLAG(IS_CHROMEOS) |
| #include "base/process/process.h" |
| #include "chrome/browser/apps/intent_helper/intent_picker_features.h" |
| #include "chromeos/constants/chromeos_features.h" |
| #endif |
| |
| #if BUILDFLAG(IS_ANDROID) |
| #include "cc/slim/features.h" // nogncheck |
| #include "chrome/browser/flags/android/chrome_feature_list.h" |
| #include "chrome/browser/notifications/chime/android/features.h" |
| #include "chrome/browser/push_messaging/push_messaging_features.h" |
| #include "components/browser_ui/photo_picker/android/features.h" |
| #include "components/content_creation/notes/core/note_features.h" |
| #include "components/translate/content/android/translate_message.h" |
| #else // BUILDFLAG(IS_ANDROID) |
| #include "chrome/browser/media/router/discovery/access_code/access_code_cast_sink_service.h" |
| #include "chrome/browser/media/router/media_router_feature.h" |
| #include "chrome/browser/web_applications/preinstalled_app_install_features.h" |
| #include "components/user_notes/user_notes_features.h" |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| #include "ash/components/arc/arc_features.h" |
| #include "ash/components/arc/arc_util.h" |
| #include "ash/constants/ash_features.h" |
| #include "ash/constants/ash_switches.h" |
| #include "ash/public/cpp/app_list/app_list_features.h" |
| #include "ash/public/cpp/keyboard/keyboard_switches.h" |
| #include "chrome/browser/ash/android_sms/android_sms_switches.h" |
| #include "chrome/browser/ash/app_list/search/search_features.h" |
| #include "chrome/browser/ash/crosapi/browser_manager.h" |
| #include "chrome/browser/ash/crosapi/browser_util.h" |
| #include "chrome/browser/ash/crostini/crostini_util.h" |
| #include "chrome/browser/ash/file_suggest/item_suggest_cache.h" |
| #include "chrome/browser/ash/ownership/owner_settings_service_ash.h" |
| #include "chrome/browser/ash/ownership/owner_settings_service_ash_factory.h" |
| #include "chrome/browser/ash/settings/about_flags.h" |
| #include "chrome/browser/component_updater/cros_component_installer_chromeos.h" |
| #include "chrome/browser/memory/memory_ablation_study.h" |
| #include "chrome/browser/nearby_sharing/common/nearby_share_features.h" |
| #include "chrome/common/webui_url_constants.h" |
| #include "chromeos/ash/components/assistant/buildflags.h" |
| #include "chromeos/ash/components/memory/swap_configuration.h" |
| #include "chromeos/ash/services/assistant/public/cpp/features.h" |
| #include "components/app_restore/features.h" |
| #include "components/metrics/structured/structured_metrics_features.h" // nogncheck |
| #include "media/capture/video/chromeos/video_capture_features_chromeos.h" |
| #include "remoting/host/chromeos/features.h" |
| #include "third_party/cros_system_api/switches/chrome_switches.h" |
| #include "ui/events/ozone/features.h" |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| #if BUILDFLAG(IS_CHROMEOS_LACROS) |
| #include "base/i18n/icu_mergeable_data_file.h" |
| #include "chrome/browser/lacros/lacros_url_handling.h" |
| #include "chrome/common/webui_url_constants.h" |
| #endif |
| |
| #if BUILDFLAG(IS_MAC) |
| #include "chrome/browser/ui/browser_dialogs.h" |
| #include "chrome/browser/ui/cocoa/screentime/screentime_features.h" |
| #endif // BUILDFLAG(IS_MAC) |
| |
| #if BUILDFLAG(ENABLE_CARDBOARD) |
| #include "device/vr/public/cpp/features.h" |
| #endif // ENABLE_CARDBOARD |
| |
| #if BUILDFLAG(ENABLE_EXTENSIONS) |
| #include "extensions/common/extension_features.h" |
| #include "extensions/common/switches.h" |
| #endif // BUILDFLAG(ENABLE_EXTENSIONS) |
| |
| #if BUILDFLAG(ENABLE_PDF) |
| #include "pdf/pdf_features.h" |
| #endif |
| |
| #if BUILDFLAG(ENABLE_PRINTING) |
| #include "printing/printing_features.h" |
| #endif |
| |
| #if BUILDFLAG(ENABLE_SUPERVISED_USERS) |
| #include "components/supervised_user/core/common/features.h" // nogncheck |
| #endif // ENABLE_SUPERVISED_USERS |
| |
| #if BUILDFLAG(ENABLE_VR) |
| #include "device/vr/public/cpp/features.h" |
| #endif |
| |
| #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) |
| #include "ui/ozone/buildflags.h" |
| #include "ui/ozone/public/ozone_switches.h" |
| #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| #if BUILDFLAG(IS_WIN) |
| #include "chrome/browser/enterprise/platform_auth/platform_auth_features.h" |
| #include "chrome/browser/win/titlebar_config.h" |
| #endif |
| |
| #if defined(TOOLKIT_VIEWS) |
| #include "ui/views/views_features.h" |
| #include "ui/views/views_switches.h" |
| #endif // defined(TOOLKIT_VIEWS) |
| |
| using flags_ui::FeatureEntry; |
| using flags_ui::kDeprecated; |
| using flags_ui::kOsAndroid; |
| using flags_ui::kOsCrOS; |
| using flags_ui::kOsCrOSOwnerOnly; |
| using flags_ui::kOsFuchsia; |
| using flags_ui::kOsLacros; |
| using flags_ui::kOsLinux; |
| using flags_ui::kOsMac; |
| using flags_ui::kOsWin; |
| |
| namespace about_flags { |
| |
| namespace { |
| |
| const unsigned kOsAll = |
| kOsMac | kOsWin | kOsLinux | kOsCrOS | kOsAndroid | kOsFuchsia | kOsLacros; |
| const unsigned kOsDesktop = |
| kOsMac | kOsWin | kOsLinux | kOsCrOS | kOsFuchsia | kOsLacros; |
| |
| #if defined(USE_AURA) |
| const unsigned kOsAura = kOsWin | kOsLinux | kOsCrOS | kOsFuchsia | kOsLacros; |
| #endif // USE_AURA |
| |
| #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, |
| blink::switches::kTouchTextSelectionStrategy, |
| blink::switches::kTouchTextSelectionStrategy_Character}, |
| {flag_descriptions::kTouchSelectionStrategyDirection, |
| blink::switches::kTouchTextSelectionStrategy, |
| blink::switches::kTouchTextSelectionStrategy_Direction}}; |
| |
| #if BUILDFLAG(IS_WIN) |
| const FeatureEntry::Choice kUseAngleChoicesWindows[] = { |
| {flag_descriptions::kUseAngleDefault, "", ""}, |
| {flag_descriptions::kUseAngleGL, switches::kUseANGLE, |
| gl::kANGLEImplementationOpenGLName}, |
| {flag_descriptions::kUseAngleD3D11, switches::kUseANGLE, |
| gl::kANGLEImplementationD3D11Name}, |
| {flag_descriptions::kUseAngleD3D9, switches::kUseANGLE, |
| gl::kANGLEImplementationD3D9Name}, |
| {flag_descriptions::kUseAngleD3D11on12, switches::kUseANGLE, |
| gl::kANGLEImplementationD3D11on12Name}}; |
| #elif BUILDFLAG(IS_MAC) |
| const FeatureEntry::Choice kUseAngleChoicesMac[] = { |
| {flag_descriptions::kUseAngleDefault, "", ""}, |
| {flag_descriptions::kUseAngleGL, switches::kUseANGLE, |
| gl::kANGLEImplementationOpenGLName}, |
| {flag_descriptions::kUseAngleMetal, switches::kUseANGLE, |
| gl::kANGLEImplementationMetalName}}; |
| #endif |
| |
| #if BUILDFLAG(IS_WIN) |
| const FeatureEntry::FeatureParam kDXGIWaitableSwapChain1Frame = { |
| "DXGIWaitableSwapChainMaxQueuedFrames", "1"}; |
| |
| const FeatureEntry::FeatureParam kDXGIWaitableSwapChain2Frames = { |
| "DXGIWaitableSwapChainMaxQueuedFrames", "2"}; |
| |
| const FeatureEntry::FeatureParam kDXGIWaitableSwapChain3Frames = { |
| "DXGIWaitableSwapChainMaxQueuedFrames", "3"}; |
| |
| const FeatureEntry::FeatureVariation kDXGIWaitableSwapChainVariations[] = { |
| {"Max 1 Frame", &kDXGIWaitableSwapChain1Frame, 1, nullptr}, |
| {"Max 2 Frames", &kDXGIWaitableSwapChain2Frames, 1, nullptr}, |
| {"Max 3 Frames", &kDXGIWaitableSwapChain3Frames, 1, nullptr}}; |
| #endif |
| |
| #if BUILDFLAG(IS_LINUX) |
| const FeatureEntry::Choice kOzonePlatformHintRuntimeChoices[] = { |
| {flag_descriptions::kOzonePlatformHintChoiceDefault, "", ""}, |
| {flag_descriptions::kOzonePlatformHintChoiceAuto, |
| switches::kOzonePlatformHint, "auto"}, |
| #if BUILDFLAG(OZONE_PLATFORM_X11) |
| {flag_descriptions::kOzonePlatformHintChoiceX11, |
| switches::kOzonePlatformHint, "x11"}, |
| #endif |
| #if BUILDFLAG(OZONE_PLATFORM_WAYLAND) |
| {flag_descriptions::kOzonePlatformHintChoiceWayland, |
| switches::kOzonePlatformHint, "wayland"}, |
| #endif |
| }; |
| #endif |
| |
| #if BUILDFLAG(ENABLE_VR) |
| const FeatureEntry::Choice kWebXrForceRuntimeChoices[] = { |
| {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| {flag_descriptions::kWebXrRuntimeChoiceNone, switches::kWebXrForceRuntime, |
| switches::kWebXrRuntimeNone}, |
| |
| #if BUILDFLAG(ENABLE_OPENXR) |
| {flag_descriptions::kWebXrRuntimeChoiceOpenXR, switches::kWebXrForceRuntime, |
| switches::kWebXrRuntimeOpenXr}, |
| #endif // ENABLE_OPENXR |
| }; |
| #endif // ENABLE_VR |
| |
| #if BUILDFLAG(IS_ANDROID) |
| const FeatureEntry::FeatureParam kCCTResizablePolicyParamUseAllowlist[] = { |
| {"default_policy", "use-allowlist"}}; |
| const FeatureEntry::FeatureParam kCCTResizablePolicyParamUseDenylist[] = { |
| {"default_policy", "use-denylist"}}; |
| |
| const FeatureEntry::FeatureVariation |
| kCCTResizableThirdPartiesDefaultPolicyVariations[] = { |
| {"Use Allowlist", kCCTResizablePolicyParamUseAllowlist, |
| std::size(kCCTResizablePolicyParamUseAllowlist), nullptr}, |
| {"Use Denylist", kCCTResizablePolicyParamUseDenylist, |
| std::size(kCCTResizablePolicyParamUseDenylist), nullptr}}; |
| |
| const FeatureEntry::FeatureParam kCCTBrandingTestFriendly[] = { |
| {"use_temporary_storage", "true"}, |
| {"branding_cadence", "10000"} // 10 seconds |
| }; |
| |
| const FeatureEntry::FeatureVariation kCctBrandTransparencyVariations[] = { |
| {"Test friendly mode", kCCTBrandingTestFriendly, |
| std::size(kCCTBrandingTestFriendly), nullptr}}; |
| |
| const FeatureEntry::FeatureParam |
| kCCTRealTimeEngagementSignalsParamRealValues[] = {{"real_values", "true"}}; |
| const FeatureEntry::FeatureParam |
| kCCTRealTimeEngagementSignalsParamFakeValues[] = {{"real_values", "false"}}; |
| |
| const FeatureEntry::FeatureVariation kCCTRealTimeEngagementSignalsVariations[] = |
| {{"Send real values", kCCTRealTimeEngagementSignalsParamRealValues, |
| std::size(kCCTRealTimeEngagementSignalsParamRealValues), nullptr}, |
| {"Send fake values", kCCTRealTimeEngagementSignalsParamFakeValues, |
| std::size(kCCTRealTimeEngagementSignalsParamFakeValues), nullptr}}; |
| |
| const FeatureEntry::FeatureParam |
| kCCTRealTimeEngagementSignalsAlternativeImplParam100[] = { |
| {"time_can_update_after_end", "100"} // 100ms |
| }; |
| const FeatureEntry::FeatureParam |
| kCCTRealTimeEngagementSignalsAlternativeImplParam25[] = { |
| {"time_can_update_after_end", "25"} // 25ms |
| }; |
| |
| const FeatureEntry::FeatureVariation |
| kCCTRealTimeEngagementSignalsAlternativeImplVariations[] = { |
| {"Allow 100ms for scroll updates after scroll-end", |
| kCCTRealTimeEngagementSignalsAlternativeImplParam100, |
| std::size(kCCTRealTimeEngagementSignalsAlternativeImplParam100), |
| nullptr}, |
| {"Allow 25ms for scroll updates after scroll-end", |
| kCCTRealTimeEngagementSignalsAlternativeImplParam25, |
| std::size(kCCTRealTimeEngagementSignalsAlternativeImplParam25), |
| nullptr}}; |
| |
| 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"}, |
| }; |
| |
| const FeatureEntry::FeatureParam kOmahaMinSdkVersionAndroidMinSdk1[] = { |
| {"min_sdk_version", "1"}}; |
| const FeatureEntry::FeatureParam kOmahaMinSdkVersionAndroidMinSdk1000[] = { |
| {"min_sdk_version", "1000"}}; |
| const FeatureEntry::FeatureVariation kOmahaMinSdkVersionAndroidVariations[] = { |
| {flag_descriptions::kOmahaMinSdkVersionAndroidMinSdk1Description, |
| kOmahaMinSdkVersionAndroidMinSdk1, |
| std::size(kOmahaMinSdkVersionAndroidMinSdk1), nullptr}, |
| {flag_descriptions::kOmahaMinSdkVersionAndroidMinSdk1000Description, |
| kOmahaMinSdkVersionAndroidMinSdk1000, |
| std::size(kOmahaMinSdkVersionAndroidMinSdk1000), nullptr}, |
| }; |
| |
| #else // BUILDFLAG(IS_ANDROID) |
| const FeatureEntry::FeatureParam kReaderModeOfferInSettings[] = { |
| {switches::kReaderModeDiscoverabilityParamName, |
| switches::kReaderModeOfferInSettings}}; |
| |
| const FeatureEntry::FeatureVariation kReaderModeDiscoverabilityVariations[] = { |
| {"available in settings", kReaderModeOfferInSettings, |
| std::size(kReaderModeOfferInSettings), nullptr}}; |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| #if BUILDFLAG(IS_ANDROID) |
| const FeatureEntry::FeatureParam kAdaptiveButton_AlwaysNone[] = { |
| {"mode", "always-none"}}; |
| const FeatureEntry::FeatureParam kAdaptiveButton_AlwaysNewTab[] = { |
| {"mode", "always-new-tab"}}; |
| const FeatureEntry::FeatureParam kAdaptiveButton_AlwaysShare[] = { |
| {"mode", "always-share"}}; |
| const FeatureEntry::FeatureParam kAdaptiveButton_AlwaysVoice[] = { |
| {"mode", "always-voice"}}; |
| const FeatureEntry::FeatureParam kAdaptiveButton_AlwaysTranslate[] = { |
| {"mode", "always-translate"}}; |
| const FeatureEntry::FeatureVariation kAdaptiveButtonInTopToolbarVariations[] = { |
| {"Always None", kAdaptiveButton_AlwaysNone, |
| std::size(kAdaptiveButton_AlwaysNone), nullptr}, |
| {"Always New Tab", kAdaptiveButton_AlwaysNewTab, |
| std::size(kAdaptiveButton_AlwaysNewTab), nullptr}, |
| {"Always Share", kAdaptiveButton_AlwaysShare, |
| std::size(kAdaptiveButton_AlwaysShare), nullptr}, |
| {"Always Voice", kAdaptiveButton_AlwaysVoice, |
| std::size(kAdaptiveButton_AlwaysVoice), nullptr}, |
| {"Always Translate", kAdaptiveButton_AlwaysTranslate, |
| std::size(kAdaptiveButton_AlwaysTranslate), nullptr}, |
| }; |
| |
| const FeatureEntry::FeatureParam kAdaptiveButtonCustomization_NewTab[] = { |
| {"default_segment", "new-tab"}, |
| {"show_ui_only_after_ready", "false"}, |
| {"ignore_segmentation_results", "true"}}; |
| const FeatureEntry::FeatureParam kAdaptiveButtonCustomization_Share[] = { |
| {"default_segment", "share"}, |
| {"show_ui_only_after_ready", "false"}, |
| {"ignore_segmentation_results", "true"}}; |
| const FeatureEntry::FeatureParam kAdaptiveButtonCustomization_Voice[] = { |
| {"default_segment", "voice"}, |
| {"show_ui_only_after_ready", "false"}, |
| {"ignore_segmentation_results", "true"}}; |
| const FeatureEntry::FeatureVariation |
| kAdaptiveButtonInTopToolbarCustomizationVariations[] = { |
| {"New Tab", kAdaptiveButtonCustomization_NewTab, |
| std::size(kAdaptiveButtonCustomization_NewTab), nullptr}, |
| {"Share", kAdaptiveButtonCustomization_Share, |
| std::size(kAdaptiveButtonCustomization_Share), nullptr}, |
| {"Voice", kAdaptiveButtonCustomization_Voice, |
| std::size(kAdaptiveButtonCustomization_Voice), nullptr}, |
| }; |
| |
| const FeatureEntry::FeatureParam kContextualPageActionsUiParams_Quiet[] = { |
| {"action_chip", "false"}, |
| }; |
| const FeatureEntry::FeatureParam kContextualPageActionsUiParams_ActionChip[] = { |
| {"action_chip", "true"}, |
| {"action_chip_time_ms", "3000"}, |
| }; |
| const FeatureEntry::FeatureParam |
| kContextualPageActionsUiParams_ActionChip_6s[] = { |
| {"action_chip", "true"}, |
| {"action_chip_time_ms", "6000"}, |
| }; |
| const FeatureEntry::FeatureParam |
| kContextualPageActionsUiParams_ActionChip_AltColor[] = { |
| {"action_chip", "true"}, |
| {"action_chip_time_ms", "3000"}, |
| {"action_chip_with_different_color", "true"}, |
| }; |
| const FeatureEntry::FeatureParam |
| kContextualPageActionsUiParams_ActionChip_AltColor_6s[] = { |
| {"action_chip", "true"}, |
| {"action_chip_time_ms", "6000"}, |
| {"action_chip_with_different_color", "true"}, |
| }; |
| |
| const FeatureEntry::FeatureParam kContextualPageActions_DisableUi[]{ |
| {"disable_ui", "true"}, |
| }; |
| const FeatureEntry::FeatureVariation kContextualPageActionsVariations[] = { |
| {"Disable UI", kContextualPageActions_DisableUi}, |
| }; |
| |
| const FeatureEntry::FeatureVariation |
| kContextualPageActionPriceTrackingVariations[] = { |
| {"Quiet", kContextualPageActionsUiParams_Quiet, |
| std::size(kContextualPageActionsUiParams_Quiet), nullptr}, |
| {"Action Chip", kContextualPageActionsUiParams_ActionChip, |
| std::size(kContextualPageActionsUiParams_ActionChip), nullptr}, |
| {"Action Chip - 6s", kContextualPageActionsUiParams_ActionChip_6s, |
| std::size(kContextualPageActionsUiParams_ActionChip_6s), nullptr}, |
| {"Action Chip - Alternative Color", |
| kContextualPageActionsUiParams_ActionChip_AltColor, |
| std::size(kContextualPageActionsUiParams_ActionChip_AltColor), |
| nullptr}, |
| {"Action Chip - Alternative Color - 6s", |
| kContextualPageActionsUiParams_ActionChip_AltColor_6s, |
| std::size(kContextualPageActionsUiParams_ActionChip_AltColor_6s), |
| nullptr}, |
| }; |
| |
| const FeatureEntry::FeatureParam |
| kContextualPageActionReaderMode_ActionChip_NotRateLimited[] = { |
| {"action_chip", "true"}, |
| {"action_chip_time_ms", "3000"}, |
| {"reader_mode_session_rate_limiting", "false"}, |
| }; |
| const FeatureEntry::FeatureParam |
| kContextualPageActionReaderMode_ActionChip_NotRateLimited_6s[] = { |
| {"action_chip", "true"}, |
| {"action_chip_time_ms", "6000"}, |
| {"reader_mode_session_rate_limiting", "false"}, |
| }; |
| const FeatureEntry::FeatureVariation |
| kContextualPageActionReaderModeVariations[] = { |
| {"Quiet", kContextualPageActionsUiParams_Quiet, |
| std::size(kContextualPageActionsUiParams_Quiet), nullptr}, |
| {"Action Chip", kContextualPageActionsUiParams_ActionChip, |
| std::size(kContextualPageActionsUiParams_ActionChip), nullptr}, |
| {"Action Chip - 6s", kContextualPageActionsUiParams_ActionChip_6s, |
| std::size(kContextualPageActionsUiParams_ActionChip_6s), nullptr}, |
| {"Action Chip - Alternative Color", |
| kContextualPageActionsUiParams_ActionChip_AltColor, |
| std::size(kContextualPageActionsUiParams_ActionChip_AltColor), |
| nullptr}, |
| {"Action Chip - Alternative Color - 6s", |
| kContextualPageActionsUiParams_ActionChip_AltColor_6s, |
| std::size(kContextualPageActionsUiParams_ActionChip_AltColor_6s), |
| nullptr}, |
| {"Action Chip - Not rate limited - 3s", |
| kContextualPageActionReaderMode_ActionChip_NotRateLimited, |
| std::size(kContextualPageActionReaderMode_ActionChip_NotRateLimited), |
| nullptr}, |
| {"Action Chip - Not rate limited - 6s", |
| kContextualPageActionReaderMode_ActionChip_NotRateLimited_6s, |
| std::size( |
| kContextualPageActionReaderMode_ActionChip_NotRateLimited_6s), |
| nullptr}, |
| }; |
| |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| #if !BUILDFLAG(IS_ANDROID) |
| const FeatureEntry::FeatureParam kEsbIphBubbleAndCollapseSettingsEnableIph[] = { |
| {"EnableEsbIphBubble", "true"}}; |
| |
| const FeatureEntry::FeatureParam |
| kEsbIphBubbleAndCollapseSettingsEnableCollapse[] = { |
| {"EnableEsbSettingCollapse", "true"}}; |
| |
| const FeatureEntry::FeatureParam kEsbIphBubbleAndCollapseSettingsBothEnabled[] = |
| {{"EnableEsbIphBubble", "true"}, {"EnableEsbSettingCollapse", "true"}}; |
| |
| const FeatureEntry::FeatureVariation |
| kEsbIphBubbleAndCollapseSettingsVariations[] = { |
| {"IPH and Settings Collapse", |
| kEsbIphBubbleAndCollapseSettingsBothEnabled, |
| std::size(kEsbIphBubbleAndCollapseSettingsBothEnabled), nullptr}, |
| {"IPH Only", kEsbIphBubbleAndCollapseSettingsEnableIph, |
| std::size(kEsbIphBubbleAndCollapseSettingsEnableIph), nullptr}, |
| {"Settings Collapse Only", |
| kEsbIphBubbleAndCollapseSettingsEnableCollapse, |
| std::size(kEsbIphBubbleAndCollapseSettingsEnableCollapse), nullptr}}; |
| #endif // !BUILDFLAG(IS_ANDROID) |
| |
| #if !BUILDFLAG(IS_CHROMEOS_ASH) |
| const FeatureEntry::FeatureParam kForceDark_SimpleHsl[] = { |
| {"inversion_method", "hsl_based"}, |
| {"image_behavior", "none"}, |
| {"foreground_lightness_threshold", "150"}, |
| {"background_lightness_threshold", "205"}}; |
| |
| const FeatureEntry::FeatureParam kForceDark_SimpleCielab[] = { |
| {"inversion_method", "cielab_based"}, |
| {"image_behavior", "none"}, |
| {"foreground_lightness_threshold", "150"}, |
| {"background_lightness_threshold", "205"}}; |
| |
| const FeatureEntry::FeatureParam kForceDark_SimpleRgb[] = { |
| {"inversion_method", "rgb_based"}, |
| {"image_behavior", "none"}, |
| {"foreground_lightness_threshold", "150"}, |
| {"background_lightness_threshold", "205"}}; |
| |
| // Keep in sync with the kForceDark_SelectiveImageInversion |
| // in aw_feature_entries.cc if you tweak these parameters. |
| const FeatureEntry::FeatureParam kForceDark_SelectiveImageInversion[] = { |
| {"inversion_method", "cielab_based"}, |
| {"image_behavior", "selective"}, |
| {"foreground_lightness_threshold", "150"}, |
| {"background_lightness_threshold", "205"}}; |
| |
| const FeatureEntry::FeatureParam kForceDark_SelectiveElementInversion[] = { |
| {"inversion_method", "cielab_based"}, |
| {"image_behavior", "none"}, |
| {"foreground_lightness_threshold", "150"}, |
| {"background_lightness_threshold", "205"}}; |
| |
| const FeatureEntry::FeatureParam kForceDark_SelectiveGeneralInversion[] = { |
| {"inversion_method", "cielab_based"}, |
| {"image_behavior", "selective"}, |
| {"foreground_lightness_threshold", "150"}, |
| {"background_lightness_threshold", "205"}}; |
| |
| const FeatureEntry::FeatureParam kForceDark_TransparencyAndNumColors[] = { |
| {"classifier_policy", "transparency_and_num_colors"}}; |
| |
| const FeatureEntry::FeatureVariation kForceDarkVariations[] = { |
| {"with simple HSL-based inversion", kForceDark_SimpleHsl, |
| std::size(kForceDark_SimpleHsl), nullptr}, |
| {"with simple CIELAB-based inversion", kForceDark_SimpleCielab, |
| std::size(kForceDark_SimpleCielab), nullptr}, |
| {"with simple RGB-based inversion", kForceDark_SimpleRgb, |
| std::size(kForceDark_SimpleRgb), nullptr}, |
| {"with selective image inversion", kForceDark_SelectiveImageInversion, |
| std::size(kForceDark_SelectiveImageInversion), nullptr}, |
| {"with selective inversion of non-image elements", |
| kForceDark_SelectiveElementInversion, |
| std::size(kForceDark_SelectiveElementInversion), nullptr}, |
| {"with selective inversion of everything", |
| kForceDark_SelectiveGeneralInversion, |
| std::size(kForceDark_SelectiveGeneralInversion), nullptr}, |
| {"with selective image inversion based on transparency and number of " |
| "colors", |
| kForceDark_TransparencyAndNumColors, |
| std::size(kForceDark_TransparencyAndNumColors), nullptr}}; |
| #endif // !BUILDFLAG(IS_CHROMEOS) |
| |
| const FeatureEntry::FeatureParam kMBIModeLegacy[] = {{"mode", "legacy"}}; |
| const FeatureEntry::FeatureParam kMBIModeEnabledPerRenderProcessHost[] = { |
| {"mode", "per_render_process_host"}}; |
| const FeatureEntry::FeatureParam kMBIModeEnabledPerSiteInstance[] = { |
| {"mode", "per_site_instance"}}; |
| |
| const FeatureEntry::FeatureVariation kMBIModeVariations[] = { |
| {"legacy mode", kMBIModeLegacy, std::size(kMBIModeLegacy), nullptr}, |
| {"per render process host", kMBIModeEnabledPerRenderProcessHost, |
| std::size(kMBIModeEnabledPerRenderProcessHost), nullptr}, |
| {"per site instance", kMBIModeEnabledPerSiteInstance, |
| std::size(kMBIModeEnabledPerSiteInstance), nullptr}}; |
| |
| const FeatureEntry::FeatureParam kSearchSuggestionPrerenderUsingPrefetch[] = { |
| {"implementation_type", "use_prefetch"}}; |
| const FeatureEntry::FeatureParam kSearchSuggestionPrerenderIgnoringPrefetch[] = |
| {{"implementation_type", "ignore_prefetch"}}; |
| |
| const FeatureEntry::FeatureVariation |
| kSearchSuggestionPrerenderTypeVariations[] = { |
| {"use prefetched request", kSearchSuggestionPrerenderUsingPrefetch, |
| std::size(kSearchSuggestionPrerenderUsingPrefetch), nullptr}, |
| {"ignore prefetched request", |
| kSearchSuggestionPrerenderIgnoringPrefetch, |
| std::size(kSearchSuggestionPrerenderIgnoringPrefetch), nullptr}}; |
| |
| const FeatureEntry::FeatureParam kSearchPrefetchWithoutHoldback[] = { |
| {"prefetch_holdback", "false"}}; |
| const FeatureEntry::FeatureParam kSearchPrefetchWithHoldback[] = { |
| {"prefetch_holdback", "true"}}; |
| |
| const FeatureEntry::FeatureVariation |
| kSearchPrefetchServicePrefetchingVariations[] = { |
| {"without holdback", kSearchPrefetchWithoutHoldback, |
| std::size(kSearchPrefetchWithoutHoldback), nullptr}, |
| {"with holdback", kSearchPrefetchWithHoldback, |
| std::size(kSearchPrefetchWithHoldback), nullptr}}; |
| |
| #if BUILDFLAG(IS_CHROMEOS) |
| // Note these strings must match the `kUserGroupParam` definition in |
| // web_applications/preinstalled_web_app_window_experiment.cc. |
| const FeatureEntry::FeatureParam kPreinstalledWebAppWindowExperimentControl[] = |
| {{"user_group", "control"}}; |
| const FeatureEntry::FeatureParam kPreinstalledWebAppWindowExperimentWindow[] = { |
| {"user_group", "window"}}; |
| const FeatureEntry::FeatureParam kPreinstalledWebAppWindowExperimentTab[] = { |
| {"user_group", "tab"}}; |
| const FeatureEntry::FeatureVariation |
| kPreinstalledWebAppWindowExperimentVariations[] = { |
| {"control", kPreinstalledWebAppWindowExperimentControl, |
| std::size(kPreinstalledWebAppWindowExperimentControl), nullptr}, |
| {"window", kPreinstalledWebAppWindowExperimentWindow, |
| std::size(kPreinstalledWebAppWindowExperimentWindow), nullptr}, |
| {"tab", kPreinstalledWebAppWindowExperimentTab, |
| std::size(kPreinstalledWebAppWindowExperimentTab), nullptr}}; |
| #endif // BUILDFLAG(IS_CHROMEOS) |
| |
| #if BUILDFLAG(IS_ANDROID) |
| const FeatureEntry::FeatureParam kCloseTabSuggestionsStale_Immediate[] = { |
| {"baseline_tab_suggestions", "true"}, |
| {"baseline_close_tab_suggestions", "true"}}; |
| const FeatureEntry::FeatureParam kCloseTabSuggestionsStale_4Hours[] = { |
| {"close_tab_suggestions_stale_time_ms", "14400000"}}; |
| const FeatureEntry::FeatureParam kCloseTabSuggestionsStale_8Hours[] = { |
| {"close_tab_suggestions_stale_time_ms", "28800000"}}; |
| const FeatureEntry::FeatureParam kCloseTabSuggestionsStale_7Days[] = { |
| {"close_tab_suggestions_stale_time_ms", "604800000"}}; |
| const FeatureEntry::FeatureParam kCloseTabSuggestionsTimeSiteEngagement[] = { |
| {"close_tab_min_num_tabs", "5"}, |
| {"close_tab_features_time_last_used_enabled", "true"}, |
| {"close_tab_features_time_last_used_transform", "MEAN_VARIANCE"}, |
| {"close_tab_features_time_last_used_threshold", "0.5"}, |
| {"close_tab_features_site_engagement_enabled", "true"}, |
| {"close_tab_features_site_engagement_threshold", "90.0"}, |
| }; |
| const FeatureEntry::FeatureParam kGroupAndCloseTabSuggestions_Immediate[] = { |
| {"baseline_tab_suggestions", "true"}, |
| {"baseline_group_tab_suggestions", "true"}, |
| {"baseline_close_tab_suggestions", "true"}}; |
| |
| const FeatureEntry::FeatureVariation kCloseTabSuggestionsStaleVariations[] = { |
| {"Close Immediate", kCloseTabSuggestionsStale_Immediate, |
| std::size(kCloseTabSuggestionsStale_Immediate), nullptr}, |
| {"Group+Close Immediate", kGroupAndCloseTabSuggestions_Immediate, |
| std::size(kGroupAndCloseTabSuggestions_Immediate), nullptr}, |
| {"4 hours", kCloseTabSuggestionsStale_4Hours, |
| std::size(kCloseTabSuggestionsStale_4Hours), nullptr}, |
| {"8 hours", kCloseTabSuggestionsStale_8Hours, |
| std::size(kCloseTabSuggestionsStale_8Hours), nullptr}, |
| {"7 days", kCloseTabSuggestionsStale_7Days, |
| std::size(kCloseTabSuggestionsStale_7Days), nullptr}, |
| {"Time & Site Engagement", kCloseTabSuggestionsTimeSiteEngagement, |
| std::size(kCloseTabSuggestionsTimeSiteEngagement), nullptr}, |
| }; |
| |
| const FeatureEntry::FeatureParam kCriticalPersistedTabDataSaveAndRestore[] = { |
| {"critical_persisted_tab_data_save_only", "false"}, |
| {"delay_saves_until_deferred_startup", "false"}}; |
| const FeatureEntry::FeatureParam kCriticalPersistedTabDataSaveOnly[] = { |
| {"critical_persisted_tab_data_save_only", "true"}, |
| {"delay_saves_until_deferred_startup", "false"}}; |
| const FeatureEntry::FeatureParam kDelaySavesUntilDeferredStartup[] = { |
| {"critical_persisted_tab_data_save_only", "false"}, |
| {"delay_saves_until_deferred_startup", "true"}}; |
| |
| const FeatureEntry::FeatureVariation kCriticalPersistedTabDataVariations[] = { |
| {"Save and Restore", kCriticalPersistedTabDataSaveAndRestore, |
| std::size(kCriticalPersistedTabDataSaveAndRestore), nullptr}, |
| {"Save Only", kCriticalPersistedTabDataSaveOnly, |
| std::size(kCriticalPersistedTabDataSaveOnly), nullptr}, |
| {"Delay saves until DeferredStartup", kDelaySavesUntilDeferredStartup, |
| std::size(kDelaySavesUntilDeferredStartup), nullptr}}; |
| |
| const FeatureEntry::FeatureParam kShowSingleRowMVTiles[] = { |
| {"most_visited_max_rows_normal_screen", "1"}, |
| {"most_visited_max_rows_small_screen", "1"}, |
| {"small_screen_height_threshold_dp", "700"}}; |
| const FeatureEntry::FeatureParam kShowTwoRowsMVTiles[] = { |
| {"most_visited_max_rows_normal_screen", "2"}, |
| {"most_visited_max_rows_small_screen", "2"}, |
| {"small_screen_height_threshold_dp", "700"}}; |
| const FeatureEntry::FeatureVariation kQueryTilesVariations[] = { |
| {"(show single row of MV tiles)", kShowSingleRowMVTiles, |
| std::size(kShowSingleRowMVTiles), nullptr}, |
| {"(show two rows of MV tiles)", kShowTwoRowsMVTiles, |
| std::size(kShowTwoRowsMVTiles), nullptr}}; |
| |
| const FeatureEntry::FeatureParam kTangibleSyncGroupA[] = {{"group_id", "1"}}; |
| const FeatureEntry::FeatureParam kTangibleSyncGroupB[] = {{"group_id", "2"}}; |
| const FeatureEntry::FeatureParam kTangibleSyncGroupC[] = {{"group_id", "3"}}; |
| const FeatureEntry::FeatureParam kTangibleSyncGroupD[] = {{"group_id", "4"}}; |
| const FeatureEntry::FeatureParam kTangibleSyncGroupE[] = {{"group_id", "5"}}; |
| const FeatureEntry::FeatureParam kTangibleSyncGroupF[] = {{"group_id", "6"}}; |
| const FeatureEntry::FeatureVariation kTangibleSyncVariations[] = { |
| {"(pick up where you left off)", kTangibleSyncGroupA, |
| std::size(kTangibleSyncGroupA), nullptr}, |
| {"(browse across devices)", kTangibleSyncGroupB, |
| std::size(kTangibleSyncGroupB), nullptr}, |
| {"(save time and type less)", kTangibleSyncGroupC, |
| std::size(kTangibleSyncGroupC), nullptr}, |
| {"(get better suggestions)", kTangibleSyncGroupD, |
| std::size(kTangibleSyncGroupD), nullptr}, |
| {"(sync your tabs and history)", kTangibleSyncGroupE, |
| std::size(kTangibleSyncGroupE), nullptr}, |
| {"(Turn on sync?)", kTangibleSyncGroupF, std::size(kTangibleSyncGroupF), |
| nullptr}}; |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| const FeatureEntry::Choice kEnableGpuRasterizationChoices[] = { |
| {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| {flags_ui::kGenericExperimentChoiceEnabled, |
| switches::kEnableGpuRasterization, ""}, |
| {flags_ui::kGenericExperimentChoiceDisabled, |
| switches::kDisableGpuRasterization, ""}, |
| }; |
| |
| 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 BUILDFLAG(IS_CHROMEOS_ASH) |
| const FeatureEntry::Choice kUXStudy1Choices[] = { |
| {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| {memory::kUXStudy1A, memory::kUXStudy1Switch, memory::kUXStudy1A}, |
| {memory::kUXStudy1B, memory::kUXStudy1Switch, memory::kUXStudy1B}, |
| {memory::kUXStudy1C, memory::kUXStudy1Switch, memory::kUXStudy1C}, |
| {memory::kUXStudy1D, memory::kUXStudy1Switch, memory::kUXStudy1D}, |
| }; |
| |
| const char kPreferDcheckInternalName[] = "prefer-dcheck"; |
| |
| const char kLacrosAvailabilityIgnoreInternalName[] = |
| "lacros-availability-ignore"; |
| const char kLacrosOnlyInternalName[] = "lacros-only"; |
| const char kLacrosPrimaryInternalName[] = "lacros-primary"; |
| const char kLacrosSupportInternalName[] = "lacros-support"; |
| const char kLacrosStabilityInternalName[] = "lacros-stability"; |
| const char kLacrosWaylandLoggingInternalName[] = "lacros-wayland-logging"; |
| const char kWebAppsCrosapiInternalName[] = "web-apps-crosapi"; |
| const char kArcEnableVirtioBlkForDataInternalName[] = |
| "arc-enable-virtio-blk-for-data"; |
| |
| const FeatureEntry::Choice kPreferDcheckChoices[] = { |
| {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| {component_updater::kPreferDcheckOptIn, |
| component_updater::kPreferDcheckSwitch, |
| component_updater::kPreferDcheckOptIn}, |
| {component_updater::kPreferDcheckOptOut, |
| component_updater::kPreferDcheckSwitch, |
| component_updater::kPreferDcheckOptOut}, |
| }; |
| |
| const FeatureEntry::Choice kLacrosStabilityChoices[] = { |
| {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| {crosapi::browser_util::kLacrosStabilityChannelCanary, |
| crosapi::browser_util::kLacrosStabilitySwitch, |
| crosapi::browser_util::kLacrosStabilityChannelCanary}, |
| {crosapi::browser_util::kLacrosStabilityChannelDev, |
| crosapi::browser_util::kLacrosStabilitySwitch, |
| crosapi::browser_util::kLacrosStabilityChannelDev}, |
| {crosapi::browser_util::kLacrosStabilityChannelBeta, |
| crosapi::browser_util::kLacrosStabilitySwitch, |
| crosapi::browser_util::kLacrosStabilityChannelBeta}, |
| {crosapi::browser_util::kLacrosStabilityChannelStable, |
| crosapi::browser_util::kLacrosStabilitySwitch, |
| crosapi::browser_util::kLacrosStabilityChannelStable}, |
| }; |
| |
| const char kLacrosSelectionInternalName[] = "lacros-selection"; |
| const char kProjectorServerSideSpeechRecognition[] = |
| "enable-projector-server-side-speech-recognition"; |
| |
| const FeatureEntry::Choice kLacrosSelectionChoices[] = { |
| {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| {flag_descriptions::kLacrosSelectionStatefulDescription, |
| crosapi::browser_util::kLacrosSelectionSwitch, |
| crosapi::browser_util::kLacrosSelectionStateful}, |
| {flag_descriptions::kLacrosSelectionRootfsDescription, |
| crosapi::browser_util::kLacrosSelectionSwitch, |
| crosapi::browser_util::kLacrosSelectionRootfs}, |
| }; |
| |
| const char kLacrosSelectionPolicyIgnoreInternalName[] = |
| "lacros-selection-ignore"; |
| |
| const FeatureEntry::Choice kLacrosAvailabilityPolicyChoices[] = { |
| {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| {crosapi::browser_util::kLacrosAvailabilityPolicyUserChoice, |
| crosapi::browser_util::kLacrosAvailabilityPolicySwitch, |
| crosapi::browser_util::kLacrosAvailabilityPolicyUserChoice}, |
| {crosapi::browser_util::kLacrosAvailabilityPolicyLacrosDisabled, |
| crosapi::browser_util::kLacrosAvailabilityPolicySwitch, |
| crosapi::browser_util::kLacrosAvailabilityPolicyLacrosDisabled}, |
| {crosapi::browser_util::kLacrosAvailabilityPolicySideBySide, |
| crosapi::browser_util::kLacrosAvailabilityPolicySwitch, |
| crosapi::browser_util::kLacrosAvailabilityPolicySideBySide}, |
| {crosapi::browser_util::kLacrosAvailabilityPolicyLacrosPrimary, |
| crosapi::browser_util::kLacrosAvailabilityPolicySwitch, |
| crosapi::browser_util::kLacrosAvailabilityPolicyLacrosPrimary}, |
| {crosapi::browser_util::kLacrosAvailabilityPolicyLacrosOnly, |
| crosapi::browser_util::kLacrosAvailabilityPolicySwitch, |
| crosapi::browser_util::kLacrosAvailabilityPolicyLacrosOnly}, |
| }; |
| |
| const FeatureEntry::Choice kLacrosDataBackwardMigrationModePolicyChoices[] = { |
| {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| {crosapi::browser_util::kLacrosDataBackwardMigrationModePolicyNone, |
| crosapi::browser_util::kLacrosDataBackwardMigrationModePolicySwitch, |
| crosapi::browser_util::kLacrosDataBackwardMigrationModePolicyNone}, |
| {crosapi::browser_util::kLacrosDataBackwardMigrationModePolicyKeepNone, |
| crosapi::browser_util::kLacrosDataBackwardMigrationModePolicySwitch, |
| crosapi::browser_util::kLacrosDataBackwardMigrationModePolicyKeepNone}, |
| {crosapi::browser_util::kLacrosDataBackwardMigrationModePolicyKeepSafeData, |
| crosapi::browser_util::kLacrosDataBackwardMigrationModePolicySwitch, |
| crosapi::browser_util::kLacrosDataBackwardMigrationModePolicyKeepSafeData}, |
| {crosapi::browser_util::kLacrosDataBackwardMigrationModePolicyKeepAll, |
| crosapi::browser_util::kLacrosDataBackwardMigrationModePolicySwitch, |
| crosapi::browser_util::kLacrosDataBackwardMigrationModePolicyKeepAll}, |
| }; |
| |
| const FeatureEntry::FeatureParam kTimeOfDayScreenSaverNewMexico = { |
| "FeatureManagementTimeOfDayScreenSaverVideo", "new_mexico"}; |
| |
| const FeatureEntry::FeatureParam kTimeOfDayScreenSaverClouds = { |
| "FeatureManagementTimeOfDayScreenSaverVideo", "clouds"}; |
| |
| const FeatureEntry::FeatureVariation kTimeOfDayScreenSaverVideoVariations[] = { |
| {"New Mexico", &kTimeOfDayScreenSaverNewMexico, 1, nullptr}, |
| {"Clouds", &kTimeOfDayScreenSaverClouds, 1, nullptr}}; |
| |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| 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 BUILDFLAG(IS_CHROMEOS_ASH) |
| const FeatureEntry::Choice kSchedulerConfigurationChoices[] = { |
| {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| {flag_descriptions::kSchedulerConfigurationConservative, |
| switches::kSchedulerConfiguration, |
| switches::kSchedulerConfigurationConservative}, |
| {flag_descriptions::kSchedulerConfigurationPerformance, |
| switches::kSchedulerConfiguration, |
| switches::kSchedulerConfigurationPerformance}, |
| }; |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| const FeatureEntry::FeatureParam kDynamicSearchUpdateAnimationDuration_50[] = { |
| {"search_result_translation_duration", "50"}}; |
| const FeatureEntry::FeatureParam kDynamicSearchUpdateAnimationDuration_100[] = { |
| {"search_result_translation_duration", "100"}}; |
| const FeatureEntry::FeatureParam kDynamicSearchUpdateAnimationDuration_150[] = { |
| {"search_result_translation_duration", "150"}}; |
| |
| const FeatureEntry::FeatureVariation kDynamicSearchUpdateAnimationVariations[] = |
| {{"50ms", kDynamicSearchUpdateAnimationDuration_50, |
| std::size(kDynamicSearchUpdateAnimationDuration_50), nullptr}, |
| {"100ms", kDynamicSearchUpdateAnimationDuration_100, |
| std::size(kDynamicSearchUpdateAnimationDuration_100), nullptr}, |
| {"150ms", kDynamicSearchUpdateAnimationDuration_150, |
| std::size(kDynamicSearchUpdateAnimationDuration_150), nullptr}}; |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| #if BUILDFLAG(ENABLE_NACL) |
| // Note: This needs to be kept in sync with parsing in |
| // content/common/zygote/zygote_communication_linux.cc |
| const FeatureEntry::Choice kVerboseLoggingInNaclChoices[] = { |
| {flag_descriptions::kVerboseLoggingInNaclChoiceDefault, "", ""}, |
| {flag_descriptions::kVerboseLoggingInNaclChoiceLow, |
| switches::kVerboseLoggingInNacl, switches::kVerboseLoggingInNaclChoiceLow}, |
| {flag_descriptions::kVerboseLoggingInNaclChoiceMedium, |
| switches::kVerboseLoggingInNacl, |
| switches::kVerboseLoggingInNaclChoiceMedium}, |
| {flag_descriptions::kVerboseLoggingInNaclChoiceHigh, |
| switches::kVerboseLoggingInNacl, |
| switches::kVerboseLoggingInNaclChoiceHigh}, |
| {flag_descriptions::kVerboseLoggingInNaclChoiceHighest, |
| switches::kVerboseLoggingInNacl, |
| switches::kVerboseLoggingInNaclChoiceHighest}, |
| {flag_descriptions::kVerboseLoggingInNaclChoiceDisabled, |
| switches::kVerboseLoggingInNacl, |
| switches::kVerboseLoggingInNaclChoiceDisabled}, |
| }; |
| #endif // ENABLE_NACL |
| |
| const FeatureEntry::Choice kSiteIsolationOptOutChoices[] = { |
| {flag_descriptions::kSiteIsolationOptOutChoiceDefault, "", ""}, |
| {flag_descriptions::kSiteIsolationOptOutChoiceOptOut, |
| switches::kDisableSiteIsolation, ""}, |
| }; |
| |
| const FeatureEntry::Choice kForceColorProfileChoices[] = { |
| {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| {flag_descriptions::kForceColorProfileSRGB, |
| switches::kForceDisplayColorProfile, "srgb"}, |
| {flag_descriptions::kForceColorProfileP3, |
| switches::kForceDisplayColorProfile, "display-p3-d65"}, |
| {flag_descriptions::kForceColorProfileRec2020, |
| switches::kForceDisplayColorProfile, "rec2020"}, |
| {flag_descriptions::kForceColorProfileColorSpin, |
| switches::kForceDisplayColorProfile, "color-spin-gamma24"}, |
| {flag_descriptions::kForceColorProfileSCRGBLinear, |
| switches::kForceDisplayColorProfile, "scrgb-linear"}, |
| {flag_descriptions::kForceColorProfileHDR10, |
| switches::kForceDisplayColorProfile, "hdr10"}, |
| }; |
| |
| 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}, |
| }; |
| |
| 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 kPageContentAnnotationsContentParams[] = { |
| {"annotate_title_instead_of_page_content", "false"}, |
| {"extract_related_searches", "true"}, |
| {"max_size_for_text_dump_in_bytes", "5120"}, |
| {"write_to_history_service", "true"}, |
| }; |
| const FeatureEntry::FeatureParam kPageContentAnnotationsTitleParams[] = { |
| {"annotate_title_instead_of_page_content", "true"}, |
| {"extract_related_searches", "true"}, |
| {"write_to_history_service", "true"}, |
| }; |
| const FeatureEntry::FeatureVariation kPageContentAnnotationsVariations[] = { |
| {"All Annotations and Persistence on Content", |
| kPageContentAnnotationsContentParams, |
| std::size(kPageContentAnnotationsContentParams), nullptr}, |
| {"All Annotations and Persistence on Title", |
| kPageContentAnnotationsTitleParams, |
| std::size(kPageContentAnnotationsTitleParams), nullptr}, |
| }; |
| const FeatureEntry::FeatureParam |
| kPageEntitiesPageContentAnnotationsAllLocalesParams[] = { |
| {"supported_locales", "*"}, |
| }; |
| const FeatureEntry::FeatureVariation |
| kPageEntitiesPageContentAnnotationsVariations[] = { |
| {"All Supported Locales", |
| kPageEntitiesPageContentAnnotationsAllLocalesParams, |
| std::size(kPageEntitiesPageContentAnnotationsAllLocalesParams), |
| nullptr}, |
| }; |
| const FeatureEntry::FeatureParam kJourneysHiddenVisitsParams[] = { |
| {"JourneysLocaleOrLanguageAllowlist", "*"}, |
| }; |
| const FeatureEntry::FeatureParam kJourneysShowAllVisitsParams[] = { |
| {"JourneysLocaleOrLanguageAllowlist", "*"}, |
| // To show all visits, set the number of visits above the fold to a very |
| // high number. We drop the rest above this very high number because we |
| // definitely don't want to surface a Show More UI after that number. |
| {"JourneysNumVisitsToAlwaysShowAboveTheFold", "200"}, |
| }; |
| const FeatureEntry::FeatureParam kJourneysAllLocalesParams[] = { |
| {"JourneysLocaleOrLanguageAllowlist", "*"}, |
| }; |
| const FeatureEntry::FeatureVariation kJourneysVariations[] = { |
| {"No 'Show More' - Show all visits", kJourneysShowAllVisitsParams, |
| std::size(kJourneysShowAllVisitsParams), nullptr}, |
| {"'Show More' - Hide hidden visits", kJourneysHiddenVisitsParams, |
| std::size(kJourneysHiddenVisitsParams), nullptr}, |
| {"All Supported Locales", kJourneysAllLocalesParams, |
| std::size(kJourneysAllLocalesParams), nullptr}, |
| }; |
| const FeatureEntry::FeatureParam kJourneysOmniboxActionOnAllURLsParams[] = { |
| {"omnibox_action_on_urls", "true"}, |
| {"omnibox_action_on_noisy_urls", "true"}, |
| {"omnibox_action_on_navigation_intents", "true"}, |
| {"omnibox_action_with_pedals", "true"}, |
| }; |
| const FeatureEntry::FeatureParam kJourneysOmniboxActionOnNonNoisyURLsParams[] = |
| { |
| {"omnibox_action_on_urls", "true"}, |
| {"omnibox_action_on_noisy_urls", "false"}, |
| {"omnibox_action_on_navigation_intents", "true"}, |
| {"omnibox_action_with_pedals", "true"}, |
| }; |
| const FeatureEntry::FeatureParam |
| kJourneysOmniboxActionOnNavigationIntentsParams[] = { |
| {"omnibox_action_on_urls", "false"}, |
| {"omnibox_action_on_noisy_urls", "false"}, |
| {"omnibox_action_on_navigation_intents", "true"}, |
| {"omnibox_action_with_pedals", "false"}, |
| }; |
| const FeatureEntry::FeatureParam kJourneysOmniboxActionWithPedalsParams[] = { |
| {"omnibox_action_on_urls", "false"}, |
| {"omnibox_action_on_noisy_urls", "false"}, |
| {"omnibox_action_on_navigation_intents", "false"}, |
| {"omnibox_action_with_pedals", "true"}, |
| }; |
| const FeatureEntry::FeatureVariation kJourneysOmniboxActionVariations[] = { |
| {"Action Chips on All URLs", kJourneysOmniboxActionOnAllURLsParams, |
| std::size(kJourneysOmniboxActionOnAllURLsParams), nullptr}, |
| {"Action Chips on Non-Noisy URLs", |
| kJourneysOmniboxActionOnNonNoisyURLsParams, |
| std::size(kJourneysOmniboxActionOnNonNoisyURLsParams), nullptr}, |
| {"Action Chips Enabled on Navigation Intents", |
| kJourneysOmniboxActionOnNavigationIntentsParams, |
| std::size(kJourneysOmniboxActionOnNavigationIntentsParams), nullptr}, |
| {"Action Chips Enabled with Pedals", kJourneysOmniboxActionWithPedalsParams, |
| std::size(kJourneysOmniboxActionWithPedalsParams), nullptr}, |
| }; |
| |
| const FeatureEntry::FeatureParam |
| kJourneysOmniboxHistoryClusterProviderVariationsAggressive[] = { |
| {"omnibox_history_cluster_provider_score", "1100"}, |
| {"omnibox_history_cluster_provider_shortcuts", "true"}, |
| {"omnibox_history_cluster_provider_navigation_intent_score_threshold", |
| "1400"}, |
| {"omnibox_history_cluster_provider_on_navigation_intents", "false"}, |
| }; |
| const FeatureEntry::FeatureParam |
| kJourneysOmniboxHistoryClusterProviderVariationsModerate[] = { |
| {"omnibox_history_cluster_provider_score", "900"}, |
| {"omnibox_history_cluster_provider_shortcuts", "true"}, |
| {"omnibox_history_cluster_provider_navigation_intent_score_threshold", |
| "1300"}, |
| {"omnibox_history_cluster_provider_on_navigation_intents", "false"}, |
| }; |
| const FeatureEntry::FeatureParam |
| kJourneysOmniboxHistoryClusterProviderVariationsConservative[] = { |
| {"omnibox_history_cluster_provider_score", "700"}, |
| {"omnibox_history_cluster_provider_shortcuts", "false"}, |
| {"omnibox_history_cluster_provider_navigation_intent_score_threshold", |
| "1100"}, |
| {"omnibox_history_cluster_provider_on_navigation_intents", "false"}, |
| }; |
| const FeatureEntry::FeatureVariation |
| kJourneysOmniboxHistoryClusterProviderVariations[] = { |
| {"Aggressive - score 1100, shortcut boosting, nav-intent filtering " |
| "1400", |
| kJourneysOmniboxHistoryClusterProviderVariationsAggressive, |
| std::size(kJourneysOmniboxHistoryClusterProviderVariationsAggressive), |
| nullptr}, |
| {"Moderate - Score 900, shortcut boosting, nav-intent filtering 1300", |
| kJourneysOmniboxHistoryClusterProviderVariationsModerate, |
| std::size(kJourneysOmniboxHistoryClusterProviderVariationsModerate), |
| nullptr}, |
| {"Conservative - score 700, nav-intent filtering 1100", |
| kJourneysOmniboxHistoryClusterProviderVariationsConservative, |
| std::size( |
| kJourneysOmniboxHistoryClusterProviderVariationsConservative), |
| nullptr}, |
| }; |
| |
| const FeatureEntry::FeatureParam kJourneysHideVisitsVariationsMenuItem[] = { |
| {"hide_visits_icon", "false"}}; |
| const FeatureEntry::FeatureParam kJourneysHideVisitsVariationsIcon[] = { |
| {"hide_visits_icon", "true"}}; |
| const FeatureEntry::FeatureVariation kJourneysHideVisitsVariations[] = { |
| {"Menu item", kJourneysHideVisitsVariationsMenuItem, |
| std::size(kJourneysHideVisitsVariationsMenuItem), nullptr}, |
| {"Thumbs-down Icon", kJourneysHideVisitsVariationsIcon, |
| std::size(kJourneysHideVisitsVariationsIcon), nullptr}, |
| }; |
| |
| const FeatureEntry::FeatureVariation |
| kImageServiceOptimizationGuideSalientImagesVariations[] = { |
| {"High Performance Canonicalization", nullptr, 0, "3362133"}, |
| }; |
| |
| const FeatureEntry::FeatureParam kSidePanelJourneysOpensFromOmniboxParams[] = { |
| {"SidePanelJourneysOpensFromOmnibox", "true"}, |
| }; |
| const FeatureEntry::FeatureVariation |
| kSidePanelJourneysOpensFromOmniboxVariations[] = { |
| {"Omnibox opens Side Panel Journeys", |
| kSidePanelJourneysOpensFromOmniboxParams, |
| std::size(kSidePanelJourneysOpensFromOmniboxParams), nullptr}, |
| }; |
| const FeatureEntry::FeatureParam kJourneysAllVisitsNoPairwiseMergeParams[] = { |
| {"collections_blocklist", |
| "/collection/it_glossary,/collection/periodicals,/collection/" |
| "software,/collection/websites"}, |
| {"exclude_entities_that_have_no_collections", "true"}, |
| {"use_pairwise_merge", "false"}, |
| {"search_visits_only", "false"}, |
| }; |
| const FeatureEntry::FeatureParam kJourneysAllVisitsWithPairwiseMergeParams[] = { |
| {"collections_blocklist", |
| "/collection/it_glossary,/collection/periodicals,/collection/" |
| "software,/collection/websites"}, |
| {"exclude_entities_that_have_no_collections", "true"}, |
| {"use_pairwise_merge", "true"}, |
| {"search_visits_only", "false"}, |
| }; |
| const FeatureEntry::FeatureParam kJourneysSearchVisitsNoPairwiseMergeParams[] = |
| { |
| {"collections_blocklist", |
| "/collection/it_glossary,/collection/periodicals,/collection/" |
| "software,/collection/websites"}, |
| {"exclude_entities_that_have_no_collections", "true"}, |
| {"use_pairwise_merge", "false"}, |
| {"search_visits_only", "true"}, |
| }; |
| const FeatureEntry::FeatureParam |
| kJourneysSearchVisitsWithPairwiseMergeParams[] = { |
| {"collections_blocklist", |
| "/collection/it_glossary,/collection/periodicals,/collection/" |
| "software,/collection/websites"}, |
| {"exclude_entities_that_have_no_collections", "true"}, |
| {"use_pairwise_merge", "true"}, |
| {"search_visits_only", "true"}, |
| }; |
| const FeatureEntry::FeatureVariation kJourneysContentClusteringVariations[] = { |
| {"All Visits With Blocklist and No Pairwise Merge", |
| kJourneysAllVisitsNoPairwiseMergeParams, |
| std::size(kJourneysAllVisitsNoPairwiseMergeParams), nullptr}, |
| {"All Visits With Blocklist and Pairwise Merge", |
| kJourneysAllVisitsWithPairwiseMergeParams, |
| std::size(kJourneysAllVisitsWithPairwiseMergeParams), nullptr}, |
| {"Search Visits With Blocklist and No Pairwise Merge", |
| kJourneysSearchVisitsNoPairwiseMergeParams, |
| std::size(kJourneysSearchVisitsNoPairwiseMergeParams), nullptr}, |
| {"Search Visits With Blocklist and Pairwise Merge", |
| kJourneysSearchVisitsWithPairwiseMergeParams, |
| std::size(kJourneysSearchVisitsWithPairwiseMergeParams), nullptr}, |
| }; |
| const FeatureEntry::FeatureParam |
| kJourneysLabelsWithSearchVisitEntitiesParams[] = { |
| {"labels_from_search_visit_entities", "true"}, |
| }; |
| const FeatureEntry::FeatureParam kJourneysLabelsWithEntitiesParams[] = { |
| {"labels_from_entities", "true"}, |
| }; |
| const FeatureEntry::FeatureParam |
| kJourneysLabelsWithEntitiesNoHostnamesParams[] = { |
| {"labels_from_hostnames", "false"}, |
| {"labels_from_entities", "true"}, |
| }; |
| const FeatureEntry::FeatureVariation kJourneysLabelsVariations[] = { |
| {"With Entities", kJourneysLabelsWithEntitiesParams, |
| std::size(kJourneysLabelsWithEntitiesParams), nullptr}, |
| {"With Entities, No Hostnames", |
| kJourneysLabelsWithEntitiesNoHostnamesParams, |
| std::size(kJourneysLabelsWithEntitiesNoHostnamesParams), nullptr}, |
| {"With Search Entities", kJourneysLabelsWithSearchVisitEntitiesParams, |
| std::size(kJourneysLabelsWithSearchVisitEntitiesParams), nullptr}, |
| }; |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_ANDROID) |
| const FeatureEntry::FeatureParam kLocalWebApprovalsPreferLocalParams[] = { |
| {"preferred_button", "local"}}; |
| const FeatureEntry::FeatureParam kLocalWebApprovalsPreferRemoteParams[] = { |
| {"preferred_button", "remote"}}; |
| const FeatureEntry::FeatureVariation kLocalWebApprovalsVariations[] = { |
| {"Prefer Local", kLocalWebApprovalsPreferLocalParams, |
| std::size(kLocalWebApprovalsPreferLocalParams), nullptr}, |
| {"Prefer Remote", kLocalWebApprovalsPreferRemoteParams, |
| std::size(kLocalWebApprovalsPreferRemoteParams), nullptr}, |
| }; |
| #endif |
| |
| #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \ |
| BUILDFLAG(IS_WIN) || BUILDFLAG(IS_FUCHSIA) |
| const FeatureEntry::FeatureParam |
| kOmniboxDocumentProviderCapLowQualitySuggestionsTo1[] = { |
| {"DocumentProviderMaxLowQualitySuggestions", "1"}, |
| }; |
| |
| const FeatureEntry::FeatureVariation kOmniboxDocumentProviderVariations[] = { |
| {"cap low quality suggestions to 1", |
| kOmniboxDocumentProviderCapLowQualitySuggestionsTo1, |
| std::size(kOmniboxDocumentProviderCapLowQualitySuggestionsTo1), nullptr}}; |
| |
| const FeatureEntry::FeatureParam kShortcutBoostSearchAndUrl1414[] = { |
| {"ShortcutBoostSearchScore", "1414"}, |
| {"ShortcutBoostUrlScore", "1414"}}; |
| const FeatureEntry::FeatureParam kShortcutBoostUrl1414[] = { |
| {"ShortcutBoostSearchScore", "0"}, |
| {"ShortcutBoostUrlScore", "1414"}}; |
| const FeatureEntry::FeatureParam kShortcutBoostSearchAndUrl1200[] = { |
| {"ShortcutBoostSearchScore", "1200"}, |
| {"ShortcutBoostUrlScore", "1200"}}; |
| |
| const FeatureEntry::FeatureVariation kOmniboxShortcutBoostVariations[] = { |
| {"Searches & URLs - aggressive (1414)", kShortcutBoostSearchAndUrl1414, |
| std::size(kShortcutBoostSearchAndUrl1414), nullptr}, |
| {"URLs - aggressive (1414)", kShortcutBoostUrl1414, |
| std::size(kShortcutBoostUrl1414), nullptr}, |
| {"Searches & URLs - conservative (1200)", kShortcutBoostSearchAndUrl1200, |
| std::size(kShortcutBoostSearchAndUrl1200), nullptr}, |
| }; |
| |
| // A limited number of combinations of the rich autocompletion params. |
| const FeatureEntry::FeatureParam |
| kOmniboxRichAutocompletionConservativeModerate[] = { |
| {"RichAutocompletionAutocompleteTitles", "true"}, |
| {"RichAutocompletionAutocompleteNonPrefixShortcutProvider", "true"}, |
| {"RichAutocompletionAutocompleteTitlesMinChar", "3"}, |
| {"RichAutocompletionAutocompleteNonPrefixMinChar", "5"}}; |
| const FeatureEntry::FeatureParam |
| kOmniboxRichAutocompletionConservativeModerate2[] = { |
| {"RichAutocompletionAutocompleteTitlesShortcutProvider", "true"}, |
| {"RichAutocompletionAutocompleteNonPrefixShortcutProvider", "true"}, |
| {"RichAutocompletionAutocompleteTitlesMinChar", "3"}, |
| {"RichAutocompletionAutocompleteNonPrefixMinChar", "5"}}; |
| const FeatureEntry::FeatureParam kOmniboxRichAutocompletionAggressive2[] = { |
| {"RichAutocompletionAutocompleteTitlesShortcutProvider", "true"}, |
| {"RichAutocompletionAutocompleteTitlesMinChar", "2"}, |
| {"RichAutocompletionAutocompleteShortcutText", "true"}, |
| {"RichAutocompletionAutocompleteShortcutTextMinChar", "2"}}; |
| const FeatureEntry::FeatureParam kOmniboxRichAutocompletionAggressive3[] = { |
| {"RichAutocompletionAutocompleteTitlesShortcutProvider", "true"}, |
| {"RichAutocompletionAutocompleteTitlesMinChar", "3"}, |
| {"RichAutocompletionAutocompleteShortcutText", "true"}, |
| {"RichAutocompletionAutocompleteShortcutTextMinChar", "3"}}; |
| const FeatureEntry::FeatureParam kOmniboxRichAutocompletionAggressive4[] = { |
| {"RichAutocompletionAutocompleteTitlesShortcutProvider", "true"}, |
| {"RichAutocompletionAutocompleteTitlesMinChar", "4"}, |
| {"RichAutocompletionAutocompleteShortcutText", "true"}, |
| {"RichAutocompletionAutocompleteShortcutTextMinChar", "4"}}; |
| |
| const FeatureEntry::FeatureVariation |
| kOmniboxRichAutocompletionPromisingVariations[] = { |
| {"Conservative Moderate - Title, Shortcut Non-Prefix, min 3/5", |
| kOmniboxRichAutocompletionConservativeModerate, |
| std::size(kOmniboxRichAutocompletionConservativeModerate), nullptr}, |
| {"Conservative Moderate 2 - Shortcut Title, Shortcut Non-Prefix, min " |
| "3/5", |
| kOmniboxRichAutocompletionConservativeModerate2, |
| std::size(kOmniboxRichAutocompletionConservativeModerate2), nullptr}, |
| {"Aggressive 2 - Title Shortcut Title 2, Shortcut Text 2", |
| kOmniboxRichAutocompletionAggressive2, |
| std::size(kOmniboxRichAutocompletionAggressive2), nullptr}, |
| {"Aggressive 3 - Title Shortcut Title 3, Shortcut Text 3", |
| kOmniboxRichAutocompletionAggressive3, |
| std::size(kOmniboxRichAutocompletionAggressive3), nullptr}, |
| {"Aggressive 4 - Title Shortcut Title 4, Shortcut Text 4", |
| kOmniboxRichAutocompletionAggressive4, |
| std::size(kOmniboxRichAutocompletionAggressive4), nullptr}, |
| }; |
| |
| const FeatureEntry::FeatureParam |
| kOmniboxMlRelevanceScoringRescoreFinalSuggestionsOnly[] = { |
| {"MlRelevanceScoringIncreaseNumCandidates", "false"}, |
| }; |
| |
| const FeatureEntry::FeatureParam |
| kOmniboxMlRelevanceScoringIncreaseNumCandidates[] = { |
| {"MlRelevanceScoringIncreaseNumCandidates", "true"}, |
| }; |
| |
| const FeatureEntry::FeatureVariation kOmniboxMlRelevanceScoringVariations[] = { |
| {"Re-score final set of suggestions only", |
| kOmniboxMlRelevanceScoringRescoreFinalSuggestionsOnly, |
| std::size(kOmniboxMlRelevanceScoringRescoreFinalSuggestionsOnly), nullptr}, |
| {"Re-score with more candidates", |
| kOmniboxMlRelevanceScoringIncreaseNumCandidates, |
| std::size(kOmniboxMlRelevanceScoringIncreaseNumCandidates), nullptr}, |
| }; |
| #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || |
| // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_FUCHSIA) |
| |
| #if BUILDFLAG(IS_ANDROID) |
| constexpr FeatureEntry::FeatureParam kOmniboxInspireMeWith5Trends[] = { |
| {"AdditionalTrendingQueries", "5"}, |
| {"AdditionalRelatedQueries", "0"}}; |
| constexpr FeatureEntry::FeatureParam kOmniboxInspireMeWith5Related[] = { |
| {"AdditionalTrendingQueries", "0"}, |
| {"AdditionalRelatedQueries", "5"}}; |
| constexpr FeatureEntry::FeatureParam kOmniboxInspireMeWith5Mixed[] = { |
| {"AdditionalTrendingQueries", "2"}, |
| {"AdditionalRelatedQueries", "3"}}; |
| constexpr FeatureEntry::FeatureParam kOmniboxInspireMeWith10Trends[] = { |
| {"AdditionalTrendingQueries", "10"}, |
| {"AdditionalRelatedQueries", "0"}}; |
| constexpr FeatureEntry::FeatureParam kOmniboxInspireMeWith10Related[] = { |
| {"AdditionalTrendingQueries", "0"}, |
| {"AdditionalRelatedQueries", "10"}}; |
| constexpr FeatureEntry::FeatureParam kOmniboxInspireMeWith10Mixed[] = { |
| {"AdditionalTrendingQueries", "5"}, |
| {"AdditionalRelatedQueries", "5"}}; |
| |
| constexpr FeatureEntry::FeatureVariation kOmniboxInspireMeVariants[] = { |
| {"5 Trends", kOmniboxInspireMeWith5Trends, |
| std::size(kOmniboxInspireMeWith5Trends), nullptr}, |
| {"5 Related", kOmniboxInspireMeWith5Related, |
| std::size(kOmniboxInspireMeWith5Related), nullptr}, |
| {"3 Related + 2 Trends", kOmniboxInspireMeWith5Mixed, |
| std::size(kOmniboxInspireMeWith5Mixed), nullptr}, |
| {"10 Trends", kOmniboxInspireMeWith10Trends, |
| std::size(kOmniboxInspireMeWith10Trends), nullptr}, |
| {"10 Related", kOmniboxInspireMeWith10Related, |
| std::size(kOmniboxInspireMeWith10Related), nullptr}, |
| {"5 Related + 5 Trends", kOmniboxInspireMeWith10Mixed, |
| std::size(kOmniboxInspireMeWith10Mixed), nullptr}}; |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| const FeatureEntry::FeatureParam kOmniboxBookmarkPathsReplaceTitle[] = { |
| {"OmniboxBookmarkPathsUiReplaceTitle", "true"}}; |
| const FeatureEntry::FeatureParam kOmniboxBookmarkPathsReplaceUrl[] = { |
| {"OmniboxBookmarkPathsUiReplaceUrl", "true"}}; |
| const FeatureEntry::FeatureParam kOmniboxBookmarkPathsAppendAfterTitle[] = { |
| {"OmniboxBookmarkPathsUiAppendAfterTitle", "true"}}; |
| const FeatureEntry::FeatureParam kOmniboxBookmarkPathsDynamicReplaceUrl[] = { |
| {"OmniboxBookmarkPathsUiDynamicReplaceUrl", "true"}}; |
| |
| const FeatureEntry::FeatureVariation kOmniboxBookmarkPathsVariations[] = { |
| {"Default UI (Title - URL)", {}, 0, nullptr}, |
| {"Replace title (Path/Title - URL)", kOmniboxBookmarkPathsReplaceTitle, |
| std::size(kOmniboxBookmarkPathsReplaceTitle), nullptr}, |
| {"Replace URL (Title - Path)", kOmniboxBookmarkPathsReplaceUrl, |
| std::size(kOmniboxBookmarkPathsReplaceUrl), nullptr}, |
| {"Append after title (Title : Path - URL)", |
| kOmniboxBookmarkPathsAppendAfterTitle, |
| std::size(kOmniboxBookmarkPathsAppendAfterTitle), nullptr}, |
| {"Dynamic Replace URL (Title - Path|URL)", |
| kOmniboxBookmarkPathsDynamicReplaceUrl, |
| std::size(kOmniboxBookmarkPathsDynamicReplaceUrl), nullptr}}; |
| |
| const FeatureEntry::FeatureParam kOmniboxSquareSuggestionIconFavicons[] = { |
| {"OmniboxSquareSuggestIconIcons", "true"}}; |
| const FeatureEntry::FeatureParam kOmniboxSquareSuggestionIconAnswers[] = { |
| {"OmniboxSquareSuggestIconAnswers", "true"}}; |
| const FeatureEntry::FeatureParam |
| kOmniboxSquareSuggestionIconFaviconsAndAnswers[] = { |
| {"OmniboxSquareSuggestIconIcons", "true"}, |
| {"OmniboxSquareSuggestIconAnswers", "true"}, |
| }; |
| const FeatureEntry::FeatureParam kOmniboxSquareSuggestionIconEntities[] = { |
| {"OmniboxSquareSuggestIconEntities", "true"}}; |
| const FeatureEntry::FeatureParam kOmniboxSquareSuggestionIconAll[] = { |
| {"OmniboxSquareSuggestIconIcons", "true"}, |
| {"OmniboxSquareSuggestIconAnswers", "true"}, |
| {"OmniboxSquareSuggestIconEntities", "true"}, |
| }; |
| const FeatureEntry::FeatureParam kOmniboxSquareSuggestionIconAllFullEntity[] = { |
| {"OmniboxSquareSuggestIconIcons", "true"}, |
| {"OmniboxSquareSuggestIconAnswers", "true"}, |
| {"OmniboxSquareSuggestIconEntities", "true"}, |
| {"OmniboxSquareSuggestIconEntitiesScale", "1"}, |
| }; |
| |
| const FeatureEntry::FeatureVariation kOmniboxSquareSuggestionIconVariations[] = |
| { |
| {"Favicons", kOmniboxSquareSuggestionIconFavicons, |
| std::size(kOmniboxSquareSuggestionIconFavicons), nullptr}, |
| {"Answers", kOmniboxSquareSuggestionIconAnswers, |
| std::size(kOmniboxSquareSuggestionIconAnswers), nullptr}, |
| {"Favicons and answers", kOmniboxSquareSuggestionIconFaviconsAndAnswers, |
| std::size(kOmniboxSquareSuggestionIconFaviconsAndAnswers), nullptr}, |
| {"Entities", kOmniboxSquareSuggestionIconEntities, |
| std::size(kOmniboxSquareSuggestionIconEntities), nullptr}, |
| {"All", kOmniboxSquareSuggestionIconAll, |
| std::size(kOmniboxSquareSuggestionIconAll), nullptr}, |
| {"All with full entities", kOmniboxSquareSuggestionIconAllFullEntity, |
| std::size(kOmniboxSquareSuggestionIconAllFullEntity), nullptr}, |
| }; |
| |
| const FeatureEntry::FeatureParam kMaxZeroSuggestMatches5[] = { |
| {"MaxZeroSuggestMatches", "5"}}; |
| const FeatureEntry::FeatureParam kMaxZeroSuggestMatches6[] = { |
| {"MaxZeroSuggestMatches", "6"}}; |
| const FeatureEntry::FeatureParam kMaxZeroSuggestMatches7[] = { |
| {"MaxZeroSuggestMatches", "7"}}; |
| const FeatureEntry::FeatureParam kMaxZeroSuggestMatches8[] = { |
| {"MaxZeroSuggestMatches", "8"}}; |
| const FeatureEntry::FeatureParam kMaxZeroSuggestMatches9[] = { |
| {"MaxZeroSuggestMatches", "9"}}; |
| const FeatureEntry::FeatureParam kMaxZeroSuggestMatches10[] = { |
| {"MaxZeroSuggestMatches", "10"}}; |
| const FeatureEntry::FeatureParam kMaxZeroSuggestMatches11[] = { |
| {"MaxZeroSuggestMatches", "11"}}; |
| const FeatureEntry::FeatureParam kMaxZeroSuggestMatches12[] = { |
| {"MaxZeroSuggestMatches", "12"}}; |
| const FeatureEntry::FeatureParam kMaxZeroSuggestMatches13[] = { |
| {"MaxZeroSuggestMatches", "13"}}; |
| const FeatureEntry::FeatureParam kMaxZeroSuggestMatches14[] = { |
| {"MaxZeroSuggestMatches", "14"}}; |
| const FeatureEntry::FeatureParam kMaxZeroSuggestMatches15[] = { |
| {"MaxZeroSuggestMatches", "15"}}; |
| |
| const FeatureEntry::FeatureVariation kMaxZeroSuggestMatchesVariations[] = { |
| {"5", kMaxZeroSuggestMatches5, std::size(kMaxZeroSuggestMatches5), nullptr}, |
| {"6", kMaxZeroSuggestMatches6, std::size(kMaxZeroSuggestMatches6), nullptr}, |
| {"7", kMaxZeroSuggestMatches7, std::size(kMaxZeroSuggestMatches7), nullptr}, |
| {"8", kMaxZeroSuggestMatches8, std::size(kMaxZeroSuggestMatches8), nullptr}, |
| {"9", kMaxZeroSuggestMatches9, std::size(kMaxZeroSuggestMatches9), nullptr}, |
| {"10", kMaxZeroSuggestMatches10, std::size(kMaxZeroSuggestMatches10), |
| nullptr}, |
| {"11", kMaxZeroSuggestMatches11, std::size(kMaxZeroSuggestMatches11), |
| nullptr}, |
| {"12", kMaxZeroSuggestMatches12, std::size(kMaxZeroSuggestMatches12), |
| nullptr}, |
| {"13", kMaxZeroSuggestMatches13, std::size(kMaxZeroSuggestMatches13), |
| nullptr}, |
| {"14", kMaxZeroSuggestMatches14, std::size(kMaxZeroSuggestMatches14), |
| nullptr}, |
| {"15", kMaxZeroSuggestMatches15, std::size(kMaxZeroSuggestMatches15), |
| nullptr}}; |
| |
| 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 kOmniboxUIMaxAutocompleteMatches7[] = { |
| {OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam, "7"}}; |
| const FeatureEntry::FeatureParam kOmniboxUIMaxAutocompleteMatches8[] = { |
| {OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam, "8"}}; |
| const FeatureEntry::FeatureParam kOmniboxUIMaxAutocompleteMatches9[] = { |
| {OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam, "9"}}; |
| const FeatureEntry::FeatureParam kOmniboxUIMaxAutocompleteMatches10[] = { |
| {OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam, "10"}}; |
| const FeatureEntry::FeatureParam kOmniboxUIMaxAutocompleteMatches12[] = { |
| {OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam, "12"}}; |
| |
| const FeatureEntry::FeatureVariation |
| kOmniboxUIMaxAutocompleteMatchesVariations[] = { |
| {"3 matches", kOmniboxUIMaxAutocompleteMatches3, |
| std::size(kOmniboxUIMaxAutocompleteMatches3), nullptr}, |
| {"4 matches", kOmniboxUIMaxAutocompleteMatches4, |
| std::size(kOmniboxUIMaxAutocompleteMatches4), nullptr}, |
| {"5 matches", kOmniboxUIMaxAutocompleteMatches5, |
| std::size(kOmniboxUIMaxAutocompleteMatches5), nullptr}, |
| {"6 matches", kOmniboxUIMaxAutocompleteMatches6, |
| std::size(kOmniboxUIMaxAutocompleteMatches6), nullptr}, |
| {"7 matches", kOmniboxUIMaxAutocompleteMatches7, |
| std::size(kOmniboxUIMaxAutocompleteMatches7), nullptr}, |
| {"8 matches", kOmniboxUIMaxAutocompleteMatches8, |
| std::size(kOmniboxUIMaxAutocompleteMatches8), nullptr}, |
| {"9 matches", kOmniboxUIMaxAutocompleteMatches9, |
| std::size(kOmniboxUIMaxAutocompleteMatches9), nullptr}, |
| {"10 matches", kOmniboxUIMaxAutocompleteMatches10, |
| std::size(kOmniboxUIMaxAutocompleteMatches10), nullptr}, |
| {"12 matches", kOmniboxUIMaxAutocompleteMatches12, |
| std::size(kOmniboxUIMaxAutocompleteMatches12), nullptr}}; |
| |
| const FeatureEntry::FeatureParam kOmniboxMaxURLMatches2[] = { |
| {OmniboxFieldTrial::kOmniboxMaxURLMatchesParam, "2"}}; |
| const FeatureEntry::FeatureParam kOmniboxMaxURLMatches3[] = { |
| {OmniboxFieldTrial::kOmniboxMaxURLMatchesParam, "3"}}; |
| const FeatureEntry::FeatureParam kOmniboxMaxURLMatches4[] = { |
| {OmniboxFieldTrial::kOmniboxMaxURLMatchesParam, "4"}}; |
| const FeatureEntry::FeatureParam kOmniboxMaxURLMatches5[] = { |
| {OmniboxFieldTrial::kOmniboxMaxURLMatchesParam, "5"}}; |
| const FeatureEntry::FeatureParam kOmniboxMaxURLMatches6[] = { |
| {OmniboxFieldTrial::kOmniboxMaxURLMatchesParam, "6"}}; |
| |
| const FeatureEntry::FeatureVariation kOmniboxMaxURLMatchesVariations[] = { |
| {"2 matches", kOmniboxMaxURLMatches2, std::size(kOmniboxMaxURLMatches2), |
| nullptr}, |
| {"3 matches", kOmniboxMaxURLMatches3, std::size(kOmniboxMaxURLMatches3), |
| nullptr}, |
| {"4 matches", kOmniboxMaxURLMatches4, std::size(kOmniboxMaxURLMatches4), |
| nullptr}, |
| {"5 matches", kOmniboxMaxURLMatches5, std::size(kOmniboxMaxURLMatches5), |
| nullptr}, |
| {"6 matches", kOmniboxMaxURLMatches6, std::size(kOmniboxMaxURLMatches6), |
| nullptr}}; |
| |
| const FeatureEntry::FeatureParam kOmniboxDynamicMaxAutocomplete90[] = { |
| {"OmniboxDynamicMaxAutocompleteUrlCutoff", "0"}, |
| {"OmniboxDynamicMaxAutocompleteIncreasedLimit", "9"}}; |
| const FeatureEntry::FeatureParam kOmniboxDynamicMaxAutocomplete91[] = { |
| {"OmniboxDynamicMaxAutocompleteUrlCutoff", "1"}, |
| {"OmniboxDynamicMaxAutocompleteIncreasedLimit", "9"}}; |
| const FeatureEntry::FeatureParam kOmniboxDynamicMaxAutocomplete92[] = { |
| {"OmniboxDynamicMaxAutocompleteUrlCutoff", "2"}, |
| {"OmniboxDynamicMaxAutocompleteIncreasedLimit", "9"}}; |
| const FeatureEntry::FeatureParam kOmniboxDynamicMaxAutocomplete100[] = { |
| {"OmniboxDynamicMaxAutocompleteUrlCutoff", "0"}, |
| {"OmniboxDynamicMaxAutocompleteIncreasedLimit", "10"}}; |
| const FeatureEntry::FeatureParam kOmniboxDynamicMaxAutocomplete101[] = { |
| {"OmniboxDynamicMaxAutocompleteUrlCutoff", "1"}, |
| {"OmniboxDynamicMaxAutocompleteIncreasedLimit", "10"}}; |
| const FeatureEntry::FeatureParam kOmniboxDynamicMaxAutocomplete102[] = { |
| {"OmniboxDynamicMaxAutocompleteUrlCutoff", "2"}, |
| {"OmniboxDynamicMaxAutocompleteIncreasedLimit", "10"}}; |
| |
| const FeatureEntry::FeatureVariation |
| kOmniboxDynamicMaxAutocompleteVariations[] = { |
| {"9 suggestions if 0 or fewer URLs", kOmniboxDynamicMaxAutocomplete90, |
| std::size(kOmniboxDynamicMaxAutocomplete90), nullptr}, |
| {"9 suggestions if 1 or fewer URLs", kOmniboxDynamicMaxAutocomplete91, |
| std::size(kOmniboxDynamicMaxAutocomplete91), nullptr}, |
| {"9 suggestions if 2 or fewer URLs", kOmniboxDynamicMaxAutocomplete92, |
| std::size(kOmniboxDynamicMaxAutocomplete92), nullptr}, |
| {"10 suggestions if 0 or fewer URLs", kOmniboxDynamicMaxAutocomplete100, |
| std::size(kOmniboxDynamicMaxAutocomplete100), nullptr}, |
| {"10 suggestions if 1 or fewer URLs", kOmniboxDynamicMaxAutocomplete101, |
| std::size(kOmniboxDynamicMaxAutocomplete101), nullptr}, |
| {"10 suggestions if 2 or fewer URLs", kOmniboxDynamicMaxAutocomplete102, |
| std::size(kOmniboxDynamicMaxAutocomplete102), nullptr}}; |
| |
| const FeatureEntry::FeatureParam kOmniboxUniformRowHeight36[] = { |
| {"OmniboxRichSuggestionVerticalMargin", "4"}}; |
| const FeatureEntry::FeatureParam kOmniboxUniformRowHeight40[] = { |
| {"OmniboxRichSuggestionVerticalMargin", "6"}}; |
| |
| const FeatureEntry::FeatureVariation kOmniboxSuggestionHeightVariations[] = { |
| {"36px omnibox suggestions", kOmniboxUniformRowHeight36, |
| std::size(kOmniboxUniformRowHeight36), nullptr}, |
| {"40px omnibox suggestions", kOmniboxUniformRowHeight40, |
| std::size(kOmniboxUniformRowHeight40), nullptr}, |
| }; |
| |
| const FeatureEntry::FeatureParam kRepeatableQueries_6Searches_90Days[] = { |
| {"RepeatableQueriesIgnoreDuplicateVisits", "true"}, |
| {"RepeatableQueriesMinVisitCount", "6"}, |
| }; |
| const FeatureEntry::FeatureParam kRepeatableQueries_12Searches_90Days[] = { |
| {"RepeatableQueriesIgnoreDuplicateVisits", "true"}, |
| {"RepeatableQueriesMinVisitCount", "12"}, |
| }; |
| const FeatureEntry::FeatureParam kRepeatableQueries_6Searches_7Days[] = { |
| {"RepeatableQueriesIgnoreDuplicateVisits", "true"}, |
| {"RepeatableQueriesMinVisitCount", "6"}, |
| {"RepeatableQueriesMaxAgeDays", "7"}, |
| }; |
| const FeatureEntry::FeatureParam kRepeatableQueries_12Searches_7Days[] = { |
| {"RepeatableQueriesIgnoreDuplicateVisits", "true"}, |
| {"RepeatableQueriesMinVisitCount", "12"}, |
| {"RepeatableQueriesMaxAgeDays", "7"}, |
| }; |
| |
| const FeatureEntry::FeatureVariation kOrganicRepeatableQueriesVariations[] = { |
| {"6+ uses, once in last 90d", kRepeatableQueries_6Searches_90Days, |
| std::size(kRepeatableQueries_6Searches_90Days), nullptr}, |
| {"12+ uses, once in last 90d", kRepeatableQueries_12Searches_90Days, |
| std::size(kRepeatableQueries_12Searches_90Days), nullptr}, |
| {"6+ uses, once in last 7d", kRepeatableQueries_6Searches_7Days, |
| std::size(kRepeatableQueries_6Searches_7Days), nullptr}, |
| {"12+ uses, once in last 7d", kRepeatableQueries_12Searches_7Days, |
| std::size(kRepeatableQueries_12Searches_7Days), nullptr}, |
| }; |
| |
| const FeatureEntry::FeatureParam kMinimumTabWidthSettingPinned[] = { |
| {features::kMinimumTabWidthFeatureParameterName, "54"}}; |
| const FeatureEntry::FeatureParam kMinimumTabWidthSettingMedium[] = { |
| {features::kMinimumTabWidthFeatureParameterName, "72"}}; |
| const FeatureEntry::FeatureParam kMinimumTabWidthSettingLarge[] = { |
| {features::kMinimumTabWidthFeatureParameterName, "140"}}; |
| const FeatureEntry::FeatureParam kMinimumTabWidthSettingFull[] = { |
| {features::kMinimumTabWidthFeatureParameterName, "256"}}; |
| |
| const FeatureEntry::FeatureVariation kTabScrollingVariations[] = { |
| {" - tabs shrink to pinned tab width", kMinimumTabWidthSettingPinned, |
| std::size(kMinimumTabWidthSettingPinned), nullptr}, |
| {" - tabs shrink to a medium width", kMinimumTabWidthSettingMedium, |
| std::size(kMinimumTabWidthSettingMedium), nullptr}, |
| {" - tabs shrink to a large width", kMinimumTabWidthSettingLarge, |
| std::size(kMinimumTabWidthSettingLarge), nullptr}, |
| {" - tabs don't shrink", kMinimumTabWidthSettingFull, |
| std::size(kMinimumTabWidthSettingFull), nullptr}}; |
| |
| const FeatureEntry::FeatureParam kTabScrollingButtonPositionRight[] = { |
| {features::kTabScrollingButtonPositionParameterName, "0"}}; |
| const FeatureEntry::FeatureParam kTabScrollingButtonPositionLeft[] = { |
| {features::kTabScrollingButtonPositionParameterName, "1"}}; |
| const FeatureEntry::FeatureParam kTabScrollingButtonPositionSplit[] = { |
| {features::kTabScrollingButtonPositionParameterName, "2"}}; |
| |
| const FeatureEntry::FeatureVariation kTabScrollingButtonPositionVariations[] = { |
| {" - to the right of the tabstrip", kTabScrollingButtonPositionRight, |
| std::size(kTabScrollingButtonPositionRight), nullptr}, |
| {" - to the left of the tabstrip", kTabScrollingButtonPositionLeft, |
| std::size(kTabScrollingButtonPositionLeft), nullptr}, |
| {" - on both sides of the tabstrip", kTabScrollingButtonPositionSplit, |
| std::size(kTabScrollingButtonPositionSplit), nullptr}}; |
| |
| const FeatureEntry::FeatureParam kTabScrollingWithDraggingWithConstantSpeed[] = |
| {{features::kTabScrollingWithDraggingModeName, "1"}}; |
| const FeatureEntry::FeatureParam kTabScrollingWithDraggingWithVariableSpeed[] = |
| {{features::kTabScrollingWithDraggingModeName, "2"}}; |
| |
| const FeatureEntry::FeatureVariation kTabScrollingWithDraggingVariations[] = { |
| {" - tabs scrolling with constant speed", |
| kTabScrollingWithDraggingWithConstantSpeed, |
| std::size(kTabScrollingWithDraggingWithConstantSpeed), nullptr}, |
| {" - tabs scrolling with variable speed region", |
| kTabScrollingWithDraggingWithVariableSpeed, |
| std::size(kTabScrollingWithDraggingWithVariableSpeed), nullptr}}; |
| |
| const FeatureEntry::FeatureParam kScrollableTabStripOverflowDivider[] = { |
| {features::kScrollableTabStripOverflowModeName, "1"}}; |
| const FeatureEntry::FeatureParam kScrollableTabStripOverflowFade[] = { |
| {features::kScrollableTabStripOverflowModeName, "2"}}; |
| const FeatureEntry::FeatureParam kScrollableTabStripOverflowShadow[] = { |
| {features::kScrollableTabStripOverflowModeName, "3"}}; |
| |
| const FeatureEntry::FeatureVariation kScrollableTabStripOverflowVariations[] = { |
| {" - Divider", kScrollableTabStripOverflowDivider, |
| std::size(kScrollableTabStripOverflowDivider), nullptr}, // Divider |
| {" - Fade", kScrollableTabStripOverflowFade, |
| std::size(kScrollableTabStripOverflowFade), nullptr}, // Fade |
| {" - Shadow", kScrollableTabStripOverflowShadow, |
| std::size(kScrollableTabStripOverflowShadow), nullptr}, // Shadow |
| }; |
| |
| const FeatureEntry::FeatureParam kTabSearchSearchThresholdSmall[] = { |
| {features::kTabSearchSearchThresholdName, "0.3"}}; |
| const FeatureEntry::FeatureParam kTabSearchSearchThresholdMedium[] = { |
| {features::kTabSearchSearchThresholdName, "0.6"}}; |
| const FeatureEntry::FeatureParam kTabSearchSearchThresholdLarge[] = { |
| {features::kTabSearchSearchThresholdName, "0.8"}}; |
| |
| const FeatureEntry::FeatureVariation kTabSearchSearchThresholdVariations[] = { |
| {" - fuzzy level: small", kTabSearchSearchThresholdSmall, |
| std::size(kTabSearchSearchThresholdSmall), nullptr}, |
| {" - fuzzy level: medium", kTabSearchSearchThresholdMedium, |
| std::size(kTabSearchSearchThresholdMedium), nullptr}, |
| {" - fuzzy level: large", kTabSearchSearchThresholdLarge, |
| std::size(kTabSearchSearchThresholdLarge), nullptr}}; |
| |
| const FeatureEntry::FeatureParam kTabHoverCardImagesAlternateFormat[] = { |
| {features::kTabHoverCardAlternateFormat, "1"}}; |
| |
| const FeatureEntry::FeatureVariation kTabHoverCardImagesVariations[] = { |
| {" alternate hover card format", kTabHoverCardImagesAlternateFormat, |
| std::size(kTabHoverCardImagesAlternateFormat), nullptr}}; |
| |
| const FeatureEntry::FeatureParam kSharedHighlightingMaxContextWords5[] = { |
| {shared_highlighting::kSharedHighlightingRefinedMaxContextWordsName, "5"}}; |
| const FeatureEntry::FeatureParam kSharedHighlightingMaxContextWords10[] = { |
| {shared_highlighting::kSharedHighlightingRefinedMaxContextWordsName, "10"}}; |
| const FeatureEntry::FeatureParam kSharedHighlightingMaxContextWords15[] = { |
| {shared_highlighting::kSharedHighlightingRefinedMaxContextWordsName, "15"}}; |
| const FeatureEntry::FeatureParam kSharedHighlightingMaxContextWords20[] = { |
| {shared_highlighting::kSharedHighlightingRefinedMaxContextWordsName, "20"}}; |
| |
| const FeatureEntry::FeatureVariation |
| kSharedHighlightingMaxContextWordsVariations[] = { |
| {" - maxContextWords: 5", kSharedHighlightingMaxContextWords5, |
| std::size(kSharedHighlightingMaxContextWords5), nullptr}, |
| {" - maxContextWords: 10", kSharedHighlightingMaxContextWords10, |
| std::size(kSharedHighlightingMaxContextWords10), nullptr}, |
| {" - maxContextWords: 15", kSharedHighlightingMaxContextWords15, |
| std::size(kSharedHighlightingMaxContextWords15), nullptr}, |
| {" - maxContextWords: 20", kSharedHighlightingMaxContextWords20, |
| std::size(kSharedHighlightingMaxContextWords20), nullptr}}; |
| |
| #if !BUILDFLAG(IS_ANDROID) |
| |
| const FeatureEntry::FeatureParam kNtpChromeCartModuleFakeData[] = { |
| {ntp_features::kNtpChromeCartModuleDataParam, "fake"}, |
| {ntp_features::kNtpChromeCartModuleAbandonedCartDiscountParam, "true"}}; |
| const FeatureEntry::FeatureParam kNtpChromeCartModuleAbandonedCartDiscount[] = { |
| {ntp_features::kNtpChromeCartModuleAbandonedCartDiscountParam, "true"}, |
| {ntp_features::kNtpChromeCartModuleAbandonedCartDiscountUseUtmParam, |
| "true"}, |
| {"partner-merchant-pattern", |
| "(electronicexpress.com|zazzle.com|wish.com|homesquare.com|iherb.com|" |
| "zappos.com|otterbox.com)"}}; |
| const FeatureEntry::FeatureParam kNtpChromeCartModuleHeuristicsImprovement[] = { |
| {ntp_features::kNtpChromeCartModuleHeuristicsImprovementParam, "true"}}; |
| const FeatureEntry::FeatureParam kNtpChromeCartModuleRBDAndCouponDiscount[] = { |
| {ntp_features::kNtpChromeCartModuleHeuristicsImprovementParam, "true"}, |
| {ntp_features::kNtpChromeCartModuleAbandonedCartDiscountParam, "true"}, |
| {ntp_features::kNtpChromeCartModuleAbandonedCartDiscountUseUtmParam, |
| "true"}, |
| {"partner-merchant-pattern", |
| "(electronicexpress.com|zazzle.com|wish.com|homesquare.com)"}, |
| {ntp_features::kNtpChromeCartModuleCouponParam, "true"}}; |
| const FeatureEntry::FeatureVariation kNtpChromeCartModuleVariations[] = { |
| {"- Fake Data And Discount", kNtpChromeCartModuleFakeData, |
| std::size(kNtpChromeCartModuleFakeData), nullptr}, |
| {"- Abandoned Cart Discount", kNtpChromeCartModuleAbandonedCartDiscount, |
| std::size(kNtpChromeCartModuleAbandonedCartDiscount), nullptr}, |
| {"- Heuristics Improvement", kNtpChromeCartModuleHeuristicsImprovement, |
| std::size(kNtpChromeCartModuleHeuristicsImprovement), nullptr}, |
| {"- RBD and Coupons", kNtpChromeCartModuleRBDAndCouponDiscount, |
| std::size(kNtpChromeCartModuleRBDAndCouponDiscount), nullptr}, |
| }; |
| |
| // The following are consent v2 variations in the Chrome Cart module. |
| const flags_ui::FeatureEntry::FeatureParam kDiscountConsentNtpDialog[] = { |
| {commerce::kNtpChromeCartModuleDiscountConsentNtpVariationParam, "3"}}; |
| const flags_ui::FeatureEntry::FeatureParam kDiscountConsentNtpNativeDialog[] = { |
| {commerce::kNtpChromeCartModuleDiscountConsentNtpVariationParam, "4"}}; |
| |
| const FeatureEntry::FeatureVariation kDiscountConsentV2Variations[] = { |
| {"WebUi Dialog Consent", kDiscountConsentNtpDialog, |
| std::size(kDiscountConsentNtpDialog), nullptr}, |
| {"Native Dialog Consent", kDiscountConsentNtpNativeDialog, |
| std::size(kDiscountConsentNtpNativeDialog), nullptr}, |
| }; |
| |
| // The following is Code-based RBD variation. |
| const flags_ui::FeatureEntry::FeatureParam kCodeBasedRBDEnabled[] = { |
| {commerce::kCodeBasedRuleDiscountParam, "true"}}; |
| |
| const FeatureEntry::FeatureVariation kCodeBasedRBDVariations[] = { |
| {"code-based RBD", kCodeBasedRBDEnabled, std::size(kCodeBasedRBDEnabled), |
| nullptr}, |
| }; |
| |
| // The following is Merchant wide promotion variation. |
| const flags_ui::FeatureEntry::FeatureParam kMerchantWideFetchEnabled[] = { |
| {commerce::kReadyToFetchMerchantWidePromotionParam, "true"}}; |
| |
| const FeatureEntry::FeatureVariation kMerchantWidePromotionVariations[] = { |
| {"- Enable fetch", kMerchantWideFetchEnabled, |
| std::size(kMerchantWideFetchEnabled), nullptr}, |
| }; |
| |
| const FeatureEntry::FeatureParam kNtpDriveModuleFakeData[] = { |
| {ntp_features::kNtpDriveModuleDataParam, "fake"}}; |
| const FeatureEntry::FeatureParam kNtpDriveModuleManagedUsersOnly[] = { |
| {ntp_features::kNtpDriveModuleManagedUsersOnlyParam, "true"}}; |
| const FeatureEntry::FeatureVariation kNtpDriveModuleVariations[] = { |
| {"- Fake Data", kNtpDriveModuleFakeData, std::size(kNtpDriveModuleFakeData), |
| nullptr}, |
| {"- Managed Users Only", kNtpDriveModuleManagedUsersOnly, |
| std::size(kNtpDriveModuleManagedUsersOnly), nullptr}, |
| }; |
| |
| // History clusters fake data params are expressed as a comma separated tuple |
| // consisting of a number of desired visits and the number of such visits to be |
| // marked as having url keyed images. The number of visits must be greater than |
| // or equal to the number of visits marked as having images. |
| const FeatureEntry::FeatureParam |
| kNtpHistoryClustersModuleFakeData2Visits2Images[] = { |
| {ntp_features::kNtpHistoryClustersModuleDataParam, "2,2"}}; |
| const FeatureEntry::FeatureParam |
| kNtpHistoryClustersModuleFakeData3Visits1Image[] = { |
| {ntp_features::kNtpHistoryClustersModuleDataParam, "3,1"}}; |
| const FeatureEntry::FeatureParam |
| kNtpHistoryClustersModuleFakeData4Visits2Images[] = { |
| {ntp_features::kNtpHistoryClustersModuleDataParam, "4,2"}}; |
| const FeatureEntry::FeatureVariation kNtpHistoryClustersModuleVariations[] = { |
| {"- Fake Data - Layout 1", kNtpHistoryClustersModuleFakeData2Visits2Images, |
| std::size(kNtpHistoryClustersModuleFakeData2Visits2Images), nullptr}, |
| {"- Fake Data - Layout 2", kNtpHistoryClustersModuleFakeData3Visits1Image, |
| std::size(kNtpHistoryClustersModuleFakeData3Visits1Image), nullptr}, |
| {"- Fake Data - Layout 3", kNtpHistoryClustersModuleFakeData4Visits2Images, |
| std::size(kNtpHistoryClustersModuleFakeData4Visits2Images), nullptr}}; |
| |
| const FeatureEntry::FeatureParam kNtpMiddleSlotPromoDismissalFakeData[] = { |
| {ntp_features::kNtpMiddleSlotPromoDismissalParam, "fake"}}; |
| const FeatureEntry::FeatureVariation kNtpMiddleSlotPromoDismissalVariations[] = |
| { |
| {"- Fake Data", kNtpMiddleSlotPromoDismissalFakeData, |
| std::size(kNtpMiddleSlotPromoDismissalFakeData), nullptr}, |
| }; |
| |
| const FeatureEntry::FeatureParam kNtpPhotosModuleFakeData0[] = { |
| {ntp_features::kNtpPhotosModuleDataParam, "0"}}; |
| const FeatureEntry::FeatureParam kNtpPhotosModuleFakeData1[] = { |
| {ntp_features::kNtpPhotosModuleDataParam, "1"}}; |
| const FeatureEntry::FeatureParam kNtpPhotosModuleFakeData2[] = { |
| {ntp_features::kNtpPhotosModuleDataParam, "2"}}; |
| const FeatureEntry::FeatureParam kNtpPhotosModuleFakeData3[] = { |
| {ntp_features::kNtpPhotosModuleDataParam, "3"}}; |
| const FeatureEntry::FeatureParam kNtpPhotosModuleFakeData4[] = { |
| {ntp_features::kNtpPhotosModuleDataParam, "4"}}; |
| |
| const FeatureEntry::FeatureVariation kNtpPhotosModuleVariations[] = { |
| {" - Fake memories: 0", kNtpPhotosModuleFakeData0, |
| std::size(kNtpPhotosModuleFakeData0), nullptr}, |
| {" - Fake memories: 1", kNtpPhotosModuleFakeData1, |
| std::size(kNtpPhotosModuleFakeData1), nullptr}, |
| {" - Fake memories: 2", kNtpPhotosModuleFakeData2, |
| std::size(kNtpPhotosModuleFakeData2), nullptr}, |
| {" - Fake memories: 3", kNtpPhotosModuleFakeData3, |
| std::size(kNtpPhotosModuleFakeData3), nullptr}, |
| {" - Fake memories: 4", kNtpPhotosModuleFakeData4, |
| std::size(kNtpPhotosModuleFakeData4), nullptr}}; |
| |
| const FeatureEntry::FeatureParam kNtpPhotosModuleOptInRHTitle[] = { |
| {ntp_features::kNtpPhotosModuleOptInTitleParam, "0"}}; |
| const FeatureEntry::FeatureParam kNtpPhotosModuleOptInFavoriteTitle[] = { |
| {ntp_features::kNtpPhotosModuleOptInTitleParam, "1"}}; |
| const FeatureEntry::FeatureParam kNtpPhotosModuleOptInPersonalizedTitle[] = { |
| {ntp_features::kNtpPhotosModuleOptInTitleParam, "2"}}; |
| const FeatureEntry::FeatureParam kNtpPhotosModuleOptInTripsTitle[] = { |
| {ntp_features::kNtpPhotosModuleOptInTitleParam, "3"}}; |
| |
| const FeatureEntry::FeatureVariation kNtpPhotosModuleOptInTitleVariations[] = { |
| {" - Recent Highlights", kNtpPhotosModuleOptInRHTitle, |
| std::size(kNtpPhotosModuleOptInRHTitle), nullptr}, |
| {" - Favorite people", kNtpPhotosModuleOptInFavoriteTitle, |
| std::size(kNtpPhotosModuleOptInFavoriteTitle), nullptr}, |
| {" - Personalized title", kNtpPhotosModuleOptInPersonalizedTitle, |
| std::size(kNtpPhotosModuleOptInPersonalizedTitle), nullptr}, |
| {" - Trips title", kNtpPhotosModuleOptInTripsTitle, |
| std::size(kNtpPhotosModuleOptInTripsTitle), nullptr}}; |
| |
| const FeatureEntry::FeatureParam kNtpPhotosModuleLogo1ArtWork[] = { |
| {ntp_features::kNtpPhotosModuleOptInArtWorkParam, "1"}}; |
| const FeatureEntry::FeatureParam kNtpPhotosModuleLogo2ArtWork[] = { |
| {ntp_features::kNtpPhotosModuleOptInArtWorkParam, "2"}}; |
| const FeatureEntry::FeatureParam kNtpPhotosModuleIllustrationsArtWork[] = { |
| {ntp_features::kNtpPhotosModuleOptInArtWorkParam, "3"}}; |
| const FeatureEntry::FeatureParam kNtpPhotosModuleStockpileArtWork[] = { |
| {ntp_features::kNtpPhotosModuleOptInArtWorkParam, "4"}}; |
| |
| const FeatureEntry::FeatureVariation kNtpPhotosModuleOptInArtWorkVariations[] = |
| {{" - Artwork with Logo - 1", kNtpPhotosModuleLogo1ArtWork, |
| std::size(kNtpPhotosModuleLogo1ArtWork), nullptr}, |
| {" - Artwork with Logo - 2", kNtpPhotosModuleLogo2ArtWork, |
| std::size(kNtpPhotosModuleLogo2ArtWork), nullptr}, |
| {" - Artwork with Illustrations", kNtpPhotosModuleIllustrationsArtWork, |
| std::size(kNtpPhotosModuleIllustrationsArtWork), nullptr}, |
| {" - Artwork with Stockpile", kNtpPhotosModuleStockpileArtWork, |
| std::size(kNtpPhotosModuleStockpileArtWork), nullptr}}; |
| |
| const FeatureEntry::FeatureParam kRealboxMatchOmniboxThemeVar1[] = { |
| {ntp_features::kRealboxMatchOmniboxThemeVariantParam, "1"}}; |
| const FeatureEntry::FeatureParam kRealboxMatchOmniboxThemeVar2[] = { |
| {ntp_features::kRealboxMatchOmniboxThemeVariantParam, "2"}}; |
| |
| const FeatureEntry::FeatureVariation kRealboxMatchOmniboxThemeVariations[] = { |
| {"(NTP background on steady state and Omnibox steady state background on " |
| "hover)", |
| kRealboxMatchOmniboxThemeVar1, std::size(kRealboxMatchOmniboxThemeVar1), |
| nullptr}, |
| {"(NTP background on steady state and Omnibox active state background on " |
| "hover)", |
| kRealboxMatchOmniboxThemeVar2, std::size(kRealboxMatchOmniboxThemeVar2), |
| nullptr}}; |
| |
| const FeatureEntry::FeatureParam kNtpRecipeTasksModuleFakeData[] = { |
| {ntp_features::kNtpRecipeTasksModuleDataParam, "fake"}}; |
| const FeatureEntry::FeatureParam kNtpRecipeTasksModuleHistorical7Days[] = { |
| {ntp_features::kNtpRecipeTasksModuleExperimentGroupParam, "historical-7"}}; |
| const FeatureEntry::FeatureParam kNtpRecipeTasksModuleHistorical14Days[] = { |
| {ntp_features::kNtpRecipeTasksModuleExperimentGroupParam, "historical-14"}}; |
| const FeatureEntry::FeatureParam kNtpRecipeTasksModuleMix7Days[] = { |
| {ntp_features::kNtpRecipeTasksModuleExperimentGroupParam, "mix-7"}}; |
| const FeatureEntry::FeatureParam kNtpRecipeTasksModuleMix14Days[] = { |
| {ntp_features::kNtpRecipeTasksModuleExperimentGroupParam, "mix-14"}}; |
| const FeatureEntry::FeatureVariation kNtpRecipeTasksModuleVariations[] = { |
| {"- Fake Data", kNtpRecipeTasksModuleFakeData, |
| std::size(kNtpRecipeTasksModuleFakeData), nullptr}, |
| {"- Historical Arm (7 days)", kNtpRecipeTasksModuleHistorical7Days, |
| std::size(kNtpRecipeTasksModuleHistorical7Days), "t3349934"}, |
| {"- Historical Arm (14 days)", kNtpRecipeTasksModuleHistorical14Days, |
| std::size(kNtpRecipeTasksModuleHistorical14Days), "t3349935"}, |
| {"- Recommended Mix Arm (7 days)", kNtpRecipeTasksModuleMix7Days, |
| std::size(kNtpRecipeTasksModuleMix7Days), "t3349936"}, |
| {"- Recommended Mix Arm (14 days)", kNtpRecipeTasksModuleMix14Days, |
| std::size(kNtpRecipeTasksModuleMix14Days), "t3349937"}, |
| }; |
| |
| const FeatureEntry::FeatureParam kNtpSafeBrowsingModuleFastCooldown[] = { |
| {ntp_features::kNtpSafeBrowsingModuleCooldownPeriodDaysParam, "0.001"}, |
| {ntp_features::kNtpSafeBrowsingModuleCountMaxParam, "1"}}; |
| const FeatureEntry::FeatureVariation kNtpSafeBrowsingModuleVariations[] = { |
| {"(Fast Cooldown)", kNtpSafeBrowsingModuleFastCooldown, |
| std::size(kNtpSafeBrowsingModuleFastCooldown), nullptr}, |
| }; |
| #endif // !BUILDFLAG(IS_ANDROID) |
| |
| #if BUILDFLAG(IS_ANDROID) |
| |
| const FeatureEntry::FeatureParam kRelatedSearchesUrl = {"stamp", "1Ru"}; |
| const FeatureEntry::FeatureParam kRelatedSearchesContent = {"stamp", "1Rc"}; |
| const FeatureEntry::FeatureParam kRelatedSearchesAllLanguages = { |
| "all_languages", "true"}; |
| const FeatureEntry::FeatureVariation kRelatedSearchesVariations[] = { |
| {"from URL", &kRelatedSearchesUrl, 1, nullptr}, |
| {"from content", &kRelatedSearchesContent, 1, nullptr}, |
| {"support all languages", &kRelatedSearchesAllLanguages, 1, nullptr}, |
| }; |
| |
| const FeatureEntry::FeatureParam kContextualSearchSuppressShortViewWith300Dp[] = |
| {{"contextual_search_minimum_page_height_dp", "300"}}; |
| const FeatureEntry::FeatureParam kContextualSearchSuppressShortViewWith400Dp[] = |
| {{"contextual_search_minimum_page_height_dp", "400"}}; |
| const FeatureEntry::FeatureParam kContextualSearchSuppressShortViewWith500Dp[] = |
| {{"contextual_search_minimum_page_height_dp", "500"}}; |
| const FeatureEntry::FeatureParam kContextualSearchSuppressShortViewWith600Dp[] = |
| {{"contextual_search_minimum_page_height_dp", "600"}}; |
| const FeatureEntry::FeatureVariation |
| kContextualSearchSuppressShortViewVariations[] = { |
| {"(300 dp)", kContextualSearchSuppressShortViewWith300Dp, |
| std::size(kContextualSearchSuppressShortViewWith300Dp), nullptr}, |
| {"(400 dp)", kContextualSearchSuppressShortViewWith400Dp, |
| std::size(kContextualSearchSuppressShortViewWith400Dp), nullptr}, |
| {"(500 dp)", kContextualSearchSuppressShortViewWith500Dp, |
| std::size(kContextualSearchSuppressShortViewWith500Dp), nullptr}, |
| {"(600 dp)", kContextualSearchSuppressShortViewWith600Dp, |
| std::size(kContextualSearchSuppressShortViewWith600Dp), nullptr}, |
| }; |
| |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| const FeatureEntry::FeatureParam |
| kResamplingScrollEventsPredictionTimeBasedEnabled[] = { |
| {"mode", features::kPredictionTypeTimeBased}, |
| {"latency", features::kPredictionTypeDefaultTime}}; |
| const FeatureEntry::FeatureParam |
| kResamplingScrollEventsPredictionFramesBasedEnabled[] = { |
| {"mode", features::kPredictionTypeFramesBased}, |
| {"latency", features::kPredictionTypeDefaultFramesRatio}}; |
| const FeatureEntry::FeatureVariation |
| kResamplingScrollEventsExperimentalPredictionVariations[] = { |
| {features::kPredictionTypeTimeBased, |
| kResamplingScrollEventsPredictionTimeBasedEnabled, |
| std::size(kResamplingScrollEventsPredictionTimeBasedEnabled), nullptr}, |
| {features::kPredictionTypeFramesBased, |
| kResamplingScrollEventsPredictionFramesBasedEnabled, |
| std::size(kResamplingScrollEventsPredictionFramesBasedEnabled), |
| nullptr}}; |
| |
| #if BUILDFLAG(IS_ANDROID) |
| const FeatureEntry::FeatureParam kTabGroupsContinuationAndroid_LowEndSupport[] = |
| { |
| {"gts-low-end-support", "true"}, |
| {"gts-accessibility-support", "false"}, |
| {"gts-accessibility-list-mode", "false"}, |
| }; |
| const FeatureEntry::FeatureParam |
| kTabGroupsContinuationAndroid_LowEndAndAccessibilitySupport[] = { |
| {"gts-low-end-support", "true"}, |
| {"gts-accessibility-support", "true"}, |
| {"gts-accessibility-list-mode", "false"}, |
| }; |
| const FeatureEntry::FeatureParam |
| kTabGroupsContinuationAndroid_LowEndAndAccessibilityListSupport[] = { |
| {"gts-low-end-support", "true"}, |
| {"gts-accessibility-support", "true"}, |
| {"gts-accessibility-list-mode", "true"}, |
| }; |
| const FeatureEntry::FeatureVariation kTabGroupsContinuationAndroidVariations[] = |
| { |
| {"Low-end device support", kTabGroupsContinuationAndroid_LowEndSupport, |
| std::size(kTabGroupsContinuationAndroid_LowEndSupport), nullptr}, |
| {"Low-end & Accessibility Grid or List support", |
| kTabGroupsContinuationAndroid_LowEndAndAccessibilitySupport, |
| std::size(kTabGroupsContinuationAndroid_LowEndAndAccessibilitySupport), |
| nullptr}, |
| {"Low-end & Accessibility List-only support", |
| kTabGroupsContinuationAndroid_LowEndAndAccessibilityListSupport, |
| std::size( |
| kTabGroupsContinuationAndroid_LowEndAndAccessibilityListSupport), |
| nullptr}, |
| }; |
| |
| const FeatureEntry::FeatureParam kStartSurfaceReturnTime_Immediate[] = { |
| {"start_surface_return_time_seconds", "0"}}; |
| const FeatureEntry::FeatureParam kStartSurfaceReturnTime_10Seconds[] = { |
| {"start_surface_return_time_seconds", "10"}}; |
| const FeatureEntry::FeatureParam kStartSurfaceReturnTime_1Minute[] = { |
| {"start_surface_return_time_seconds", "60"}}; |
| const FeatureEntry::FeatureParam kStartSurfaceReturnTime_5Minute[] = { |
| {"start_surface_return_time_seconds", "300"}}; |
| const FeatureEntry::FeatureParam kStartSurfaceReturnTime_60Minute[] = { |
| {"start_surface_return_time_seconds", "3600"}}; |
| const FeatureEntry::FeatureVariation kStartSurfaceReturnTimeVariations[] = { |
| {"Immediate", kStartSurfaceReturnTime_Immediate, |
| std::size(kStartSurfaceReturnTime_Immediate), nullptr}, |
| {"10 seconds", kStartSurfaceReturnTime_10Seconds, |
| std::size(kStartSurfaceReturnTime_10Seconds), nullptr}, |
| {"1 minute", kStartSurfaceReturnTime_1Minute, |
| std::size(kStartSurfaceReturnTime_1Minute), nullptr}, |
| {"5 minute", kStartSurfaceReturnTime_5Minute, |
| std::size(kStartSurfaceReturnTime_5Minute), nullptr}, |
| {"60 minute", kStartSurfaceReturnTime_60Minute, |
| std::size(kStartSurfaceReturnTime_60Minute), nullptr}, |
| }; |
| #endif // BUILDFLAG(IS_ANDROID) |
| #if BUILDFLAG(IS_ANDROID) |
| const FeatureEntry::FeatureParam kTabGridLayoutAndroid_NewTabVariation[] = { |
| {"tab_grid_layout_android_new_tab", "NewTabVariation"}, |
| {"allow_to_refetch", "true"}}; |
| |
| const FeatureEntry::FeatureParam kTabGridLayoutAndroid_TallNTV[] = { |
| {"thumbnail_aspect_ratio", "0.85"}, |
| {"allow_to_refetch", "true"}, |
| {"tab_grid_layout_android_new_tab", "NewTabVariation"}}; |
| |
| const FeatureEntry::FeatureParam |
| kTabGridLayoutAndroid_TabGroupAutoCreation_TabGroupFirst[] = { |
| {"enable_tab_group_auto_creation", "false"}, |
| {"show_open_in_tab_group_menu_item_first", "true"}}; |
| |
| const FeatureEntry::FeatureParam kTabGridLayoutAndroid_TabGroupAutoCreation[] = |
| {{"enable_tab_group_auto_creation", "false"}, |
| {"show_open_in_tab_group_menu_item_first", "false"}}; |
| |
| const FeatureEntry::FeatureVariation kTabGridLayoutAndroidVariations[] = { |
| {"New Tab Variation", kTabGridLayoutAndroid_NewTabVariation, |
| std::size(kTabGridLayoutAndroid_NewTabVariation), nullptr}, |
| {"Tall NTV", kTabGridLayoutAndroid_TallNTV, |
| std::size(kTabGridLayoutAndroid_TallNTV), nullptr}, |
| {"Without auto group", kTabGridLayoutAndroid_TabGroupAutoCreation, |
| std::size(kTabGridLayoutAndroid_TabGroupAutoCreation), nullptr}, |
| {"Without auto group-group first", |
| kTabGridLayoutAndroid_TabGroupAutoCreation_TabGroupFirst, |
| std::size(kTabGridLayoutAndroid_TabGroupAutoCreation_TabGroupFirst), |
| nullptr}, |
| }; |
| |
| const FeatureEntry::FeatureParam kStartSurfaceAndroid_SingleSurface[] = { |
| {"open_ntp_instead_of_start", "false"}, |
| {"open_start_as_homepage", "true"}, |
| {"show_last_active_tab_only", "false"}, |
| {"show_tabs_in_mru_order", "true"}}; |
| |
| const FeatureEntry::FeatureParam kStartSurfaceAndroid_CandidateA[] = { |
| {"open_ntp_instead_of_start", "false"}, |
| {"open_start_as_homepage", "true"}}; |
| |
| const FeatureEntry::FeatureParam kStartSurfaceAndroid_CandidateA_SyncCheck[] = { |
| {"open_ntp_instead_of_start", "false"}, |
| {"open_start_as_homepage", "true"}, |
| {"check_sync_before_show_start_at_startup", "true"}}; |
| |
| const FeatureEntry::FeatureParam |
| kStartSurfaceAndroid_CandidateA_SigninPromoTimeLimit[] = { |
| {"open_ntp_instead_of_start", "false"}, |
| {"open_start_as_homepage", "true"}, |
| {"sign_in_promo_show_since_last_background_limit_ms", "30000"}}; |
| |
| const FeatureEntry::FeatureParam kStartSurfaceAndroid_CandidateB[] = { |
| {"open_ntp_instead_of_start", "true"}}; |
| |
| const FeatureEntry::FeatureParam |
| kStartSurfaceAndroid_CandidateB_AlwaysShowIncognito[] = { |
| {"hide_switch_when_no_incognito_tabs", "false"}}; |
| |
| const FeatureEntry::FeatureVariation kStartSurfaceAndroidVariations[] = { |
| {"Candidate A", kStartSurfaceAndroid_CandidateA, |
| std::size(kStartSurfaceAndroid_CandidateA), nullptr}, |
| {"Candidate A + Sync check", kStartSurfaceAndroid_CandidateA_SyncCheck, |
| std::size(kStartSurfaceAndroid_CandidateA_SyncCheck), nullptr}, |
| {"Candidate A + Sign in promo backgrounded time limit", |
| kStartSurfaceAndroid_CandidateA_SigninPromoTimeLimit, |
| std::size(kStartSurfaceAndroid_CandidateA_SigninPromoTimeLimit), nullptr}, |
| {"Candidate B", kStartSurfaceAndroid_CandidateB, |
| std::size(kStartSurfaceAndroid_CandidateB), nullptr}, |
| {"Candidate B + Always show Incognito icon", |
| kStartSurfaceAndroid_CandidateB_AlwaysShowIncognito, |
| std::size(kStartSurfaceAndroid_CandidateB_AlwaysShowIncognito), nullptr}, |
| {"Single Surface", kStartSurfaceAndroid_SingleSurface, |
| std::size(kStartSurfaceAndroid_SingleSurface), nullptr}, |
| }; |
| |
| const FeatureEntry::FeatureParam kFeedPositionAndroid_push_down_feed_small[] = { |
| {"push_down_feed_small", "true"}}; |
| |
| const FeatureEntry::FeatureParam kFeedPositionAndroid_push_down_feed_large[] = { |
| {"push_down_feed_large", "true"}}; |
| |
| const FeatureEntry::FeatureParam kFeedPositionAndroid_pull_up_feed[] = { |
| {"pull_up_feed", "true"}}; |
| |
| const FeatureEntry::FeatureParam |
| kFeedPositionAndroid_push_down_feed_large_target_feed_active[] = { |
| {"push_down_feed_large", "true"}, |
| {"feed_active_targeting", "active"}}; |
| |
| const FeatureEntry::FeatureParam |
| kFeedPositionAndroid_push_down_feed_large_target_non_feed_active[] = { |
| {"push_down_feed_large", "true"}, |
| {"feed_active_targeting", "non-active"}}; |
| |
| const FeatureEntry::FeatureParam |
| kFeedPositionAndroid_pull_up_feed_target_feed_active[] = { |
| {"pull_up_feed", "true"}, |
| {"feed_active_targeting", "active"}}; |
| |
| const FeatureEntry::FeatureParam |
| kFeedPositionAndroid_pull_up_feed_target_non_feed_active[] = { |
| {"pull_up_feed", "true"}, |
| {"feed_active_targeting", "non-active"}}; |
| |
| const FeatureEntry::FeatureVariation kFeedPositionAndroidVariations[] = { |
| {"Push down Feed (small)", kFeedPositionAndroid_push_down_feed_small, |
| std::size(kFeedPositionAndroid_push_down_feed_small), nullptr}, |
| {"Push down Feed (large)", kFeedPositionAndroid_push_down_feed_large, |
| std::size(kFeedPositionAndroid_push_down_feed_large), nullptr}, |
| {"Pull up Feed", kFeedPositionAndroid_pull_up_feed, |
| std::size(kFeedPositionAndroid_pull_up_feed), nullptr}, |
| {"Push down Feed (large) with targeting Feed active users", |
| kFeedPositionAndroid_push_down_feed_large_target_feed_active, |
| std::size(kFeedPositionAndroid_push_down_feed_large_target_feed_active), |
| nullptr}, |
| {"Push down Feed (large) with targeting non-Feed active users", |
| kFeedPositionAndroid_push_down_feed_large_target_non_feed_active, |
| std::size( |
| kFeedPositionAndroid_push_down_feed_large_target_non_feed_active), |
| nullptr}, |
| {"Pull up Feed with targeting Feed active users", |
| kFeedPositionAndroid_pull_up_feed_target_feed_active, |
| std::size(kFeedPositionAndroid_pull_up_feed_target_feed_active), nullptr}, |
| {"Pull up Feed with targeting non-Feed active users", |
| kFeedPositionAndroid_pull_up_feed_target_non_feed_active, |
| std::size(kFeedPositionAndroid_pull_up_feed_target_non_feed_active), |
| nullptr}, |
| }; |
| |
| const FeatureEntry::FeatureParam kSearchResumption_use_new_service[] = { |
| {"use_new_service", "true"}}; |
| const FeatureEntry::FeatureVariation |
| kSearchResumptionModuleAndroidVariations[] = { |
| {"Use New Service", kSearchResumption_use_new_service, |
| std::size(kSearchResumption_use_new_service), nullptr}, |
| }; |
| |
| const FeatureEntry::FeatureParam kFeatureNotificationGuide_low_engaged[] = { |
| {"enable_feature_incognito_tab", "true"}, |
| {"enable_feature_ntp_suggestion_card", "true"}, |
| {"enable_feature_voice_search", "true"}}; |
| |
| const FeatureEntry::FeatureParam kFeatureNotificationGuide_default_browser[] = { |
| {"enable_feature_default_browser", "true"}}; |
| |
| const FeatureEntry::FeatureVariation kFeatureNotificationGuideVariations[] = { |
| {"Low engaged users", kFeatureNotificationGuide_low_engaged, |
| std::size(kFeatureNotificationGuide_low_engaged), nullptr}, |
| {"Default browser", kFeatureNotificationGuide_default_browser, |
| std::size(kFeatureNotificationGuide_default_browser), nullptr}, |
| }; |
| |
| const FeatureEntry::FeatureParam |
| kNotificationPermissionRationale_show_dialog_next_start[] = { |
| {"always_show_rationale_before_requesting_permission", "true"}, |
| {"permission_request_interval_days", "0"}, |
| }; |
| |
| const FeatureEntry::FeatureVariation |
| kNotificationPermissionRationaleVariations[] = { |
| {"- Show rationale UI on next startup", |
| kNotificationPermissionRationale_show_dialog_next_start, |
| std::size(kNotificationPermissionRationale_show_dialog_next_start), |
| nullptr}, |
| }; |
| |
| const FeatureEntry::FeatureParam kWebFeed_accelerator[] = { |
| {"intro_style", "accelerator"}}; |
| |
| const FeatureEntry::FeatureParam kWebFeed_IPH[] = {{"intro_style", "IPH"}}; |
| |
| const FeatureEntry::FeatureVariation kWebFeedVariations[] = { |
| {"accelerator recommendations", kWebFeed_accelerator, |
| std::size(kWebFeed_accelerator), nullptr}, |
| {"IPH recommendations", kWebFeed_IPH, std::size(kWebFeed_IPH), nullptr}, |
| }; |
| |
| const FeatureEntry::FeatureParam kWebFeedAwareness_new_animation[] = { |
| {"awareness_style", "new_animation"}}; |
| const FeatureEntry::FeatureParam kWebFeedAwareness_new_animation_no_limit[] = { |
| {"awareness_style", "new_animation_no_limit"}}; |
| |
| const FeatureEntry::FeatureParam kWebFeedAwareness_IPH[] = { |
| {"awareness_style", "IPH"}}; |
| |
| const FeatureEntry::FeatureVariation kWebFeedAwarenessVariations[] = { |
| {"new animation", kWebFeedAwareness_new_animation, |
| std::size(kWebFeedAwareness_new_animation), nullptr}, |
| {"new animation rate limit off", kWebFeedAwareness_new_animation_no_limit, |
| std::size(kWebFeedAwareness_new_animation_no_limit), nullptr}, |
| {"IPH and dot", kWebFeedAwareness_IPH, std::size(kWebFeedAwareness_IPH), |
| nullptr}, |
| }; |
| |
| const FeatureEntry::FeatureParam kFeedCloseRefresh_Open[] = { |
| {"require_interaction", "false"}}; |
| |
| const FeatureEntry::FeatureParam kFeedCloseRefresh_Interact[] = { |
| {"require_interaction", "true"}}; |
| |
| const FeatureEntry::FeatureVariation kFeedCloseRefreshVariations[] = { |
| {"Open", kFeedCloseRefresh_Open, std::size(kFeedCloseRefresh_Open), |
| nullptr}, |
| {"Interact", kFeedCloseRefresh_Interact, |
| std::size(kFeedCloseRefresh_Interact), nullptr}, |
| }; |
| |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| #if BUILDFLAG(IS_ANDROID) |
| const FeatureEntry::FeatureParam kAddToHomescreen_UseTextBubble[] = { |
| {"use_text_bubble", "true"}}; |
| const FeatureEntry::FeatureParam kAddToHomescreen_UseMessage[] = { |
| {"use_message", "true"}}; |
| |
| const FeatureEntry::FeatureVariation kAddToHomescreenIPHVariations[] = { |
| {"Use Text Bubble", kAddToHomescreen_UseTextBubble, |
| std::size(kAddToHomescreen_UseTextBubble), nullptr}, |
| {"Use Message", kAddToHomescreen_UseMessage, |
| std::size(kAddToHomescreen_UseMessage), nullptr}}; |
| #endif |
| |
| #if BUILDFLAG(IS_ANDROID) |
| const FeatureEntry::FeatureParam |
| kAutofillUseMobileLabelDisambiguationShowAll[] = { |
| {autofill::features::kAutofillUseMobileLabelDisambiguationParameterName, |
| autofill::features:: |
| kAutofillUseMobileLabelDisambiguationParameterShowAll}}; |
| const FeatureEntry::FeatureParam |
| kAutofillUseMobileLabelDisambiguationShowOne[] = { |
| {autofill::features::kAutofillUseMobileLabelDisambiguationParameterName, |
| autofill::features:: |
| kAutofillUseMobileLabelDisambiguationParameterShowOne}}; |
| |
| const FeatureEntry::FeatureVariation |
| kAutofillUseMobileLabelDisambiguationVariations[] = { |
| {"(show all)", kAutofillUseMobileLabelDisambiguationShowAll, |
| std::size(kAutofillUseMobileLabelDisambiguationShowAll), nullptr}, |
| {"(show one)", kAutofillUseMobileLabelDisambiguationShowOne, |
| std::size(kAutofillUseMobileLabelDisambiguationShowOne), nullptr}}; |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| #if BUILDFLAG(IS_ANDROID) |
| const FeatureEntry::FeatureParam kLensCameraAssistedSearchLensButtonStart[] = { |
| {"searchBoxStartVariantForLensCameraAssistedSearch", "true"}}; |
| |
| const FeatureEntry::FeatureParam kLensCameraAssistedSearchLensButtonEnd[] = { |
| {"searchBoxStartVariantForLensCameraAssistedSearch", "false"}}; |
| |
| const FeatureEntry::FeatureParam |
| kLensCameraAssistedSkipAgsaVersionCheckEnabled[] = { |
| {"skipAgsaVersionCheck", "true"}}; |
| |
| const FeatureEntry::FeatureParam |
| kLensCameraAssistedSkipAgsaVersionCheckDisabled[] = { |
| {"skipAgsaVersionCheck", "false"}}; |
| |
| const FeatureEntry::FeatureParam kLensCameraAssistedSearchOnTablet[] = { |
| {"enableCameraAssistedSearchOnTablet", "true"}}; |
| |
| const FeatureEntry::FeatureVariation kLensCameraAssistedSearchVariations[] = { |
| {"(Lens then Mic)", kLensCameraAssistedSearchLensButtonStart, |
| std::size(kLensCameraAssistedSearchLensButtonStart), nullptr}, |
| {"(Mic then Lens)", kLensCameraAssistedSearchLensButtonEnd, |
| std::size(kLensCameraAssistedSearchLensButtonEnd), nullptr}, |
| {"(without AGSA version check)", |
| kLensCameraAssistedSkipAgsaVersionCheckEnabled, |
| std::size(kLensCameraAssistedSkipAgsaVersionCheckEnabled), nullptr}, |
| {"(with AGSA version check )", |
| kLensCameraAssistedSkipAgsaVersionCheckDisabled, |
| std::size(kLensCameraAssistedSkipAgsaVersionCheckDisabled), nullptr}, |
| {"(on Tablet)", kLensCameraAssistedSearchOnTablet, |
| std::size(kLensCameraAssistedSearchOnTablet), nullptr}}; |
| |
| const FeatureEntry::FeatureParam kLensContextMenuSearchOnTablet[] = { |
| {"enableContextMenuSearchOnTablet", "true"}}; |
| |
| const FeatureEntry::FeatureVariation kLensContextMenuSearchVariations[] = { |
| {"(on Tablet)", kLensContextMenuSearchOnTablet, |
| std::size(kLensContextMenuSearchOnTablet), nullptr}, |
| }; |
| |
| const FeatureEntry::FeatureParam kContextMenuSearchImageWithGoogle[] = { |
| {"useLensContextMenuAlternateText1", "true"}}; |
| |
| const FeatureEntry::FeatureParam kContextMenuSearchInsideImageWithGoogle[] = { |
| {"useLensContextMenuAlternateText2", "true"}}; |
| |
| const FeatureEntry::FeatureVariation |
| kContextMenuGoogleLensSearchOptimizationVariations[] = { |
| {"Context Menu: Search image With Google", |
| kContextMenuSearchImageWithGoogle, |
| std::size(kContextMenuSearchImageWithGoogle), nullptr}, |
| {"Context Menu: Search inside image With Google", |
| kContextMenuSearchInsideImageWithGoogle, |
| std::size(kContextMenuSearchInsideImageWithGoogle), nullptr}, |
| }; |
| |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| const FeatureEntry::Choice kNotificationSchedulerChoices[] = { |
| {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| {flag_descriptions:: |
| kNotificationSchedulerImmediateBackgroundTaskDescription, |
| notifications::switches::kNotificationSchedulerImmediateBackgroundTask, |
| ""}, |
| }; |
| |
| #if BUILDFLAG(IS_ANDROID) |
| |
| const FeatureEntry::FeatureParam kOmniboxAssistantVoiceSearchGreyMic[] = { |
| {"min_agsa_version", "10.95"}, |
| {"colorful_mic", "false"}}; |
| |
| const FeatureEntry::FeatureParam kOmniboxAssistantVoiceSearchColorfulMic[] = { |
| {"min_agsa_version", "10.95"}, |
| {"colorful_mic", "true"}}; |
| |
| const FeatureEntry::FeatureParam |
| kOmniboxAssistantVoiceSearchNoMultiAccountCheck[] = { |
| {"min_agsa_version", "10.95"}, |
| {"colorful_mic", "true"}, |
| {"enable_multi_account_check", "false"}}; |
| |
| const FeatureEntry::FeatureVariation kOmniboxAssistantVoiceSearchVariations[] = |
| { |
| {"(grey mic)", kOmniboxAssistantVoiceSearchGreyMic, |
| std::size(kOmniboxAssistantVoiceSearchGreyMic), nullptr}, |
| {"(colorful mic)", kOmniboxAssistantVoiceSearchColorfulMic, |
| std::size(kOmniboxAssistantVoiceSearchColorfulMic), nullptr}, |
| {"(no account check)", kOmniboxAssistantVoiceSearchNoMultiAccountCheck, |
| std::size(kOmniboxAssistantVoiceSearchNoMultiAccountCheck), nullptr}, |
| }; |
| |
| const FeatureEntry::FeatureParam |
| kOmniboxModernizeVisualUpdateExcludeTabletsActiveOmniboxSmallMargin[] = { |
| {"enable_modernize_visual_update_on_tablet", "false"}, |
| {"modernize_visual_update_active_color_on_omnibox", "true"}, |
| {"modernize_visual_update_small_bottom_margin", "true"}}; |
| |
| const FeatureEntry::FeatureParam |
| kOmniboxModernizeVisualUpdateExcludeTabletsActiveOmniboxBigMargin[] = { |
| {"enable_modernize_visual_update_on_tablet", "false"}, |
| {"modernize_visual_update_active_color_on_omnibox", "true"}, |
| {"modernize_visual_update_small_bottom_margin", "false"}}; |
| |
| const FeatureEntry::FeatureParam |
| kOmniboxModernizeVisualUpdateExcludeTabletsDeactiveOmniboxSmallMargin[] = { |
| {"enable_modernize_visual_update_on_tablet", "false"}, |
| {"modernize_visual_update_active_color_on_omnibox", "false"}, |
| {"modernize_visual_update_small_bottom_margin", "true"}}; |
| |
| const FeatureEntry::FeatureParam |
| kOmniboxModernizeVisualUpdateExcludeTabletsDeactiveOmniboxBigMargin[] = { |
| {"enable_modernize_visual_update_on_tablet", "false"}, |
| {"modernize_visual_update_active_color_on_omnibox", "false"}, |
| {"modernize_visual_update_small_bottom_margin", "false"}}; |
| |
| const FeatureEntry::FeatureParam kOmniboxModernizeVisualUpdateIncludeTablets[] = |
| {{"enable_modernize_visual_update_on_tablet", "true"}}; |
| |
| const FeatureEntry::FeatureVariation kOmniboxModernizeVisualUpdateVariations[] = { |
| {"(+color, Short)", |
| kOmniboxModernizeVisualUpdateExcludeTabletsActiveOmniboxSmallMargin, |
| std::size( |
| kOmniboxModernizeVisualUpdateExcludeTabletsActiveOmniboxSmallMargin), |
| nullptr}, |
| {"(+color, Tall)", |
| kOmniboxModernizeVisualUpdateExcludeTabletsActiveOmniboxBigMargin, |
| std::size( |
| kOmniboxModernizeVisualUpdateExcludeTabletsActiveOmniboxBigMargin), |
| nullptr}, |
| {"(-color, Short)", |
| kOmniboxModernizeVisualUpdateExcludeTabletsDeactiveOmniboxSmallMargin, |
| std::size( |
| kOmniboxModernizeVisualUpdateExcludeTabletsDeactiveOmniboxSmallMargin), |
| nullptr}, |
| {"(-color, Tall)", |
| kOmniboxModernizeVisualUpdateExcludeTabletsDeactiveOmniboxBigMargin, |
| std::size( |
| kOmniboxModernizeVisualUpdateExcludeTabletsDeactiveOmniboxBigMargin), |
| nullptr}, |
| {"(Tablet)", kOmniboxModernizeVisualUpdateIncludeTablets, |
| std::size(kOmniboxModernizeVisualUpdateIncludeTablets), nullptr}, |
| }; |
| |
| const FeatureEntry::FeatureParam kPhotoPickerAdoptionStudyActionGetContent[] = { |
| {"use_action_get_content", "true"}}; |
| const FeatureEntry::FeatureParam kPhotoPickerAdoptionStudyActionPickImages[] = { |
| {"use_action_pick_images", "true"}}; |
| const FeatureEntry::FeatureParam |
| kPhotoPickerAdoptionStudyActionPickImagesPlus[] = { |
| {"use_action_pick_images_plus", "true"}}; |
| const FeatureEntry::FeatureParam |
| kPhotoPickerAdoptionStudyChromePickerWithoutBrowse[] = { |
| {"chrome_picker_suppress_browse", "true"}}; |
| |
| const FeatureEntry::FeatureVariation |
| kPhotoPickerAdoptionStudyFeatureVariations[] = { |
| {"(Android Picker w/ACTION_GET_CONTENT)", |
| kPhotoPickerAdoptionStudyActionGetContent, |
| std::size(kPhotoPickerAdoptionStudyActionGetContent), nullptr}, |
| {"(Android Picker w/ACTION_PICK_IMAGES)", |
| kPhotoPickerAdoptionStudyActionPickImages, |
| std::size(kPhotoPickerAdoptionStudyActionPickImages), nullptr}, |
| {"(Android Picker w/ACTION_PICK_IMAGES Plus)", |
| kPhotoPickerAdoptionStudyActionPickImagesPlus, |
| std::size(kPhotoPickerAdoptionStudyActionPickImagesPlus), nullptr}, |
| {"(Chrome Picker without Browse)", |
| kPhotoPickerAdoptionStudyChromePickerWithoutBrowse, |
| std::size(kPhotoPickerAdoptionStudyChromePickerWithoutBrowse), |
| nullptr}}; |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| // TODO(crbug.com/991082,1015377): Remove after proper support for back/forward |
| // cache is implemented. |
| const FeatureEntry::FeatureParam kBackForwardCache_ForceCaching[] = { |
| {"TimeToLiveInBackForwardCacheInSeconds", "300"}, |
| {"should_ignore_blocklists", "true"}}; |
| |
| const FeatureEntry::FeatureVariation kBackForwardCacheVariations[] = { |
| {"force caching all pages (experimental)", kBackForwardCache_ForceCaching, |
| std::size(kBackForwardCache_ForceCaching), nullptr}, |
| }; |
| |
| #if BUILDFLAG(IS_ANDROID) |
| const FeatureEntry::Choice kWebOtpBackendChoices[] = { |
| {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| {flag_descriptions::kWebOtpBackendSmsVerification, switches::kWebOtpBackend, |
| switches::kWebOtpBackendSmsVerification}, |
| {flag_descriptions::kWebOtpBackendUserConsent, switches::kWebOtpBackend, |
| switches::kWebOtpBackendUserConsent}, |
| {flag_descriptions::kWebOtpBackendAuto, switches::kWebOtpBackend, |
| switches::kWebOtpBackendAuto}, |
| }; |
| |
| const FeatureEntry::Choice kQueryTilesCountryChoices[] = { |
| {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| {flag_descriptions::kQueryTilesCountryCodeUS, |
| query_tiles::switches::kQueryTilesCountryCode, "US"}, |
| {flag_descriptions::kQueryTilesCountryCodeIndia, |
| query_tiles::switches::kQueryTilesCountryCode, "IN"}, |
| {flag_descriptions::kQueryTilesCountryCodeBrazil, |
| query_tiles::switches::kQueryTilesCountryCode, "BR"}, |
| {flag_descriptions::kQueryTilesCountryCodeNigeria, |
| query_tiles::switches::kQueryTilesCountryCode, "NG"}, |
| {flag_descriptions::kQueryTilesCountryCodeIndonesia, |
| query_tiles::switches::kQueryTilesCountryCode, "ID"}, |
| }; |
| |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| // The choices for --enable-experimental-cookie-features. This really should |
| // just be a SINGLE_VALUE_TYPE, but it is misleading to have the choices be |
| // labeled "Disabled"/"Enabled". So instead this is made to be a |
| // MULTI_VALUE_TYPE with choices "Default"/"Enabled". |
| const FeatureEntry::Choice kEnableExperimentalCookieFeaturesChoices[] = { |
| {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| {flags_ui::kGenericExperimentChoiceEnabled, |
| switches::kEnableExperimentalCookieFeatures, ""}, |
| }; |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| const FeatureEntry::Choice kFrameThrottleFpsChoices[] = { |
| {flag_descriptions::kFrameThrottleFpsDefault, "", ""}, |
| {flag_descriptions::kFrameThrottleFps5, ash::switches::kFrameThrottleFps, |
| "5"}, |
| {flag_descriptions::kFrameThrottleFps10, ash::switches::kFrameThrottleFps, |
| "10"}, |
| {flag_descriptions::kFrameThrottleFps15, ash::switches::kFrameThrottleFps, |
| "15"}, |
| {flag_descriptions::kFrameThrottleFps20, ash::switches::kFrameThrottleFps, |
| "20"}, |
| {flag_descriptions::kFrameThrottleFps25, ash::switches::kFrameThrottleFps, |
| "25"}, |
| {flag_descriptions::kFrameThrottleFps30, ash::switches::kFrameThrottleFps, |
| "30"}}; |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| const FeatureEntry::FeatureParam kDrawPredictedPointExperiment1Point12Ms[] = { |
| {"predicted_points", features::kDraw1Point12Ms}}; |
| const FeatureEntry::FeatureParam kDrawPredictedPointExperiment2Points6Ms[] = { |
| {"predicted_points", features::kDraw2Points6Ms}}; |
| const FeatureEntry::FeatureParam kDrawPredictedPointExperiment1Point6Ms[] = { |
| {"predicted_points", features::kDraw1Point6Ms}}; |
| const FeatureEntry::FeatureParam kDrawPredictedPointExperiment2Points3Ms[] = { |
| {"predicted_points", features::kDraw2Points3Ms}}; |
| |
| const FeatureEntry::FeatureVariation kDrawPredictedPointVariations[] = { |
| {flag_descriptions::kDraw1PredictedPoint12Ms, |
| kDrawPredictedPointExperiment1Point12Ms, |
| std::size(kDrawPredictedPointExperiment1Point12Ms), nullptr}, |
| {flag_descriptions::kDraw2PredictedPoints6Ms, |
| kDrawPredictedPointExperiment2Points6Ms, |
| std::size(kDrawPredictedPointExperiment2Points6Ms), nullptr}, |
| {flag_descriptions::kDraw1PredictedPoint6Ms, |
| kDrawPredictedPointExperiment1Point6Ms, |
| std::size(kDrawPredictedPointExperiment1Point6Ms), nullptr}, |
| {flag_descriptions::kDraw2PredictedPoints3Ms, |
| kDrawPredictedPointExperiment2Points3Ms, |
| std::size(kDrawPredictedPointExperiment2Points3Ms), nullptr}}; |
| |
| const FeatureEntry::FeatureParam kFedCmVariationIdpSignout[] = { |
| {features::kFedCmIdpSignoutFieldTrialParamName, "true"}}; |
| const FeatureEntry::FeatureParam kFedCmVariationIdpSigninStatus[] = { |
| {features::kFedCmIdpSigninStatusFieldTrialParamName, "true"}}; |
| const FeatureEntry::FeatureVariation kFedCmFeatureVariations[] = { |
| {"- with FedCM IDP sign-out", kFedCmVariationIdpSignout, |
| std::size(kFedCmVariationIdpSignout), nullptr}, |
| {"- with FedCM IDP sign-in status", kFedCmVariationIdpSigninStatus, |
| std::size(kFedCmVariationIdpSigninStatus), nullptr}, |
| }; |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| const FeatureEntry::Choice kForceControlFaceAeChoices[] = { |
| {"Default", "", ""}, |
| {"Enable", media::switches::kForceControlFaceAe, "enable"}, |
| {"Disable", media::switches::kForceControlFaceAe, "disable"}}; |
| |
| const FeatureEntry::Choice kAutoFramingOverrideChoices[] = { |
| {"Default", "", ""}, |
| {"Force enabled", media::switches::kAutoFramingOverride, |
| media::switches::kAutoFramingForceEnabled}, |
| {"Force disabled", media::switches::kAutoFramingOverride, |
| media::switches::kAutoFramingForceDisabled}}; |
| #endif |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| const FeatureEntry::Choice kCrostiniContainerChoices[] = { |
| {"Default", "", ""}, |
| {"Buster", crostini::kCrostiniContainerFlag, "buster"}, |
| {"Bullseye", crostini::kCrostiniContainerFlag, "bullseye"}, |
| }; |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| #if BUILDFLAG(IS_ANDROID) |
| // The variations of --metrics-settings-android. |
| const FeatureEntry::FeatureParam kMetricsSettingsAndroidAlternativeOne[] = { |
| {"fre", "1"}}; |
| |
| const FeatureEntry::FeatureParam kMetricsSettingsAndroidAlternativeTwo[] = { |
| {"fre", "2"}}; |
| |
| const FeatureEntry::FeatureVariation kMetricsSettingsAndroidVariations[] = { |
| {"Alternative FRE 1", kMetricsSettingsAndroidAlternativeOne, |
| std::size(kMetricsSettingsAndroidAlternativeOne), nullptr}, |
| {"Alternative FRE 2", kMetricsSettingsAndroidAlternativeTwo, |
| std::size(kMetricsSettingsAndroidAlternativeTwo), nullptr}, |
| }; |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| #if !BUILDFLAG(IS_ANDROID) |
| // SCT Auditing feature variations. |
| const FeatureEntry::FeatureParam kSCTAuditingSamplingRateNone[] = { |
| {"sampling_rate", "0.0"}}; |
| const FeatureEntry::FeatureParam kSCTAuditingSamplingRateAlternativeOne[] = { |
| {"sampling_rate", "0.0001"}}; |
| const FeatureEntry::FeatureParam kSCTAuditingSamplingRateAlternativeTwo[] = { |
| {"sampling_rate", "0.001"}}; |
| |
| const FeatureEntry::FeatureVariation kSCTAuditingVariations[] = { |
| {"Sampling rate 0%", kSCTAuditingSamplingRateNone, |
| std::size(kSCTAuditingSamplingRateNone), nullptr}, |
| {"Sampling rate 0.01%", kSCTAuditingSamplingRateAlternativeOne, |
| std::size(kSCTAuditingSamplingRateAlternativeOne), nullptr}, |
| {"Sampling rate 0.1%", kSCTAuditingSamplingRateAlternativeTwo, |
| std::size(kSCTAuditingSamplingRateAlternativeTwo), nullptr}, |
| }; |
| #endif // !BUILDFLAG(IS_ANDROID) |
| |
| #if BUILDFLAG(IS_ANDROID) |
| // The variations of ContentLanguagesInLanguagePicker. |
| const FeatureEntry::FeatureParam |
| kContentLanguagesInLanguagePickerDisableObservers[] = { |
| {language::kContentLanguagesDisableObserversParam, "true"}}; |
| |
| const FeatureEntry::FeatureVariation |
| kContentLanguagesInLanguaePickerVariations[] = { |
| {"Without observers", kContentLanguagesInLanguagePickerDisableObservers, |
| std::size(kContentLanguagesInLanguagePickerDisableObservers), nullptr}, |
| }; |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| const FeatureEntry::FeatureParam kProductivityLauncher_WithoutContinue[] = { |
| {"enable_continue", "false"}}; |
| |
| const FeatureEntry::FeatureVariation kProductivityLauncherVariations[] = { |
| {"without Continue", kProductivityLauncher_WithoutContinue, |
| std::size(kProductivityLauncher_WithoutContinue), nullptr}}; |
| |
| const FeatureEntry::FeatureParam kLauncherFuzzyMatchForOmnibox_WithCutoff[] = { |
| {"enable_cutoff", "true"}}; |
| |
| const FeatureEntry::FeatureParam kLauncherFuzzyMatchForOmnibox_WithRelevance[] = |
| {{"enable_relevance", "true"}}; |
| |
| const FeatureEntry::FeatureVariation kLauncherFuzzyMatchForOmniboxVariations[] = |
| {{"With cutoff", kLauncherFuzzyMatchForOmnibox_WithCutoff, |
| std::size(kLauncherFuzzyMatchForOmnibox_WithCutoff), nullptr}, |
| {"With relevance", kLauncherFuzzyMatchForOmnibox_WithRelevance, |
| std::size(kLauncherFuzzyMatchForOmnibox_WithRelevance), nullptr}}; |
| |
| const FeatureEntry::FeatureParam kLauncherItemSuggest_LongDelay10Mins[] = { |
| {"long_delay_minutes", "10"}}; |
| const FeatureEntry::FeatureParam kLauncherItemSuggest_LongDelay12Hours[] = { |
| {"long_delay_minutes", "720"}}; |
| const FeatureEntry::FeatureParam kLauncherItemSuggest_LongDelay24Hours[] = { |
| {"long_delay_minutes", "1440"}}; |
| const FeatureEntry::FeatureParam kLauncherItemSuggest_LongDelay36Hours[] = { |
| {"long_delay_minutes", "2160"}}; |
| const FeatureEntry::FeatureParam kLauncherItemSuggest_LongDelay48Hours[] = { |
| {"long_delay_minutes", "2880"}}; |
| const FeatureEntry::FeatureParam kLauncherItemSuggest_LongDelay60Hours[] = { |
| {"long_delay_minutes", "3600"}}; |
| const FeatureEntry::FeatureParam kLauncherItemSuggest_LongDelay72Hours[] = { |
| {"long_delay_minutes", "4320"}}; |
| |
| const FeatureEntry::FeatureVariation kLauncherItemSuggestVariations[] = { |
| {"with 10 minute long delay", kLauncherItemSuggest_LongDelay10Mins, |
| std::size(kLauncherItemSuggest_LongDelay10Mins), nullptr}, |
| {"with 12 hour long delay", kLauncherItemSuggest_LongDelay12Hours, |
| std::size(kLauncherItemSuggest_LongDelay12Hours), nullptr}, |
| {"with 24 hour long delay", kLauncherItemSuggest_LongDelay24Hours, |
| std::size(kLauncherItemSuggest_LongDelay24Hours), nullptr}, |
| {"with 36 hour long delay", kLauncherItemSuggest_LongDelay36Hours, |
| std::size(kLauncherItemSuggest_LongDelay36Hours), nullptr}, |
| {"with 48 hour long delay", kLauncherItemSuggest_LongDelay48Hours, |
| std::size(kLauncherItemSuggest_LongDelay48Hours), nullptr}, |
| {"with 60 hour long delay", kLauncherItemSuggest_LongDelay60Hours, |
| std::size(kLauncherItemSuggest_LongDelay60Hours), nullptr}, |
| {"with 72 hour long delay", kLauncherItemSuggest_LongDelay72Hours, |
| std::size(kLauncherItemSuggest_LongDelay72Hours), nullptr}}; |
| |
| const FeatureEntry::FeatureParam kEolIncentiveOffer[] = { |
| {"incentive_type", "offer"}}; |
| const FeatureEntry::FeatureParam kEolIncentiveNoOffer[] = { |
| {"incentive_type", "no_offer"}}; |
| |
| const FeatureEntry::FeatureVariation kEolIncentiveVariations[] = { |
| {"with offer", kEolIncentiveOffer, std::size(kEolIncentiveOffer), nullptr}, |
| {"with no offer", kEolIncentiveNoOffer, std::size(kEolIncentiveNoOffer), |
| nullptr}}; |
| |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| constexpr char kWallpaperFastRefreshInternalName[] = "wallpaper-fast-refresh"; |
| constexpr char kWallpaperGooglePhotosSharedAlbumsInternalName[] = |
| "wallpaper-google-photos-shared-albums"; |
| constexpr char kWallpaperPerDeskName[] = "per-desk-wallpaper"; |
| constexpr char kLibAssistantV2MigrationInternalName[] = |
| "cros-libassistant-v2-migration"; |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| constexpr char kBorealisBigGlInternalName[] = "borealis-big-gl"; |
| constexpr char kBorealisDiskManagementInternalName[] = |
| "borealis-disk-management"; |
| constexpr char kBorealisForceBetaClientInternalName[] = |
| "borealis-force-beta-client"; |
| constexpr char kBorealisForceDoubleScaleInternalName[] = |
| "borealis-force-double-scale"; |
| constexpr char kBorealisLinuxModeInternalName[] = "borealis-linux-mode"; |
| // This differs slightly from its symbol's name since "enabled" is used |
| // internally to refer to whether borealis is installed or not. |
| constexpr char kBorealisPermittedInternalName[] = "borealis-enabled"; |
| constexpr char kBorealisStorageBallooningInternalName[] = |
| "borealis-storage-ballooning"; |
| constexpr char kVmPerBootShaderCacheName[] = "vm-per-boot-shader-cache"; |
| constexpr char kClipboardHistoryLongpressInternalName[] = |
| "clipboard-history-longpress"; |
| constexpr char kClipboardHistoryReorderInternalName[] = |
| "clipboard-history-reorder"; |
| constexpr char kWelcomeScreenInternalName[] = "welcome-screen"; |
| constexpr char kBluetoothUseFlossInternalName[] = "bluetooth-use-floss"; |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| #if BUILDFLAG(IS_ANDROID) |
| const FeatureEntry::FeatureParam kBookmarksRefreshVisuals[] = { |
| {"bookmark_visuals_enabled", "true"}}; |
| const FeatureEntry::FeatureParam kBookmarksRefreshCompactVisuals[] = { |
| {"bookmark_visuals_enabled", "true"}, |
| {"bookmark_compact_visuals_enabled", "true"}}; |
| const FeatureEntry::FeatureParam kBookmarksRefreshAppMenu[] = { |
| {"bookmark_in_app_menu", "true"}}; |
| const FeatureEntry::FeatureParam kBookmarksRefreshNormal[] = { |
| {"bookmark_visuals_enabled", "true"}, |
| {"bookmark_in_app_menu", "true"}}; |
| const FeatureEntry::FeatureParam kBookmarksRefreshCompact[] = { |
| {"bookmark_visuals_enabled", "true"}, |
| {"bookmark_compact_visuals_enabled", "true"}, |
| {"bookmark_in_app_menu", "true"}}; |
| |
| const FeatureEntry::FeatureVariation kBookmarksRefreshVariations[] = { |
| {"(enabled w/ visuals)", kBookmarksRefreshNormal, |
| std::size(kBookmarksRefreshNormal), nullptr}, |
| {"(enabled w/ compact visuals)", kBookmarksRefreshCompact, |
| std::size(kBookmarksRefreshCompact), nullptr}, |
| {"(visuals only)", kBookmarksRefreshVisuals, |
| std::size(kBookmarksRefreshVisuals), nullptr}, |
| {"(compact visuals only)", kBookmarksRefreshCompactVisuals, |
| std::size(kBookmarksRefreshCompactVisuals), nullptr}, |
| {"(app menu item only)", kBookmarksRefreshAppMenu, |
| std::size(kBookmarksRefreshAppMenu), nullptr}}; |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| const FeatureEntry::FeatureParam kLargeFaviconFromGoogle96[] = { |
| {"favicon_size_in_dip", "96"}}; |
| const FeatureEntry::FeatureParam kLargeFaviconFromGoogle128[] = { |
| {"favicon_size_in_dip", "128"}}; |
| |
| const FeatureEntry::FeatureVariation kLargeFaviconFromGoogleVariations[] = { |
| {"(96dip)", kLargeFaviconFromGoogle96, std::size(kLargeFaviconFromGoogle96), |
| nullptr}, |
| {"(128dip)", kLargeFaviconFromGoogle128, |
| std::size(kLargeFaviconFromGoogle128), nullptr}}; |
| |
| #if BUILDFLAG(IS_ANDROID) |
| const FeatureEntry::FeatureParam kContentVisibilityDelay10[] = { |
| {"content_visibility_delay", "10"}}; |
| const FeatureEntry::FeatureParam kContentVisibilityDelay5[] = { |
| {"content_visibility_delay", "5"}}; |
| const FeatureEntry::FeatureVariation kFoldableJankFixDelayVariations[] = { |
| {"10ms delay", kContentVisibilityDelay10, |
| std::size(kContentVisibilityDelay10), nullptr}, |
| {"5ms delay", kContentVisibilityDelay5, std::size(kContentVisibilityDelay5), |
| nullptr}}; |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| #if BUILDFLAG(IS_ANDROID) |
| const FeatureEntry::FeatureParam kTabStripImprovementsTabWidthShort[] = { |
| {"min_tab_width", "108"}}; |
| const FeatureEntry::FeatureParam kTabStripImprovementsTabWidthMedium[] = { |
| {"min_tab_width", "156"}}; |
| |
| const FeatureEntry::FeatureVariation kTabStripImprovementsTabWidthVariations[] = |
| { |
| {"Short Tab Width", kTabStripImprovementsTabWidthShort, |
| std::size(kTabStripImprovementsTabWidthShort), nullptr}, |
| {"Medium Tab Width", kTabStripImprovementsTabWidthMedium, |
| std::size(kTabStripImprovementsTabWidthMedium), nullptr}, |
| }; |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| #if BUILDFLAG(IS_ANDROID) |
| const FeatureEntry::FeatureParam kTabStripRedesignFolio[] = { |
| {"enable_folio", "true"}}; |
| const FeatureEntry::FeatureParam kTabStripRedesignDetached[] = { |
| {"enable_detached", "true"}}; |
| |
| const FeatureEntry::FeatureVariation kTabStripRedesignVariations[] = { |
| {"Folio", kTabStripRedesignFolio, std::size(kTabStripRedesignFolio), |
| nullptr}, |
| {"Detached", kTabStripRedesignDetached, |
| std::size(kTabStripRedesignDetached), nullptr}, |
| }; |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| #if BUILDFLAG(IS_ANDROID) |
| constexpr FeatureEntry::FeatureParam kUpmAndroidShadowSyncingUsers[] = { |
| {password_manager::features::kUpmExperimentVariationParam.name, |
| password_manager::features::kUpmExperimentVariationOption[1].name}}; |
| constexpr FeatureEntry::FeatureParam kUpmAndroidEnableWithLegacyUi[] = { |
| {password_manager::features::kUpmExperimentVariationParam.name, |
| password_manager::features::kUpmExperimentVariationOption[2].name}}; |
| constexpr FeatureEntry::FeatureParam kUpmAndroidEnableForAllUsers[] = { |
| {password_manager::features::kUpmExperimentVariationParam.name, |
| password_manager::features::kUpmExperimentVariationOption[3].name}}; |
| |
| constexpr FeatureEntry::FeatureParam kUpmAndroidEnabledWithErrorHandling[] = { |
| {password_manager::features::kUpmExperimentVariationParam.name, |
| password_manager::features::kUpmExperimentVariationOption[0].name}, |
| // Handle auth errors with the corresponding UI if available. |
| // AUTH_ERROR_RESOLVABLE = 11005, AUTH_ERROR_UNRESOLVABLE = 11006. |
| {password_manager::features::kIgnoredGmsApiErrors.name, "11005,11006"}, |
| // Following errors are considered transitory |
| // NETWORK_ERROR = 7, API_NOT_CONNECTED = 17, |
| // CONNECTION_SUSPENDED_DURING_CALL = 20, RECONNECTION_TIMED_OUT = 22 |
| // will be retried for GetAllLogins and GetAutofillableLogins. |
| {password_manager::features::kRetriableGmsApiErrors.name, "7,17,20,22"}, |
| {password_manager::features::kFallbackOnModifyingOperations.name, "true"}, |
| {password_manager::features::kFallbackOnUserAffectingReadOperations.name, |
| "true"}, |
| {password_manager::features::kFallbackOnNonUserAffectingReadOperations.name, |
| "false"}, |
| {password_manager::features::kFallbackOnRemoveOperations.name, "false"}, |
| }; |
| |
| constexpr FeatureEntry::FeatureVariation |
| kUnifiedPasswordManagerAndroidVariations[] = { |
| // Skip kEnableForSyncingUsers which is the default Enabled param. |
| {"With default error lists", kUpmAndroidEnabledWithErrorHandling, |
| std::size(kUpmAndroidEnabledWithErrorHandling), nullptr}, |
| {"Shadow Traffic only", kUpmAndroidShadowSyncingUsers, |
| std::size(kUpmAndroidShadowSyncingUsers), nullptr}, |
| {"With Legacy UI", kUpmAndroidEnableWithLegacyUi, |
| std::size(kUpmAndroidEnableWithLegacyUi), nullptr}, |
| {"For All Users", kUpmAndroidEnableForAllUsers, |
| std::size(kUpmAndroidEnableForAllUsers), nullptr}, |
| }; |
| |
| constexpr FeatureEntry::FeatureParam kIgnoreUPMAuthErrorMessageTimeouts[] = { |
| {"ignore_auth_error_message_timeouts", "true"}}; |
| constexpr FeatureEntry::FeatureVariation |
| kUnifiedPasswordManagerErrorMessagesVariations[] = { |
| {"Ignore timeouts", kIgnoreUPMAuthErrorMessageTimeouts, |
| std::size(kIgnoreUPMAuthErrorMessageTimeouts), nullptr}}; |
| |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| const FeatureEntry::FeatureParam kUnthrottledNestedTimeout_NestingLevel = { |
| "nesting", "15"}; |
| |
| const FeatureEntry::FeatureVariation kUnthrottledNestedTimeout_Variations[] = { |
| {"15", &kUnthrottledNestedTimeout_NestingLevel, 1, nullptr}, |
| }; |
| |
| constexpr FeatureEntry::FeatureParam kLensFormatOptimizationJPEG[] = { |
| {"use-webp-image-search", "false"}, |
| {"use-webp-region-search", "false"}, |
| {"use-jpeg-region-search", "true"}}; |
| constexpr FeatureEntry::FeatureVariation kLensImageFormatVariations[] = { |
| {"use JPEG", kLensFormatOptimizationJPEG, |
| std::size(kLensFormatOptimizationJPEG), nullptr}, |
| }; |
| |
| #if BUILDFLAG(ENABLE_LENS_DESKTOP_GOOGLE_BRANDED_FEATURES) |
| constexpr FeatureEntry::FeatureParam kCscVariation[] = { |
| {"companion-homepage-url", |
| "https://lens-staging.corp.google.com/companion"}}; |
| |
| constexpr FeatureEntry::FeatureVariation kCscVariations[] = { |
| {"with staging URL", kCscVariation, std::size(kCscVariation), nullptr}}; |
| #endif // BUILDFLAG(ENABLE_LENS_DESKTOP_GOOGLE_BRANDED_FEATURES) |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| const FeatureEntry::Choice kAlwaysEnableHdcpChoices[] = { |
| {flag_descriptions::kAlwaysEnableHdcpDefault, "", ""}, |
| {flag_descriptions::kAlwaysEnableHdcpType0, |
| ash::switches::kAlwaysEnableHdcp, "type0"}, |
| {flag_descriptions::kAlwaysEnableHdcpType1, |
| ash::switches::kAlwaysEnableHdcp, "type1"}, |
| }; |
| |
| const FeatureEntry::Choice kPrintingPpdChannelChoices[] = { |
| {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| {ash::switches::kPrintingPpdChannelProduction, |
| ash::switches::kPrintingPpdChannel, |
| ash::switches::kPrintingPpdChannelProduction}, |
| {ash::switches::kPrintingPpdChannelStaging, |
| ash::switches::kPrintingPpdChannel, |
| ash::switches::kPrintingPpdChannelStaging}, |
| {ash::switches::kPrintingPpdChannelDev, ash::switches::kPrintingPpdChannel, |
| ash::switches::kPrintingPpdChannelDev}, |
| {ash::switches::kPrintingPpdChannelLocalhost, |
| ash::switches::kPrintingPpdChannel, |
| ash::switches::kPrintingPpdChannelLocalhost}}; |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| #if !BUILDFLAG(IS_ANDROID) |
| const FeatureEntry::FeatureParam kDesktopSharePreviewVariant16{ |
| "variant", share::kDesktopSharePreviewVariant16}; |
| const FeatureEntry::FeatureParam kDesktopSharePreviewVariant40{ |
| "variant", share::kDesktopSharePreviewVariant40}; |
| const FeatureEntry::FeatureParam kDesktopSharePreviewVariant72{ |
| "variant", share::kDesktopSharePreviewVariant72}; |
| |
| const FeatureEntry::FeatureVariation kDesktopSharePreviewVariations[] = { |
| {"16pt preview", &kDesktopSharePreviewVariant16, 1, nullptr}, |
| {"40pt preview", &kDesktopSharePreviewVariant40, 1, nullptr}, |
| {"72pt preview", &kDesktopSharePreviewVariant72, 1, nullptr}, |
| }; |
| #endif // !BUILDFLAG(IS_ANDROID) |
| |
| #if !BUILDFLAG(IS_CHROMEOS) |
| const FeatureEntry::FeatureParam kDmTokenDeletionParam[] = {{"forced", "true"}}; |
| const FeatureEntry::FeatureVariation kDmTokenDeletionVariation[] = { |
| {"(Forced)", kDmTokenDeletionParam, std::size(kDmTokenDeletionParam), |
| nullptr}}; |
| #endif // !BUILDFLAG(IS_CHROMEOS) |
| |
| // Feature variations for kIsolateSandboxedIframes. |
| #if !BUILDFLAG(IS_ANDROID) |
| // TODO(wjmaclean): Add FeatureParams for a per-frame grouping when support |
| // for it is added. |
| const FeatureEntry::FeatureParam kIsolateSandboxedIframesGroupingPerSite{ |
| "grouping", "per-site"}; |
| const FeatureEntry::FeatureParam kIsolateSandboxedIframesGroupingPerOrigin{ |
| "grouping", "per-origin"}; |
| const FeatureEntry::FeatureParam kIsolateSandboxedIframesGroupingPerDocument{ |
| "grouping", "per-document"}; |
| const FeatureEntry::FeatureVariation |
| kIsolateSandboxedIframesGroupingVariations[] = { |
| {"with grouping by URL's site", |
| &kIsolateSandboxedIframesGroupingPerSite, 1, nullptr}, |
| {"with grouping by URL's origin", |
| &kIsolateSandboxedIframesGroupingPerOrigin, 1, nullptr}, |
| {"with each sandboxed frame document in its own process", |
| &kIsolateSandboxedIframesGroupingPerDocument, 1, nullptr}, |
| }; |
| #endif // !BUILDFLAG(IS_ANDROID) |
| |
| const FeatureEntry::FeatureParam |
| kServiceWorkerSkipIgnorableFetchHandler_NotSkip[] = { |
| {"SkipEmptyFetchHandler", "false"}}; |
| const FeatureEntry::FeatureParam |
| kServiceWorkerSkipIgnorableFetchHandler_SkipEmpty[] = { |
| {"SkipEmptyFetchHandler", "true"}}; |
| const FeatureEntry::FeatureVariation |
| kServiceWorkerSkipIgnorableFetchHandlerVariations[] = { |
| {"Not Skip", kServiceWorkerSkipIgnorableFetchHandler_NotSkip, |
| std::size(kServiceWorkerSkipIgnorableFetchHandler_NotSkip), nullptr}, |
| {"Skip Empty", kServiceWorkerSkipIgnorableFetchHandler_SkipEmpty, |
| std::size(kServiceWorkerSkipIgnorableFetchHandler_SkipEmpty), nullptr}, |
| }; |
| |
| #if !BUILDFLAG(IS_ANDROID) |
| const FeatureEntry::FeatureParam kHighEfficiencyModeAvailable5Seconds[] = { |
| {"time_before_discard", "5s"}}; |
| const FeatureEntry::FeatureParam kHighEfficiencyModeAvailable30Seconds[] = { |
| {"time_before_discard", "30s"}}; |
| const FeatureEntry::FeatureParam kHighEfficiencyModeAvailable2Minutes[] = { |
| {"time_before_discard", "2m"}}; |
| const FeatureEntry::FeatureParam kHighEfficiencyModeAvailable1Hour[] = { |
| {"time_before_discard", "1h"}}; |
| const FeatureEntry::FeatureParam kHighEfficiencyModeAvailable4Hour[] = { |
| {"time_before_discard", "4h"}}; |
| const FeatureEntry::FeatureParam kHighEfficiencyModeAvailable6Hour[] = { |
| {"time_before_discard", "6h"}}; |
| const FeatureEntry::FeatureParam kHighEfficiencyModeAvailable12Hour[] = { |
| {"time_before_discard", "12h"}}; |
| const FeatureEntry::FeatureParam kHighEfficiencyModeDefaultOn[] = { |
| {"default_state", "true"}}; |
| const FeatureEntry::FeatureParam kHighEfficiencyModeDefaultOnAnd30Seconds[] = { |
| {"default_state", "true"}, |
| {"time_before_discard", "30s"}}; |
| const FeatureEntry::FeatureVariation kHighEfficiencyModeAvailableVariations[] = |
| { |
| {"With 5 Second Discard", kHighEfficiencyModeAvailable5Seconds, |
| std::size(kHighEfficiencyModeAvailable5Seconds), nullptr}, |
| {"With 30 Second Discard", kHighEfficiencyModeAvailable30Seconds, |
| std::size(kHighEfficiencyModeAvailable30Seconds), nullptr}, |
| {"With 2 Minute Discard", kHighEfficiencyModeAvailable2Minutes, |
| std::size(kHighEfficiencyModeAvailable2Minutes), nullptr}, |
| {"With 1 Hour Discard", kHighEfficiencyModeAvailable1Hour, |
| std::size(kHighEfficiencyModeAvailable1Hour), nullptr}, |
| {"With 4 Hour Discard", kHighEfficiencyModeAvailable4Hour, |
| std::size(kHighEfficiencyModeAvailable4Hour), nullptr}, |
| {"With 6 Hour Discard", kHighEfficiencyModeAvailable6Hour, |
| std::size(kHighEfficiencyModeAvailable6Hour), nullptr}, |
| {"With 12 Hour Discard", kHighEfficiencyModeAvailable12Hour, |
| std::size(kHighEfficiencyModeAvailable12Hour), nullptr}, |
| {"With Default On", kHighEfficiencyModeDefaultOn, |
| std::size(kHighEfficiencyModeDefaultOn), nullptr}, |
| {"With Default On and 30 Second Discard", |
| kHighEfficiencyModeDefaultOnAnd30Seconds, |
| std::size(kHighEfficiencyModeDefaultOnAnd30Seconds), nullptr}, |
| }; |
| |
| const FeatureEntry::FeatureParam kHeuristicMemorySaverAggressive[] = { |
| {"threshold_percent", "30"}, |
| {"minimum_minutes_in_background", "30"}}; |
| const FeatureEntry::FeatureParam kHeuristicMemorySaverBalanced[] = { |
| {"threshold_percent", "15"}, |
| {"minimum_minutes_in_background", "60"}}; |
| const FeatureEntry::FeatureParam kHeuristicMemorySaverConservative[] = { |
| {"threshold_percent", "5"}, |
| {"minimum_minutes_in_background", "120"}}; |
| const FeatureEntry::FeatureVariation kHeuristicMemorySaverVariations[] = { |
| {"Aggressive", kHeuristicMemorySaverAggressive, |
| std::size(kHeuristicMemorySaverAggressive), nullptr}, |
| {"Balanced", kHeuristicMemorySaverBalanced, |
| std::size(kHeuristicMemorySaverBalanced), nullptr}, |
| {"Conservative", kHeuristicMemorySaverConservative, |
| std::size(kHeuristicMemorySaverConservative), nullptr}, |
| }; |
| #endif // !BUILDFLAG(IS_ANDROID) |
| |
| #if BUILDFLAG(IS_ANDROID) |
| const FeatureEntry::FeatureParam |
| kBindingManagerConnectionLimit_10_connections[] = { |
| {"max_connections", "10"}}; |
| const FeatureEntry::FeatureParam |
| kBindingManagerConnectionLimit_20_connections[] = { |
| {"max_connections", "20"}}; |
| const FeatureEntry::FeatureParam |
| kBindingManagerConnectionLimit_40_connections[] = { |
| {"max_connections", "40"}}; |
| const FeatureEntry::FeatureVariation |
| kBindingManagerConnectionLimitVariations[] = { |
| {"- 10 connections", kBindingManagerConnectionLimit_10_connections, |
| std::size(kBindingManagerConnectionLimit_10_connections), nullptr}, |
| {"- 20 connections", kBindingManagerConnectionLimit_20_connections, |
| std::size(kBindingManagerConnectionLimit_20_connections), nullptr}, |
| {"- 40 connections", kBindingManagerConnectionLimit_40_connections, |
| std::size(kBindingManagerConnectionLimit_40_connections), nullptr}, |
| }; |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| #if BUILDFLAG(IS_ANDROID) |
| const FeatureEntry::FeatureParam kTabSelectionEditorV2_share_enabled[] = { |
| {"enable_share", "true"}}; |
| const FeatureEntry::FeatureParam kTabSelectionEditorV2_bookmarks_enabled[] = { |
| {"enable_bookmarks", "true"}}; |
| const FeatureEntry::FeatureParam kTabSelectionEditorV2_longpress_enabled[] = { |
| {"enable_longpress_entrypoint", "true"}}; |
| const FeatureEntry::FeatureParam |
| kTabSelectionEditorV2_share_bookmarks_and_longpress_enabled[] = { |
| {"enable_share", "true"}, |
| {"enable_bookmarks", "true"}, |
| {"enable_longpress_entrypoint", "true"}, |
| }; |
| const FeatureEntry::FeatureVariation kTabSelectionEditorV2Variations[] = { |
| {"- with share", kTabSelectionEditorV2_share_enabled, |
| std::size(kTabSelectionEditorV2_share_enabled), nullptr}, |
| {"- with bookmarks", kTabSelectionEditorV2_bookmarks_enabled, |
| std::size(kTabSelectionEditorV2_bookmarks_enabled), nullptr}, |
| {"- with longpress", kTabSelectionEditorV2_longpress_enabled, |
| std::size(kTabSelectionEditorV2_longpress_enabled), nullptr}, |
| {"- with share, bookmarks and longpress", |
| kTabSelectionEditorV2_share_bookmarks_and_longpress_enabled, |
| std::size(kTabSelectionEditorV2_share_bookmarks_and_longpress_enabled), |
| nullptr}, |
| }; |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| const FeatureEntry::FeatureParam kPasswordNotesAuthValidity1m[] = { |
| {"authentication_validity_duration", "1m"}}; |
| const FeatureEntry::FeatureParam kPasswordNotesAuthValidity5m[] = { |
| {"authentication_validity_duration", "5m"}}; |
| const FeatureEntry::FeatureVariation kPasswordNotesAuthValidityVariations[] = { |
| {"- Authentication expires after 1 minute of inactivity", |
| kPasswordNotesAuthValidity1m, std::size(kPasswordNotesAuthValidity1m), |
| nullptr}, |
| {"- Authentication expires after 5 minutes of inactivity", |
| kPasswordNotesAuthValidity5m, std::size(kPasswordNotesAuthValidity5m), |
| nullptr}, |
| }; |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| const FeatureEntry::FeatureParam kGalleryAppPdfEditNotificationEditAndSign[] = { |
| {"text", "Edit and Sign"}}; |
| const FeatureEntry::FeatureParam |
| kGalleryAppPdfEditNotificationOpenWithGalleryApp[] = { |
| {"text", "Open with Gallery app"}}; |
| const FeatureEntry::FeatureVariation |
| kGalleryAppPdfEditNotificationVariations[] = { |
| {"Edit and Sign", kGalleryAppPdfEditNotificationEditAndSign, |
| std::size(kGalleryAppPdfEditNotificationEditAndSign), nullptr}, |
| {"Open with Gallery app", |
| kGalleryAppPdfEditNotificationOpenWithGalleryApp, |
| std::size(kGalleryAppPdfEditNotificationOpenWithGalleryApp), nullptr}}; |
| #endif |
| |
| constexpr FeatureEntry::FeatureParam |
| kPasswordStrengthIndicatorMinimizedVariation[] = { |
| {password_manager::features:: |
| kPasswordStrengthIndicatorWithMinimizedState.name, |
| "true"}}; |
| |
| constexpr FeatureEntry::FeatureVariation |
| kPasswordStrengthIndicatorVariations[] = { |
| {" with minimized state", kPasswordStrengthIndicatorMinimizedVariation, |
| std::size(kPasswordStrengthIndicatorMinimizedVariation), nullptr}}; |
| |
| #if !BUILDFLAG(IS_ANDROID) |
| const FeatureEntry::FeatureParam kOsIntegrationSubManagersWriteConfig[] = { |
| {"stage", "write_config"}}; |
| const FeatureEntry::FeatureParam |
| kOsIntegrationSubManagersExecuteAndWriteConfig[] = { |
| {"stage", "execute_and_write_config"}}; |
| |
| const FeatureEntry::FeatureVariation |
| kOsIntegrationSubManagersConfigVariations[] = { |
| {"Write Config only", kOsIntegrationSubManagersWriteConfig, |
| std::size(kOsIntegrationSubManagersWriteConfig), nullptr}, |
| {"Execute and Write Config", |
| kOsIntegrationSubManagersExecuteAndWriteConfig, |
| std::size(kOsIntegrationSubManagersExecuteAndWriteConfig), nullptr}}; |
| #endif // !BUILDFLAG(IS_ANDROID) |
| |
| const FeatureEntry::FeatureParam kWebRtcApmDownmixMethodAverage[] = { |
| {"method", "average"}}; |
| const FeatureEntry::FeatureParam kWebRtcApmDownmixMethodFirstChannel[] = { |
| {"method", "first"}}; |
| const FeatureEntry::FeatureVariation kWebRtcApmDownmixMethodVariations[] = { |
| {"- Average all the input channels", kWebRtcApmDownmixMethodAverage, |
| std::size(kWebRtcApmDownmixMethodAverage), nullptr}, |
| {"- Use first channel", kWebRtcApmDownmixMethodFirstChannel, |
| std::size(kWebRtcApmDownmixMethodFirstChannel), nullptr}}; |
| |
| #if !BUILDFLAG(IS_ANDROID) |
| const FeatureEntry::FeatureParam |
| kSafetyCheckUnusedSitePermissionsNoDelayParam[] = { |
| {"unused-site-permissions-no-delay-for-testing", "true"}}; |
| |
| const FeatureEntry::FeatureParam |
| kSafetyCheckUnusedSitePermissionsWithDelayParam[] = { |
| {"unused-site-permissions-with-delay-for-testing", "true"}}; |
| |
| const FeatureEntry::FeatureVariation |
| kSafetyCheckUnusedSitePermissionsVariations[] = { |
| {"for testing no delay", kSafetyCheckUnusedSitePermissionsNoDelayParam, |
| std::size(kSafetyCheckUnusedSitePermissionsNoDelayParam), nullptr}, |
| {"for testing with delay", |
| kSafetyCheckUnusedSitePermissionsWithDelayParam, |
| std::size(kSafetyCheckUnusedSitePermissionsWithDelayParam), nullptr}, |
| }; |
| #endif |
| |
| const FeatureEntry::FeatureParam |
| kPrivacySandboxSettings4ShowSampleDataForTesting[] = { |
| {privacy_sandbox::kPrivacySandboxSettings4ShowSampleDataForTestingName, |
| "true"}}; |
| const FeatureEntry::FeatureParam kPrivacySandboxSettings4NoticeRequired[] = { |
| {privacy_sandbox::kPrivacySandboxSettings4NoticeRequiredName, "true"}}; |
| const FeatureEntry::FeatureParam kPrivacySandboxSettings4ConsentRequired[] = { |
| {privacy_sandbox::kPrivacySandboxSettings4ConsentRequiredName, "true"}}; |
| const FeatureEntry::FeatureParam |
| kPrivacySandboxSettings4ForceShowConsentForTesting[] = { |
| {privacy_sandbox:: |
| kPrivacySandboxSettings4ForceShowConsentForTestingName, |
| "true"}, |
| {privacy_sandbox::kPrivacySandboxSettings4ConsentRequiredName, "true"}}; |
| const FeatureEntry::FeatureParam |
| kPrivacySandboxSettings4ForceShowROWNoticeForTesting[] = { |
| {privacy_sandbox:: |
| kPrivacySandboxSettings4ForceShowNoticeRowForTestingName, |
| "true"}, |
| {privacy_sandbox::kPrivacySandboxSettings4NoticeRequiredName, "true"}}; |
| const FeatureEntry::FeatureParam |
| kPrivacySandboxSettings4ForceShowEEANoticeForTesting[] = { |
| {privacy_sandbox:: |
| kPrivacySandboxSettings4ForceShowNoticeEeaForTestingName, |
| "true"}, |
| {privacy_sandbox::kPrivacySandboxSettings4ConsentRequiredName, "true"}}; |
| |
| const FeatureEntry::FeatureVariation kPrivacySandboxSettings4Variations[] = { |
| {"Sample Data", kPrivacySandboxSettings4ShowSampleDataForTesting, |
| std::size(kPrivacySandboxSettings4ShowSampleDataForTesting), nullptr}, |
| {"Notice Required", kPrivacySandboxSettings4NoticeRequired, |
| std::size(kPrivacySandboxSettings4NoticeRequired), nullptr}, |
| {"Consent Required", kPrivacySandboxSettings4ConsentRequired, |
| std::size(kPrivacySandboxSettings4ConsentRequired), nullptr}, |
| {"Force show consent", kPrivacySandboxSettings4ForceShowConsentForTesting, |
| std::size(kPrivacySandboxSettings4ForceShowConsentForTesting), nullptr}, |
| {"Force show ROW notice", |
| kPrivacySandboxSettings4ForceShowROWNoticeForTesting, |
| std::size(kPrivacySandboxSettings4ForceShowROWNoticeForTesting), nullptr}, |
| {"Force show EEA notice", |
| kPrivacySandboxSettings4ForceShowEEANoticeForTesting, |
| std::size(kPrivacySandboxSettings4ForceShowEEANoticeForTesting), nullptr}, |
| }; |
| |
| #if BUILDFLAG(ENABLE_EXTENSIONS) |
| const FeatureEntry::FeatureParam kWebAuthFlowInNewTab[] = { |
| {"browser_tab_mode", "new_tab"}}; |
| const FeatureEntry::FeatureParam kWebAuthFlowInPopupWindow[] = { |
| {"browser_tab_mode", "popup_window"}}; |
| |
| const FeatureEntry::FeatureVariation kWebAuthFlowInBrowserTabVariations[]{ |
| {"WebAuthFlow in New Tab", kWebAuthFlowInNewTab, |
| std::size(kWebAuthFlowInNewTab), nullptr}, |
| {"WebAuthFlow in Popup Window", kWebAuthFlowInPopupWindow, |
| std::size(kWebAuthFlowInPopupWindow), nullptr}, |
| }; |
| #endif // BUILDFLAG(ENABLE_EXTENSIONS) |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| const FeatureEntry::FeatureParam kVcSegmentationModelHighResolution[] = { |
| {"segmentation_model", "high_resolution"}, |
| }; |
| |
| const FeatureEntry::FeatureParam kVcSegmentationModelLowerResolution[] = { |
| {"segmentation_model", "lower_resolution"}, |
| }; |
| |
| const FeatureEntry::FeatureVariation kVcSegmentationModelVariations[] = { |
| {"High resolution model", kVcSegmentationModelHighResolution, |
| std::size(kVcSegmentationModelHighResolution), nullptr}, |
| {"Lower resolution model", kVcSegmentationModelLowerResolution, |
| std::size(kVcSegmentationModelLowerResolution), nullptr}, |
| }; |
| #endif // BUILDFLAG(IS_CHROME_ASH) |
| |
| // 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 |
| // "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[] = { |
| // Include generated flags for flag unexpiry; see //docs/flag_expiry.md and |
| // //tools/flags/generate_unexpire_flags.py. |
| #include "build/chromeos_buildflags.h" |
| #include "chrome/browser/unexpire_flags_gen.inc" |
| {variations::switches::kEnableBenchmarking, |
| flag_descriptions::kEnableBenchmarkingName, |
| flag_descriptions::kEnableBenchmarkingDescription, kOsAll, |
| SINGLE_VALUE_TYPE(variations::switches::kEnableBenchmarking)}, |
| {"ignore-gpu-blocklist", flag_descriptions::kIgnoreGpuBlocklistName, |
| flag_descriptions::kIgnoreGpuBlocklistDescription, kOsAll, |
| SINGLE_VALUE_TYPE(switches::kIgnoreGpuBlocklist)}, |
| {"disable-accelerated-2d-canvas", |
| flag_descriptions::kAccelerated2dCanvasName, |
| flag_descriptions::kAccelerated2dCanvasDescription, kOsAll, |
| SINGLE_DISABLE_VALUE_TYPE(switches::kDisableAccelerated2dCanvas)}, |
| {"overlay-strategies", flag_descriptions::kOverlayStrategiesName, |
| flag_descriptions::kOverlayStrategiesDescription, kOsAll, |
| MULTI_VALUE_TYPE(kOverlayStrategiesChoices)}, |
| {"tint-composited-content", flag_descriptions::kTintCompositedContentName, |
| flag_descriptions::kTintCompositedContentDescription, kOsAll, |
| SINGLE_VALUE_TYPE(switches::kTintCompositedContent)}, |
| {"show-overdraw-feedback", flag_descriptions::kShowOverdrawFeedbackName, |
| flag_descriptions::kShowOverdrawFeedbackDescription, kOsAll, |
| SINGLE_VALUE_TYPE(switches::kShowOverdrawFeedback)}, |
| {"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 !BUILDFLAG(IS_ANDROID) |
| {"enable-reader-mode", flag_descriptions::kEnableReaderModeName, |
| flag_descriptions::kEnableReaderModeDescription, kOsDesktop, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(dom_distiller::kReaderMode, |
| kReaderModeDiscoverabilityVariations, |
| "ReaderMode")}, |
| #endif // !BUILDFLAG(IS_ANDROID) |
| #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 BUILDFLAG(IS_CHROMEOS_ASH) |
| {"enable-lacros-in-chrome-kiosk", |
| flag_descriptions::kChromeKioskEnableLacrosName, |
| flag_descriptions::kChromeKioskEnableLacrosDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(features::kChromeKioskEnableLacros)}, |
| {"enable-lacros-in-web-kiosk", flag_descriptions::kWebKioskEnableLacrosName, |
| flag_descriptions::kWebKioskEnableLacrosDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(features::kWebKioskEnableLacros)}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| #if BUILDFLAG(IS_CHROMEOS) |
| {"enable-app-service-in-kiosk", |
| flag_descriptions::kKioskEnableAppServiceName, |
| flag_descriptions::kKioskEnableAppServiceDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(features::kKioskEnableAppService)}, |
| #endif // BUILDFLAG(IS_CHROMEOS) |
| #if !BUILDFLAG(IS_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-allow-input-volume-adjustment", |
| flag_descriptions::kWebRtcAllowInputVolumeAdjustmentName, |
| flag_descriptions::kWebRtcAllowInputVolumeAdjustmentDescription, |
| kOsWin | kOsMac | kOsLinux, |
| FEATURE_VALUE_TYPE(features::kWebRtcAllowInputVolumeAdjustment)}, |
| {"enable-webrtc-apm-downmix-capture-audio-method", |
| flag_descriptions::kWebRtcApmDownmixCaptureAudioMethodName, |
| flag_descriptions::kWebRtcApmDownmixCaptureAudioMethodDescription, |
| kOsDesktop, |
| FEATURE_WITH_PARAMS_VALUE_TYPE( |
| features::kWebRtcApmDownmixCaptureAudioMethod, |
| kWebRtcApmDownmixMethodVariations, |
| "WebRtcApmDownmixCaptureAudioMethod")}, |
| {"enable-webrtc-hide-local-ips-with-mdns", |
| flag_descriptions::kWebrtcHideLocalIpsWithMdnsName, |
| flag_descriptions::kWebrtcHideLocalIpsWithMdnsDecription, kOsDesktop, |
| FEATURE_VALUE_TYPE(blink::features::kWebRtcHideLocalIpsWithMdns)}, |
| {"enable-webrtc-use-min-max-vea-dimensions", |
| flag_descriptions::kWebrtcUseMinMaxVEADimensionsName, |
| flag_descriptions::kWebrtcUseMinMaxVEADimensionsDescription, kOsAll, |
| FEATURE_VALUE_TYPE(blink::features::kWebRtcUseMinMaxVEADimensions)}, |
| #if BUILDFLAG(ENABLE_NACL) |
| {"enable-nacl", flag_descriptions::kNaclName, |
| flag_descriptions::kNaclDescription, kOsAll, |
| SINGLE_VALUE_TYPE(switches::kEnableNaCl)}, |
| {"verbose-logging-in-nacl", flag_descriptions::kVerboseLoggingInNaclName, |
| flag_descriptions::kVerboseLoggingInNaclDescription, kOsAll, |
| MULTI_VALUE_TYPE(kVerboseLoggingInNaclChoices)}, |
| #endif // ENABLE_NACL |
| #if BUILDFLAG(ENABLE_CARDBOARD) |
| {"enable-cardboard", flag_descriptions::kEnableCardboardName, |
| flag_descriptions::kEnableCardboardDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(device::features::kEnableCardboard)}, |
| #endif // ENABLE_CARDBOARD |
| #if BUILDFLAG(ENABLE_EXTENSIONS) |
| {"extensions-on-chrome-urls", |
| flag_descriptions::kExtensionsOnChromeUrlsName, |
| flag_descriptions::kExtensionsOnChromeUrlsDescription, kOsAll, |
| SINGLE_VALUE_TYPE(extensions::switches::kExtensionsOnChromeURLs)}, |
| #endif // ENABLE_EXTENSIONS |
| #if BUILDFLAG(IS_ANDROID) |
| {"contextual-search-force-caption", |
| flag_descriptions::kContextualSearchForceCaptionName, |
| flag_descriptions::kContextualSearchForceCaptionDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(chrome::android::kContextualSearchForceCaption)}, |
| {"contextual-search-suppress-short-view", |
| flag_descriptions::kContextualSearchSuppressShortViewName, |
| flag_descriptions::kContextualSearchSuppressShortViewDescription, |
| kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE( |
| chrome::android::kContextualSearchSuppressShortView, |
| kContextualSearchSuppressShortViewVariations, |
| "ContextualSearchSuppressShortView")}, |
| {"related-searches", flag_descriptions::kRelatedSearchesName, |
| flag_descriptions::kRelatedSearchesDescription, kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(chrome::android::kRelatedSearches, |
| kRelatedSearchesVariations, |
| "RelatedSearches")}, |
| #endif // BUILDFLAG(IS_ANDROID) |
| {"show-autofill-type-predictions", |
| flag_descriptions::kShowAutofillTypePredictionsName, |
| flag_descriptions::kShowAutofillTypePredictionsDescription, kOsAll, |
| FEATURE_VALUE_TYPE( |
| autofill::features::test::kAutofillShowTypePredictions)}, |
| {"autofill-more-prominent-popup", |
| flag_descriptions::kAutofillMoreProminentPopupName, |
| flag_descriptions::kAutofillMoreProminentPopupDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(autofill::features::kAutofillMoreProminentPopup)}, |
| {"smooth-scrolling", flag_descriptions::kSmoothScrollingName, |
| flag_descriptions::kSmoothScrollingDescription, |
| // Mac has a separate implementation with its own setting to disable. |
| kOsLinux | kOsLacros | kOsCrOS | kOsWin | kOsAndroid | kOsFuchsia, |
| ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSmoothScrolling, |
| switches::kDisableSmoothScrolling)}, |
| {"fractional-scroll-offsets", |
| flag_descriptions::kFractionalScrollOffsetsName, |
| flag_descriptions::kFractionalScrollOffsetsDescription, kOsAll, |
| FEATURE_VALUE_TYPE(features::kFractionalScrollOffsets)}, |
| #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)}, |
| #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-javascript-experimental-shared-memory", |
| flag_descriptions::kJavascriptExperimentalSharedMemoryName, |
| flag_descriptions::kJavascriptExperimentalSharedMemoryDescription, kOsAll, |
| FEATURE_VALUE_TYPE(features::kJavaScriptExperimentalSharedMemory)}, |
| {"enable-experimental-webassembly-features", |
| flag_descriptions::kExperimentalWebAssemblyFeaturesName, |
| flag_descriptions::kExperimentalWebAssemblyFeaturesDescription, kOsAll, |
| SINGLE_VALUE_TYPE(switches::kEnableExperimentalWebAssemblyFeatures)}, |
| #if defined(ARCH_CPU_X86_64) || defined(ARCH_CPU_ARM64) |
| {"enable-experimental-webassembly-stack-switching", |
| flag_descriptions::kExperimentalWebAssemblyJSPIName, |
| flag_descriptions::kExperimentalWebAssemblyJSPIDescription, kOsAll, |
| FEATURE_VALUE_TYPE(features::kEnableExperimentalWebAssemblyJSPI)}, |
| #endif // defined(ARCH_CPU_X86_64) || defined(ARCH_CPU_ARM64) |
| {"enable-webassembly-baseline", flag_descriptions::kEnableWasmBaselineName, |
| flag_descriptions::kEnableWasmBaselineDescription, kOsAll, |
| FEATURE_VALUE_TYPE(features::kWebAssemblyBaseline)}, |
| {"enable-webassembly-garbage-collection", |
| flag_descriptions::kEnableWasmGarbageCollectionName, |
| flag_descriptions::kEnableWasmGarbageCollectionDescription, kOsAll, |
| FEATURE_VALUE_TYPE(features::kWebAssemblyGarbageCollection)}, |
| {"enable-webassembly-lazy-compilation", |
| flag_descriptions::kEnableWasmLazyCompilationName, |
| flag_descriptions::kEnableWasmLazyCompilationDescription, kOsAll, |
| FEATURE_VALUE_TYPE(features::kWebAssemblyLazyCompilation)}, |
| {"enable-webassembly-relaxed-simd", |
| flag_descriptions::kEnableWasmRelaxedSimdName, |
| flag_descriptions::kEnableWasmRelaxedSimdDescription, kOsAll, |
| FEATURE_VALUE_TYPE(features::kWebAssemblyRelaxedSimd)}, |
| {"enable-webassembly-stringref", |
| flag_descriptions::kEnableWasmStringrefName, |
| flag_descriptions::kEnableWasmStringrefDescription, kOsAll, |
| FEATURE_VALUE_TYPE(features::kWebAssemblyStringref)}, |
| {"enable-webassembly-tiering", flag_descriptions::kEnableWasmTieringName, |
| flag_descriptions::kEnableWasmTieringDescription, kOsAll, |
| FEATURE_VALUE_TYPE(features::kWebAssemblyTiering)}, |
| {"enable-future-v8-vm-features", flag_descriptions::kV8VmFutureName, |
| flag_descriptions::kV8VmFutureDescription, kOsAll, |
| FEATURE_VALUE_TYPE(features::kV8VmFuture)}, |
| {"enable-gpu-rasterization", flag_descriptions::kGpuRasterizationName, |
| flag_descriptions::kGpuRasterizationDescription, kOsAll, |
| MULTI_VALUE_TYPE(kEnableGpuRasterizationChoices)}, |
| {"enable-experimental-web-platform-features", |
| flag_descriptions::kExperimentalWebPlatformFeaturesName, |
| flag_descriptions::kExperimentalWebPlatformFeaturesDescription, kOsAll, |
| SINGLE_VALUE_TYPE(switches::kEnableExperimentalWebPlatformFeatures)}, |
| {"top-chrome-touch-ui", flag_descriptions::kTopChromeTouchUiName, |
| flag_descriptions::kTopChromeTouchUiDescription, kOsDesktop, |
| MULTI_VALUE_TYPE(kTopChromeTouchUiChoices)}, |
| #if BUILDFLAG(ENABLE_WEBUI_TAB_STRIP) |
| {flag_descriptions::kWebUITabStripFlagId, |
| flag_descriptions::kWebUITabStripName, |
| flag_descriptions::kWebUITabStripDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(features::kWebUITabStrip)}, |
| {"webui-tab-strip-context-menu-after-tap", |
| flag_descriptions::kWebUITabStripContextMenuAfterTapName, |
| flag_descriptions::kWebUITabStripContextMenuAfterTapDescription, |
| kOsDesktop, |
| FEATURE_VALUE_TYPE(features::kWebUITabStripContextMenuAfterTap)}, |
| #endif // BUILDFLAG(ENABLE_WEBUI_TAB_STRIP) |
| #if BUILDFLAG(ENABLE_WEBUI_TAB_STRIP) && BUILDFLAG(IS_CHROMEOS_ASH) |
| { |
| "webui-tab-strip-tab-drag-integration", |
| flag_descriptions::kWebUITabStripTabDragIntegrationName, |
| flag_descriptions::kWebUITabStripTabDragIntegrationDescription, |
| kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kWebUITabStripTabDragIntegration), |
| }, |
| #endif // BUILDFLAG(ENABLE_WEBUI_TAB_STRIP) && BUILDFLAG(IS_CHROMEOS_ASH) |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"allow-eap-default-cas-without-subject-verification", |
| flag_descriptions::kAllowEapDefaultCasWithoutSubjectVerificationName, |
| flag_descriptions:: |
| kAllowEapDefaultCasWithoutSubjectVerificationDescription, |
| kOsCrOS, |
| FEATURE_VALUE_TYPE( |
| ash::features::kAllowEapDefaultCasWithoutSubjectVerification)}, |
| {"apn-revamp", flag_descriptions::kApnRevampName, |
| flag_descriptions::kApnRevampDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kApnRevamp)}, |
| {"audio-ap-noise-cancellation", |
| flag_descriptions::kAudioAPNoiseCancellationName, |
| flag_descriptions::kAudioAPNoiseCancellationDescription, kOsCrOS, |
| PLATFORM_FEATURE_NAME_TYPE("CrOSLateBootAudioAPNoiseCancellation")}, |
| {"audio-flexible-loopback", flag_descriptions::kAudioFlexibleLoopbackName, |
| flag_descriptions::kAudioFlexibleLoopbackDescription, kOsCrOS, |
| PLATFORM_FEATURE_NAME_TYPE("CrOSLateBootAudioFlexibleLoopback")}, |
| {"audio-hfp-mic-sr", flag_descriptions::kAudioHFPMicSRName, |
| flag_descriptions::kAudioHFPMicSRDescription, kOsCrOS, |
| PLATFORM_FEATURE_NAME_TYPE("CrOSLateBootAudioHFPMicSR")}, |
| {"audio-hfp-offload", flag_descriptions::kAudioHFPOffloadName, |
| flag_descriptions::kAudioHFPOffloadDescription, kOsCrOS, |
| PLATFORM_FEATURE_NAME_TYPE("CrOSLateBootAudioHFPOffload")}, |
| {"cras-split-alsa-usb-internal", |
| flag_descriptions::kCrasSplitAlsaUsbInternalName, |
| flag_descriptions::kCrasSplitAlsaUsbInternalDescription, kOsCrOS, |
| PLATFORM_FEATURE_NAME_TYPE("CrOSLateBootCrasSplitAlsaUSBInternal")}, |
| { |
| "audio-settings-page", |
| flag_descriptions::kAudioSettingsPageName, |
| flag_descriptions::kAudioSettingsPageDescription, |
| kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kAudioSettingsPage), |
| }, |
| {"disable-explicit-dma-fences", |
| flag_descriptions::kDisableExplicitDmaFencesName, |
| flag_descriptions::kDisableExplicitDmaFencesDescription, kOsCrOS, |
| SINGLE_VALUE_TYPE(switches::kDisableExplicitDmaFences)}, |
| // TODO(crbug.com/1012846): Remove this flag and provision when HDR is fully |
| // supported on ChromeOS. |
| {"use-hdr-transfer-function", |
| flag_descriptions::kUseHDRTransferFunctionName, |
| flag_descriptions::kUseHDRTransferFunctionDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(display::features::kUseHDRTransferFunction)}, |
| {"adaptive-charging", flag_descriptions::kAdaptiveChargingName, |
| flag_descriptions::kAdaptiveChargingDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kAdaptiveCharging)}, |
| {"adaptive-charging-for-testing", |
| flag_descriptions::kAdaptiveChargingForTestingName, |
| flag_descriptions::kAdaptiveChargingForTestingDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kAdaptiveChargingForTesting)}, |
| {"ash-bento-bar", flag_descriptions::kBentoBarName, |
| flag_descriptions::kBentoBarDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kBentoBar)}, |
| {"ash-capture-mode-demo-tools", |
| flag_descriptions::kCaptureModeDemoToolsName, |
| flag_descriptions::kCaptureModeDemoToolsDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kCaptureModeDemoTools)}, |
| {"ash-capture-mode-gif-recording", |
| flag_descriptions::kCaptureModeGifRecordingName, |
| flag_descriptions::kCaptureModeGifRecordingDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kGifRecording)}, |
| {"ash-overview-button", flag_descriptions::kOverviewButtonName, |
| flag_descriptions::kOverviewButtonDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kOverviewButton)}, |
| {"ash-window-follow-cursor-multi-display", |
| flag_descriptions::kWindowsFollowCursorName, |
| flag_descriptions::kWindowsFollowCursorDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kWindowsFollowCursor)}, |
| {"ash-limit-shelf-items-to-active-desk", |
| flag_descriptions::kLimitShelfItemsToActiveDeskName, |
| flag_descriptions::kLimitShelfItemsToActiveDeskDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kPerDeskShelf)}, |
| {"ash-enable-unified-desktop", |
| flag_descriptions::kAshEnableUnifiedDesktopName, |
| flag_descriptions::kAshEnableUnifiedDesktopDescription, kOsCrOS, |
| SINGLE_VALUE_TYPE(switches::kEnableUnifiedDesktop)}, |
| {"rounded-display", flag_descriptions::kRoundedDisplay, |
| flag_descriptions::kRoundedDisplayDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(display::features::kRoundedDisplay)}, |
| {"bluetooth-fix-a2dp-packet-size", |
| flag_descriptions::kBluetoothFixA2dpPacketSizeName, |
| flag_descriptions::kBluetoothFixA2dpPacketSizeDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kBluetoothFixA2dpPacketSize)}, |
| {"bluetooth-quality-report", flag_descriptions::kBluetoothQualityReportName, |
| flag_descriptions::kBluetoothQualityReportDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kBluetoothQualityReport)}, |
| {"bluetooth-wbs-dogfood", flag_descriptions::kBluetoothWbsDogfoodName, |
| flag_descriptions::kBluetoothWbsDogfoodDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kBluetoothWbsDogfood)}, |
| {"bluetooth-coredump", flag_descriptions::kBluetoothCoredumpName, |
| flag_descriptions::kBluetoothCoredumpDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(chromeos::bluetooth::features::kBluetoothCoredump)}, |
| {"bluetooth-floss-coredump", flag_descriptions::kBluetoothFlossCoredumpName, |
| flag_descriptions::kBluetoothFlossCoredumpDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE( |
| chromeos::bluetooth::features::kBluetoothFlossCoredump)}, |
| {"robust-audio-device-select-logic", |
| flag_descriptions::kRobustAudioDeviceSelectLogicName, |
| flag_descriptions::kRobustAudioDeviceSelectLogicDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kRobustAudioDeviceSelectLogic)}, |
| {"speak-on-mute-detection", flag_descriptions::kSpeakOnMuteName, |
| flag_descriptions::kSpeakOnMuteDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kSpeakOnMuteEnabled)}, |
| {kBluetoothUseFlossInternalName, flag_descriptions::kBluetoothUseFlossName, |
| flag_descriptions::kBluetoothUseFlossDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(floss::features::kFlossEnabled)}, |
| {"bluetooth-use-llprivacy", flag_descriptions::kBluetoothUseLLPrivacyName, |
| flag_descriptions::kBluetoothUseLLPrivacyDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(bluez::features::kLinkLayerPrivacy)}, |
| {"calendar-jelly", flag_descriptions::kCalendarJellyName, |
| flag_descriptions::kCalendarJellyDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kCalendarJelly)}, |
| {"captive-portal-error-page", |
| flag_descriptions::kCaptivePortalErrorPageName, |
| flag_descriptions::kCaptivePortalErrorPageDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kCaptivePortalErrorPage)}, |
| {"cellular-bypass-esim-installation-connectivity-check", |
| flag_descriptions::kCellularBypassESimInstallationConnectivityCheckName, |
| flag_descriptions:: |
| kCellularBypassESimInstallationConnectivityCheckDescription, |
| kOsCrOS, |
| FEATURE_VALUE_TYPE( |
| ash::features::kCellularBypassESimInstallationConnectivityCheck)}, |
| {"cellular-use-second-euicc", |
| flag_descriptions::kCellularUseSecondEuiccName, |
| flag_descriptions::kCellularUseSecondEuiccDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kCellularUseSecondEuicc)}, |
| {"cros-privacy-hub-v0", flag_descriptions::kCrosPrivacyHubV0Name, |
| flag_descriptions::kCrosPrivacyHubV0Description, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kCrosPrivacyHubV0)}, |
| {"enable-cros-privacy-hub", flag_descriptions::kCrosPrivacyHubName, |
| flag_descriptions::kCrosPrivacyHubDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kCrosPrivacyHub)}, |
| {"jelly-colors", flag_descriptions::kJellyColorsName, |
| flag_descriptions::kJellyColorsDescription, kOsCrOS | kOsLacros, |
| FEATURE_VALUE_TYPE(chromeos::features::kJelly)}, |
| {"oobe-hid-detection-revamp", |
| flag_descriptions::kOobeHidDetectionRevampName, |
| flag_descriptions::kOobeHidDetectionRevampDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kOobeHidDetectionRevamp)}, |
| {"os-settings-app-badging-toggle", |
| flag_descriptions::kOsSettingsAppBadgingToggleName, |
| flag_descriptions::kOsSettingsAppBadgingToggleDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kOsSettingsAppBadgingToggle)}, |
| {"os-settings-search-feedback", |
| flag_descriptions::kOsSettingsSearchFeedbackName, |
| flag_descriptions::kOsSettingsSearchFeedbackDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kOsSettingsSearchFeedback)}, |
| {"qs-revamp", flag_descriptions::kQsRevampName, |
| flag_descriptions::kQsRevampDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kQsRevamp)}, |
| {"use_messages_staging_url", flag_descriptions::kUseMessagesStagingUrlName, |
| flag_descriptions::kUseMessagesStagingUrlDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kUseMessagesStagingUrl)}, |
| {"use-custom-messages-domain", |
| flag_descriptions::kUseCustomMessagesDomainName, |
| flag_descriptions::kUseCustomMessagesDomainDescription, kOsCrOS, |
| ORIGIN_LIST_VALUE_TYPE(switches::kCustomAndroidMessagesDomain, "")}, |
| {"disable-cancel-all-touches", |
| flag_descriptions::kDisableCancelAllTouchesName, |
| flag_descriptions::kDisableCancelAllTouchesDescription, kOsCrOS, |
| SINGLE_VALUE_TYPE(switches::kDisableCancelAllTouches)}, |
| { |
| "enable-background-blur", |
| flag_descriptions::kEnableBackgroundBlurName, |
| flag_descriptions::kEnableBackgroundBlurDescription, |
| kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kEnableBackgroundBlur), |
| }, |
| {"enable-zram-writeback", flag_descriptions::kEnableZramWriteback, |
| flag_descriptions::kEnableZramWritebackDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::kCrOSEnableZramWriteback)}, |
| // Used to carry the policy value crossing the Chrome process lifetime. |
| {crosapi::browser_util::kLacrosAvailabilityPolicyInternalName, "", "", |
| kOsCrOS, MULTI_VALUE_TYPE(kLacrosAvailabilityPolicyChoices)}, |
| // Used to carry the policy value crossing the Chrome process lifetime. |
| {crosapi::browser_util::kLacrosDataBackwardMigrationModePolicyInternalName, |
| "", "", kOsCrOS, |
| MULTI_VALUE_TYPE(kLacrosDataBackwardMigrationModePolicyChoices)}, |
| {kLacrosSupportInternalName, flag_descriptions::kLacrosSupportName, |
| flag_descriptions::kLacrosSupportDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kLacrosSupport)}, |
| {kLacrosStabilityInternalName, flag_descriptions::kLacrosStabilityName, |
| flag_descriptions::kLacrosStabilityDescription, kOsCrOS, |
| MULTI_VALUE_TYPE(kLacrosStabilityChoices)}, |
| {kLacrosWaylandLoggingInternalName, |
| flag_descriptions::kLacrosWaylandLoggingName, |
| flag_descriptions::kLacrosWaylandLoggingDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kLacrosWaylandLogging)}, |
| {kPreferDcheckInternalName, flag_descriptions::kPreferDcheckName, |
| flag_descriptions::kPreferDcheckDescription, kOsCrOS, |
| MULTI_VALUE_TYPE(kPreferDcheckChoices)}, |
| {"uxstudy1", flag_descriptions::kUXStudy1Name, |
| flag_descriptions::kUXStudy1Description, kOsCrOS, |
| MULTI_VALUE_TYPE(kUXStudy1Choices)}, |
| {"lacros-move-profile-migration", |
| flag_descriptions::kLacrosMoveProfileMigrationName, |
| flag_descriptions::kLacrosMoveProfileMigrationDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kLacrosMoveProfileMigration)}, |
| {"lacros-profile-migration-force-off", |
| flag_descriptions::kLacrosProfileMigrationForceOffName, |
| flag_descriptions::kLacrosProfileMigrationForceOffDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kLacrosProfileMigrationForceOff)}, |
| {kLacrosSelectionInternalName, flag_descriptions::kLacrosSelectionName, |
| flag_descriptions::kLacrosSelectionDescription, kOsCrOS, |
| MULTI_VALUE_TYPE(kLacrosSelectionChoices)}, |
| {kLacrosSelectionPolicyIgnoreInternalName, |
| flag_descriptions::kLacrosSelectionPolicyIgnoreName, |
| flag_descriptions::kLacrosSelectionPolicyIgnoreDescription, kOsCrOS, |
| SINGLE_VALUE_TYPE(ash::switches::kLacrosSelectionPolicyIgnore)}, |
| {kWebAppsCrosapiInternalName, flag_descriptions::kWebAppsCrosapiName, |
| flag_descriptions::kWebAppsCrosapiDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(features::kWebAppsCrosapi)}, |
| {kLacrosPrimaryInternalName, flag_descriptions::kLacrosPrimaryName, |
| flag_descriptions::kLacrosPrimaryDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kLacrosPrimary)}, |
| {kLacrosOnlyInternalName, flag_descriptions::kLacrosOnlyName, |
| flag_descriptions::kLacrosOnlyDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kLacrosOnly)}, |
| {kLacrosAvailabilityIgnoreInternalName, |
| flag_descriptions::kLacrosAvailabilityIgnoreName, |
| flag_descriptions::kLacrosAvailabilityIgnoreDescription, kOsCrOS, |
| SINGLE_VALUE_TYPE(ash::switches::kLacrosAvailabilityIgnore)}, |
| {"list-all-display-modes", flag_descriptions::kListAllDisplayModesName, |
| flag_descriptions::kListAllDisplayModesDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(display::features::kListAllDisplayModes)}, |
| {"enable-hardware_mirror-mode", |
| flag_descriptions::kEnableHardwareMirrorModeName, |
| flag_descriptions::kEnableHardwareMirrorModeDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(display::features::kEnableHardwareMirrorMode)}, |
| {"enable-edid-based-display-ids", |
| flag_descriptions::kEnableEdidBasedDisplayIdsName, |
| flag_descriptions::kEnableEdidBasedDisplayIdsDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(display::features::kEnableEdidBasedDisplayIds)}, |
| {"enforce-ash-extension-keeplist", |
| flag_descriptions::kEnforceAshExtensionKeeplistName, |
| flag_descriptions::kEnforceAshExtensionKeeplistDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kEnforceAshExtensionKeeplist)}, |
| {"hotspot", flag_descriptions::kHotspotName, |
| flag_descriptions::kHotspotDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kHotspot)}, |
| {"instant-tethering", flag_descriptions::kTetherName, |
| flag_descriptions::kTetherDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kInstantTethering)}, |
| { |
| "new-shortcut-mapping", |
| flag_descriptions::kEnableNewShortcutMappingName, |
| flag_descriptions::kEnableNewShortcutMappingDescription, |
| kOsCrOS, |
| FEATURE_VALUE_TYPE(features::kNewShortcutMapping), |
| }, |
| {"improved-keyboard-shortcuts", |
| flag_descriptions::kImprovedKeyboardShortcutsName, |
| flag_descriptions::kImprovedKeyboardShortcutsDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(features::kImprovedKeyboardShortcuts)}, |
| {"deprecate-alt-click", flag_descriptions::kDeprecateAltClickName, |
| flag_descriptions::kDeprecateAltClickDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(features::kDeprecateAltClick)}, |
| {"deprecate-alt-based-six-pack", |
| flag_descriptions::kDeprecateAltBasedSixPackName, |
| flag_descriptions::kDeprecateAltBasedSixPackDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(features::kDeprecateAltBasedSixPack)}, |
| {"hidden-network-migration", flag_descriptions::kHiddenNetworkMigrationName, |
| flag_descriptions::kHiddenNetworkMigrationDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kHiddenNetworkMigration)}, |
| {"shelf-hover-previews", flag_descriptions::kShelfHoverPreviewsName, |
| flag_descriptions::kShelfHoverPreviewsDescription, kOsCrOS, |
| SINGLE_VALUE_TYPE(ash::switches::kShelfHoverPreviews)}, |
| {"show-bluetooth-debug-log-toggle", |
| flag_descriptions::kShowBluetoothDebugLogToggleName, |
| flag_descriptions::kShowBluetoothDebugLogToggleDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kShowBluetoothDebugLogToggle)}, |
| {"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)}, |
| {"stylus-battery-status", flag_descriptions::kStylusBatteryStatusName, |
| flag_descriptions::kStylusBatteryStatusDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kStylusBatteryStatus)}, |
| {"wake-on-wifi-allowed", flag_descriptions::kWakeOnWifiAllowedName, |
| flag_descriptions::kWakeOnWifiAllowedDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kWakeOnWifiAllowed)}, |
| {"microphone-mute-notifications", |
| flag_descriptions::kMicrophoneMuteNotificationsName, |
| flag_descriptions::kMicrophoneMuteNotificationsDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kMicMuteNotifications)}, |
| {"microphone-mute-switch-device", |
| flag_descriptions::kMicrophoneMuteSwitchDeviceName, |
| flag_descriptions::kMicrophoneMuteSwitchDeviceDescription, kOsCrOS, |
| SINGLE_VALUE_TYPE("enable-microphone-mute-switch-device")}, |
| {"wifi-connect-mac-address-randomization", |
| flag_descriptions::kWifiConnectMacAddressRandomizationName, |
| flag_descriptions::kWifiConnectMacAddressRandomizationDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kWifiConnectMacAddressRandomization)}, |
| {"consumer-auto-update-toggle-allowed", |
| flag_descriptions::kConsumerAutoUpdateToggleAllowedName, |
| flag_descriptions::kConsumerAutoUpdateToggleAllowedDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kConsumerAutoUpdateToggleAllowed)}, |
| {"disable-lacros-tts-support", |
| flag_descriptions::kDisableLacrosTtsSupportName, |
| flag_descriptions::kDisableLacrosTtsSupportDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kDisableLacrosTtsSupport)}, |
| {"disable-dns-proxy", flag_descriptions::kDisableDnsProxyName, |
| flag_descriptions::kDisableDnsProxyDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kDisableDnsProxy)}, |
| {"personalization-jelly", flag_descriptions::kPersonalizationJellyName, |
| flag_descriptions::kPersonalizationJellyDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kPersonalizationJelly)}, |
| {"screen-saver-duration", flag_descriptions::kScreenSaverDurationName, |
| flag_descriptions::kScreenSaverDurationDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kScreenSaverDuration)}, |
| {"screen-saver-preview", flag_descriptions::kScreenSaverPreviewName, |
| flag_descriptions::kScreenSaverPreviewDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kScreenSaverPreview)}, |
| {"multi-zone-rgb-keyboard", flag_descriptions::kMultiZoneRgbKeyboardName, |
| flag_descriptions::kMultiZoneRgbKeyboardDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kMultiZoneRgbKeyboard)}, |
| {"passpoint-arc-support", flag_descriptions::kPasspointARCSupportName, |
| flag_descriptions::kPasspointARCSupportDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kPasspointARCSupport)}, |
| {"policy-provided-trust-anchors-allowed-at-lock-screen", |
| flag_descriptions::kPolicyProvidedTrustAnchorsAllowedAtLockScreenName, |
| flag_descriptions:: |
| kPolicyProvidedTrustAnchorsAllowedAtLockScreenDescription, |
| kOsCrOS, |
| FEATURE_VALUE_TYPE( |
| ash::features::kPolicyProvidedTrustAnchorsAllowedAtLockScreen)}, |
| {"time-of-day-screen-saver", flag_descriptions::kTimeOfDayScreenSaverName, |
| flag_descriptions::kTimeOfDayScreenSaverDescription, kOsCrOS, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(ash::features::kTimeOfDayScreenSaver, |
| kTimeOfDayScreenSaverVideoVariations, |
| "FeatureManagementTimeOfDayScreenSaver")}, |
| {"time-of-day-wallpaper", flag_descriptions::kTimeOfDayWallpaperName, |
| flag_descriptions::kTimeOfDayWallpaperDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kTimeOfDayWallpaper)}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| #if BUILDFLAG(IS_CHROMEOS) |
| {"disable-idle-sockets-close-on-memory-pressure", |
| flag_descriptions::kDisableIdleSocketsCloseOnMemoryPressureName, |
| flag_descriptions::kDisableIdleSocketsCloseOnMemoryPressureDescription, |
| kOsCrOS | kOsLacros, |
| FEATURE_VALUE_TYPE( |
| chromeos::features::kDisableIdleSocketsCloseOnMemoryPressure)}, |
| {"disable-office-editing-component-app", |
| flag_descriptions::kDisableOfficeEditingComponentAppName, |
| flag_descriptions::kDisableOfficeEditingComponentAppDescription, |
| kOsCrOS | kOsLacros, |
| FEATURE_VALUE_TYPE(chromeos::features::kDisableOfficeEditingComponentApp)}, |
| {"one-group-per-renderer", flag_descriptions::kOneGroupPerRendererName, |
| flag_descriptions::kOneGroupPerRendererDescription, kOsCrOS | kOsLacros, |
| FEATURE_VALUE_TYPE(base::kOneGroupPerRenderer)}, |
| #endif // BUILDFLAG(IS_CHROMEOS) |
| { |
| "disable-accelerated-video-decode", |
| flag_descriptions::kAcceleratedVideoDecodeName, |
| flag_descriptions::kAcceleratedVideoDecodeDescription, |
| kOsMac | kOsWin | kOsCrOS | kOsAndroid | kOsLacros | kOsFuchsia | |
| kOsLinux, |
| SINGLE_DISABLE_VALUE_TYPE(switches::kDisableAcceleratedVideoDecode), |
| }, |
| { |
| "disable-accelerated-video-encode", |
| flag_descriptions::kAcceleratedVideoEncodeName, |
| flag_descriptions::kAcceleratedVideoEncodeDescription, |
| kOsMac | kOsWin | kOsCrOS | kOsAndroid, |
| SINGLE_DISABLE_VALUE_TYPE(switches::kDisableAcceleratedVideoEncode), |
| }, |
| #if BUILDFLAG(IS_WIN) |
| { |
| "enable-hardware-secure-decryption", |
| flag_descriptions::kHardwareSecureDecryptionName, |
| flag_descriptions::kHardwareSecureDecryptionDescription, |
| kOsWin, |
| FEATURE_VALUE_TYPE(media::kHardwareSecureDecryption), |
| }, |
| { |
| "enable-hardware-secure-decryption-experiment", |
| flag_descriptions::kHardwareSecureDecryptionExperimentName, |
| flag_descriptions::kHardwareSecureDecryptionExperimentDescription, |
| kOsWin, |
| FEATURE_VALUE_TYPE(media::kHardwareSecureDecryptionExperiment), |
| }, |
| { |
| "enable-hardware-secure-decryption-fallback", |
| flag_descriptions::kHardwareSecureDecryptionFallbackName, |
| flag_descriptions::kHardwareSecureDecryptionFallbackDescription, |
| kOsWin, |
| FEATURE_VALUE_TYPE(media::kHardwareSecureDecryptionFallback), |
| }, |
| { |
| "enable-media-foundation-clear", |
| flag_descriptions::kMediaFoundationClearName, |
| flag_descriptions::kMediaFoundationClearDescription, |
| kOsWin, |
| FEATURE_VALUE_TYPE(media::kMediaFoundationClearPlayback), |
| }, |
| { |
| "enable-waitable-swap-chain", |
| flag_descriptions::kUseWaitableSwapChainName, |
| flag_descriptions::kUseWaitableSwapChainDescription, |
| kOsWin, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(features::kDXGIWaitableSwapChain, |
| kDXGIWaitableSwapChainVariations, |
| "DXGIWaitableSwapChain"), |
| }, |
| #endif |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| { |
| "zero-copy-video-capture", |
| flag_descriptions::kZeroCopyVideoCaptureName, |
| flag_descriptions::kZeroCopyVideoCaptureDescription, |
| kOsCrOS, |
| ENABLE_DISABLE_VALUE_TYPE_AND_VALUE( |
| switches::kVideoCaptureUseGpuMemoryBuffer, |
| "1", |
| switches::kDisableVideoCaptureUseGpuMemoryBuffer, |
| "1"), |
| }, |
| { |
| "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)}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| #if BUILDFLAG(IS_WIN) |
| { |
| "zero-copy-video-capture", |
| flag_descriptions::kZeroCopyVideoCaptureName, |
| flag_descriptions::kZeroCopyVideoCaptureDescription, |
| kOsWin, |
| FEATURE_VALUE_TYPE(media::kMediaFoundationD3D11VideoCapture), |
| }, |
| #endif // BUILDFLAG(IS_WIN) |
| {"debug-packed-apps", flag_descriptions::kDebugPackedAppName, |
| flag_descriptions::kDebugPackedAppDescription, kOsDesktop, |
| SINGLE_VALUE_TYPE(switches::kDebugPackedApps)}, |
| {"username-first-flow-fallback-crowdsourcing", |
| flag_descriptions::kUsernameFirstFlowFallbackCrowdsourcingName, |
| flag_descriptions::kUsernameFirstFlowFallbackCrowdsourcingDescription, |
| kOsAll, |
| FEATURE_VALUE_TYPE( |
| password_manager::features::kUsernameFirstFlowFallbackCrowdsourcing)}, |
| {"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")}, |
| {"enable-web-bluetooth", flag_descriptions::kWebBluetoothName, |
| flag_descriptions::kWebBluetoothDescription, kOsLinux, |
| FEATURE_VALUE_TYPE(features::kWebBluetooth)}, |
| {"enable-web-bluetooth-new-permissions-backend", |
| flag_descriptions::kWebBluetoothNewPermissionsBackendName, |
| flag_descriptions::kWebBluetoothNewPermissionsBackendDescription, |
| kOsAndroid | kOsDesktop, |
| FEATURE_VALUE_TYPE(features::kWebBluetoothNewPermissionsBackend)}, |
| {"enable-webusb-device-detection", |
| flag_descriptions::kWebUsbDeviceDetectionName, |
| flag_descriptions::kWebUsbDeviceDetectionDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(features::kWebUsbDeviceDetection)}, |
| #if defined(USE_AURA) |
| {"overscroll-history-navigation", |
| flag_descriptions::kOverscrollHistoryNavigationName, |
| flag_descriptions::kOverscrollHistoryNavigationDescription, kOsAura, |
| FEATURE_VALUE_TYPE(features::kOverscrollHistoryNavigation)}, |
| {"pull-to-refresh", flag_descriptions::kPullToRefreshName, |
| flag_descriptions::kPullToRefreshDescription, kOsAura, |
| MULTI_VALUE_TYPE(kPullToRefreshChoices)}, |
| #endif // USE_AURA |
| {"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-suggestions-with-substring-match", |
| flag_descriptions::kSuggestionsWithSubStringMatchName, |
| flag_descriptions::kSuggestionsWithSubStringMatchDescription, kOsAll, |
| FEATURE_VALUE_TYPE(autofill::features::kAutofillTokenPrefixMatching)}, |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"enable-virtual-keyboard", flag_descriptions::kVirtualKeyboardName, |
| flag_descriptions::kVirtualKeyboardDescription, kOsCrOS, |
| SINGLE_VALUE_TYPE(keyboard::switches::kEnableVirtualKeyboard)}, |
| {"disable-virtual-keyboard", |
| flag_descriptions::kVirtualKeyboardDisabledName, |
| flag_descriptions::kVirtualKeyboardDisabledDescription, kOsCrOS, |
| SINGLE_VALUE_TYPE(keyboard::switches::kDisableVirtualKeyboard)}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| {"enable-webgl-developer-extensions", |
| flag_descriptions::kWebglDeveloperExtensionsName, |
| flag_descriptions::kWebglDeveloperExtensionsDescription, kOsAll, |
| SINGLE_VALUE_TYPE(switches::kEnableWebGLDeveloperExtensions)}, |
| {"enable-webgl-draft-extensions", |
| flag_descriptions::kWebglDraftExtensionsName, |
| flag_descriptions::kWebglDraftExtensionsDescription, kOsAll, |
| SINGLE_VALUE_TYPE(switches::kEnableWebGLDraftExtensions)}, |
| {"enable-zero-copy", flag_descriptions::kZeroCopyName, |
| flag_descriptions::kZeroCopyDescription, kOsAll, |
| ENABLE_DISABLE_VALUE_TYPE(blink::switches::kEnableZeroCopy, |
| blink::switches::kDisableZeroCopy)}, |
| {"enable-vulkan", flag_descriptions::kEnableVulkanName, |
| flag_descriptions::kEnableVulkanDescription, |
| kOsWin | kOsLinux | kOsAndroid, FEATURE_VALUE_TYPE(features::kVulkan)}, |
| #if BUILDFLAG(IS_ANDROID) |
| {"translate-assist-content", flag_descriptions::kTranslateAssistContentName, |
| flag_descriptions::kTranslateAssistContentDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(language::kTranslateAssistContent)}, |
| {"translate-intent", flag_descriptions::kTranslateIntentName, |
| flag_descriptions::kTranslateIntentDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(language::kTranslateIntent)}, |
| {"translate-message-ui", flag_descriptions::kTranslateMessageUIName, |
| flag_descriptions::kTranslateMessageUIDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(translate::kTranslateMessageUI)}, |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| #if BUILDFLAG(ENABLE_SYSTEM_NOTIFICATIONS) && !BUILDFLAG(IS_CHROMEOS_ASH) |
| {"enable-system-notifications", |
| flag_descriptions::kNotificationsSystemFlagName, |
| flag_descriptions::kNotificationsSystemFlagDescription, |
| kOsMac | kOsLinux | kOsWin, |
| FEATURE_VALUE_TYPE(features::kSystemNotifications)}, |
| #endif // BUILDFLAG(ENABLE_SYSTEM_NOTIFICATIONS) && !BUILDFLAG(IS_CHROMEOS_ASH) |
| #if BUILDFLAG(IS_ANDROID) |
| {"adaptive-button-in-top-toolbar", |
| flag_descriptions::kAdaptiveButtonInTopToolbarName, |
| flag_descriptions::kAdaptiveButtonInTopToolbarDescription, kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE( |
| chrome::android::kAdaptiveButtonInTopToolbar, |
| kAdaptiveButtonInTopToolbarVariations, |
| "OptionalToolbarButton")}, |
| {"adaptive-button-in-top-toolbar-translate", |
| flag_descriptions::kAdaptiveButtonInTopToolbarTranslateName, |
| flag_descriptions::kAdaptiveButtonInTopToolbarTranslateDescription, |
| kOsAndroid, |
| FEATURE_VALUE_TYPE(chrome::android::kAdaptiveButtonInTopToolbarTranslate)}, |
| {"adaptive-button-in-top-toolbar-add-to-bookmarks", |
| flag_descriptions::kAdaptiveButtonInTopToolbarAddToBookmarksName, |
| flag_descriptions::kAdaptiveButtonInTopToolbarAddToBookmarksDescription, |
| kOsAndroid, |
| FEATURE_VALUE_TYPE( |
| chrome::android::kAdaptiveButtonInTopToolbarAddToBookmarks)}, |
| {"adaptive-button-in-top-toolbar-customization", |
| flag_descriptions::kAdaptiveButtonInTopToolbarCustomizationName, |
| flag_descriptions::kAdaptiveButtonInTopToolbarCustomizationDescription, |
| kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE( |
| chrome::android::kAdaptiveButtonInTopToolbarCustomizationV2, |
| kAdaptiveButtonInTopToolbarCustomizationVariations, |
| "OptionalToolbarButtonCustomization")}, |
| {"contextual-page-actions", flag_descriptions::kContextualPageActionsName, |
| flag_descriptions::kContextualPageActionsDescription, kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE( |
| segmentation_platform::features::kContextualPageActions, |
| kContextualPageActionsVariations, |
| "ContextualPageActions")}, |
| {"contextual-page-actions-with-price-tracking", |
| flag_descriptions::kContextualPageActionsPriceTrackingName, |
| flag_descriptions::kContextualPageActionsPriceTrackingDescription, |
| kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE( |
| segmentation_platform::features::kContextualPageActionPriceTracking, |
| kContextualPageActionPriceTrackingVariations, |
| "ContextualPageActionPriceTracking")}, |
| {"contextual-page-actions-reader-mode", |
| flag_descriptions::kContextualPageActionsReaderModeName, |
| flag_descriptions::kContextualPageActionsReaderModeDescription, kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE( |
| segmentation_platform::features::kContextualPageActionReaderMode, |
| kContextualPageActionReaderModeVariations, |
| "ContextualPageActionReaderMode")}, |
| {"contextual-page-actions-share-model", |
| flag_descriptions::kContextualPageActionsShareModelName, |
| flag_descriptions::kContextualPageActionsShareModelDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE( |
| segmentation_platform::features::kContextualPageActionShareModel)}, |
| {"reader-mode-heuristics", flag_descriptions::kReaderModeHeuristicsName, |
| flag_descriptions::kReaderModeHeuristicsDescription, kOsAndroid, |
| MULTI_VALUE_TYPE(kReaderModeHeuristicsChoices)}, |
| {"screenshots-for-android-v2", |
| flag_descriptions::kScreenshotsForAndroidV2Name, |
| flag_descriptions::kScreenshotsForAndroidV2Description, kOsAndroid, |
| FEATURE_VALUE_TYPE(share::kScreenshotsForAndroidV2)}, |
| {"assistant-intent-translate-info", |
| flag_descriptions::kAssistantIntentTranslateInfoName, |
| flag_descriptions::kAssistantIntentTranslateInfoDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(chrome::android::kAssistantIntentTranslateInfo)}, |
| {"chrome-sharing-crow-launch-tab", |
| flag_descriptions::kChromeSharingCrowLaunchTabName, |
| flag_descriptions::kChromeSharingCrowLaunchTabDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(share::kCrowLaunchTab)}, |
| {"chrome-sharing-hub-launch-adjacent", |
| flag_descriptions::kChromeSharingHubLaunchAdjacentName, |
| flag_descriptions::kChromeSharingHubLaunchAdjacentDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(chrome::android::kChromeSharingHubLaunchAdjacent)}, |
| {"cormorant", flag_descriptions::kCormorantName, |
| flag_descriptions::kCormorantDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(feed::kCormorant)}, |
| {"add-edu-account-for-supervised-users", |
| flag_descriptions::kAddEduAccountFromAccountSettingsForSupervisedUsersName, |
| flag_descriptions:: |
| kAddEduAccountFromAccountSettingsForSupervisedUsersDescription, |
| kOsAndroid, |
| FEATURE_VALUE_TYPE( |
| chrome::android::kAddEduAccountFromAccountSettingsForSupervisedUsers)}, |
| {"hide-non-displayable-account-email", |
| flag_descriptions::kHideNonDisplayableAccountEmailName, |
| flag_descriptions::kHideNonDisplayableAccountEmailDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(chrome::android::kHideNonDisplayableAccountEmail)}, |
| #endif // BUILDFLAG(IS_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")}, |
| {"in-product-help-use-client-config", |
| flag_descriptions::kInProductHelpUseClientConfigName, |
| flag_descriptions::kInProductHelpUseClientConfigDescription, kOsAll, |
| FEATURE_VALUE_TYPE(feature_engagement::kUseClientConfigIPH)}, |
| {"disable-threaded-scrolling", flag_descriptions::kThreadedScrollingName, |
| flag_descriptions::kThreadedScrollingDescription, kOsAll, |
| SINGLE_DISABLE_VALUE_TYPE(blink::switches::kDisableThreadedScrolling)}, |
| {"extension-content-verification", |
| flag_descriptions::kExtensionContentVerificationName, |
| flag_descriptions::kExtensionContentVerificationDescription, kOsDesktop, |
| MULTI_VALUE_TYPE(kExtensionContentVerificationChoices)}, |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"enable-lock-screen-notification", |
| flag_descriptions::kLockScreenNotificationName, |
| flag_descriptions::kLockScreenNotificationDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kLockScreenNotifications)}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"system-extensions", flag_descriptions::kSystemExtensionsName, |
| flag_descriptions::kSystemExtensionsDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kSystemExtensions)}, |
| {"enable-service-workers-for-chrome-untrusted", |
| flag_descriptions::kEnableServiceWorkersForChromeUntrustedName, |
| flag_descriptions::kEnableServiceWorkersForChromeUntrustedDescription, |
| kOsCrOS, |
| FEATURE_VALUE_TYPE(features::kEnableServiceWorkersForChromeUntrusted)}, |
| {"enterprise-reporting-ui", flag_descriptions::kEnterpriseReportingUIName, |
| flag_descriptions::kEnterpriseReportingUIDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kEnterpriseReportingUI)}, |
| {"crostini-reset-lxd-db", flag_descriptions::kCrostiniResetLxdDbName, |
| flag_descriptions::kCrostiniResetLxdDbDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kCrostiniResetLxdDb)}, |
| {"terminal-alternative-emulator", |
| flag_descriptions::kTerminalAlternativeEmulatorName, |
| flag_descriptions::kTerminalAlternativeEmulatorDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kTerminalAlternativeEmulator)}, |
| {"terminal-dev", flag_descriptions::kTerminalDevName, |
| flag_descriptions::kTerminalDevDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kTerminalDev)}, |
| {"terminal-multi-profile", flag_descriptions::kTerminalMultiProfileName, |
| flag_descriptions::kTerminalMultiProfileDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kTerminalMultiProfile)}, |
| {"terminal-sftp", flag_descriptions::kTerminalSftpName, |
| flag_descriptions::kTerminalSftpDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kTerminalSftp)}, |
| {"terminal-tmux-integration", |
| flag_descriptions::kTerminalTmuxIntegrationName, |
| flag_descriptions::kTerminalTmuxIntegrationDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kTerminalTmuxIntegration)}, |
| {"crostini-multi-container", flag_descriptions::kCrostiniMultiContainerName, |
| flag_descriptions::kCrostiniMultiContainerDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kCrostiniMultiContainer)}, |
| {"crostini-ime-support", flag_descriptions::kCrostiniImeSupportName, |
| flag_descriptions::kCrostiniImeSupportDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kCrostiniImeSupport)}, |
| {"crostini-virtual-keyboard-support", |
| flag_descriptions::kCrostiniVirtualKeyboardSupportName, |
| flag_descriptions::kCrostiniVirtualKeyboardSupportDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kCrostiniVirtualKeyboardSupport)}, |
| {"bruschetta", flag_descriptions::kBruschettaName, |
| flag_descriptions::kBruschettaDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kBruschetta)}, |
| {"bruschetta-alpha-migrate", flag_descriptions::kBruschettaAlphaMigrateName, |
| flag_descriptions::kBruschettaAlphaMigrateDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kBruschettaAlphaMigrate)}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| #if (BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || \ |
| BUILDFLAG(IS_ANDROID)) && \ |
| !BUILDFLAG(IS_NACL) |
| {"mojo-linux-sharedmem", flag_descriptions::kMojoLinuxChannelSharedMemName, |
| flag_descriptions::kMojoLinuxChannelSharedMemDescription, |
| kOsCrOS | kOsLinux | kOsLacros | kOsAndroid, |
| FEATURE_VALUE_TYPE(mojo::core::kMojoLinuxChannelSharedMem)}, |
| #endif |
| #if BUILDFLAG(IS_ANDROID) |
| {"enable-site-isolation-for-password-sites", |
| flag_descriptions::kSiteIsolationForPasswordSitesName, |
| flag_descriptions::kSiteIsolationForPasswordSitesDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE( |
| site_isolation::features::kSiteIsolationForPasswordSites)}, |
| {"enable-site-per-process", flag_descriptions::kStrictSiteIsolationName, |
| flag_descriptions::kStrictSiteIsolationDescription, kOsAndroid, |
| SINGLE_VALUE_TYPE(switches::kSitePerProcess)}, |
| #endif |
| {"enable-isolated-web-apps", flag_descriptions::kEnableIsolatedWebAppsName, |
| flag_descriptions::kEnableIsolatedWebAppsDescription, kOsAll, |
| FEATURE_VALUE_TYPE(features::kIsolatedWebApps)}, |
| {"enable-isolated-web-app-dev-mode", |
| flag_descriptions::kEnableIsolatedWebAppDevModeName, |
| flag_descriptions::kEnableIsolatedWebAppDevModeDescription, kOsAll, |
| FEATURE_VALUE_TYPE(features::kIsolatedWebAppDevMode)}, |
| {"install-isolated-web-app-from-url", |
| flag_descriptions::kInstallIsolatedWebAppFromUrl, |
| flag_descriptions::kInstallIsolatedWebAppFromUrlDescription, kOsAll, |
| ORIGIN_LIST_VALUE_TYPE(switches::kInstallIsolatedWebAppFromUrl, "")}, |
| {"enable-iwa-controlled-frame", |
| flag_descriptions::kEnableIwaControlledFrameName, |
| flag_descriptions::kEnableIwaControlledFrameDescription, kOsAll, |
| FEATURE_VALUE_TYPE(features::kIwaControlledFrame)}, |
| {"isolate-origins", flag_descriptions::kIsolateOriginsName, |
| flag_descriptions::kIsolateOriginsDescription, kOsAll, |
| ORIGIN_LIST_VALUE_TYPE(switches::kIsolateOrigins, "")}, |
| {about_flags::kSiteIsolationTrialOptOutInternalName, |
| flag_descriptions::kSiteIsolationOptOutName, |
| flag_descriptions::kSiteIsolationOptOutDescription, kOsAll, |
| MULTI_VALUE_TYPE(kSiteIsolationOptOutChoices)}, |
| {"isolation-by-default", flag_descriptions::kIsolationByDefaultName, |
| flag_descriptions::kIsolationByDefaultDescription, kOsAll, |
| SINGLE_VALUE_TYPE(switches::kIsolationByDefault)}, |
| #if !BUILDFLAG(IS_ANDROID) |
| {"enable-webview-tag-site-isolation", |
| flag_descriptions::kWebViewTagSiteIsolationName, |
| flag_descriptions::kWebViewTagSiteIsolationDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(features::kSiteIsolationForGuests)}, |
| #endif |
| {"allow-insecure-localhost", flag_descriptions::kAllowInsecureLocalhostName, |
| flag_descriptions::kAllowInsecureLocalhostDescription, kOsAll, |
| SINGLE_VALUE_TYPE(switches::kAllowInsecureLocalhost)}, |
| {"text-based-audio-descriptions", |
| flag_descriptions::kTextBasedAudioDescriptionName, |
| flag_descriptions::kTextBasedAudioDescriptionDescription, kOsAll, |
| FEATURE_VALUE_TYPE(features::kTextBasedAudioDescription)}, |
| {"bypass-app-banner-engagement-checks", |
| flag_descriptions::kBypassAppBannerEngagementChecksName, |
| flag_descriptions::kBypassAppBannerEngagementChecksDescription, kOsAll, |
| SINGLE_VALUE_TYPE(webapps::switches::kBypassAppBannerEngagementChecks)}, |
| #if BUILDFLAG(IS_CHROMEOS) |
| {"microsoft-office-web-app-experiment", |
| flag_descriptions::kMicrosoftOfficeWebAppExperimentName, |
| flag_descriptions::kMicrosoftOfficeWebAppExperimentDescription, |
| kOsCrOS | kOsLacros, |
| FEATURE_VALUE_TYPE(features::kMicrosoftOfficeWebAppExperiment)}, |
| #endif // BUILDFLAG(IS_CHROMEOS) |
| {"enable-pwas-default-offline-page", |
| flag_descriptions::kPWAsDefaultOfflinePageName, |
| flag_descriptions::kPWAsDefaultOfflinePageDescription, |
| kOsAndroid | kOsDesktop, |
| FEATURE_VALUE_TYPE(features::kPWAsDefaultOfflinePage)}, |
| {"enable-desktop-pwas-elided-extensions-menu", |
| flag_descriptions::kDesktopPWAsElidedExtensionsMenuName, |
| flag_descriptions::kDesktopPWAsElidedExtensionsMenuDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(features::kDesktopPWAsElidedExtensionsMenu)}, |
| {"enable-desktop-pwas-tab-strip", |
| flag_descriptions::kDesktopPWAsTabStripName, |
| flag_descriptions::kDesktopPWAsTabStripDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(features::kDesktopPWAsTabStrip)}, |
| {"enable-desktop-pwas-tab-strip-settings", |
| flag_descriptions::kDesktopPWAsTabStripSettingsName, |
| flag_descriptions::kDesktopPWAsTabStripSettingsDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(features::kDesktopPWAsTabStripSettings)}, |
| {"enable-desktop-pwas-launch-handler", |
| flag_descriptions::kDesktopPWAsLaunchHandlerName, |
| flag_descriptions::kDesktopPWAsLaunchHandlerDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(blink::features::kWebAppEnableLaunchHandler)}, |
| {"enable-desktop-pwas-sub-apps", flag_descriptions::kDesktopPWAsSubAppsName, |
| flag_descriptions::kDesktopPWAsSubAppsDescription, |
| kOsWin | kOsLinux | kOsLacros | kOsMac | kOsCrOS | kOsFuchsia, |
| FEATURE_VALUE_TYPE(blink::features::kDesktopPWAsSubApps)}, |
| {"enable-desktop-pwas-scope-extensions", |
| flag_descriptions::kDesktopPWAsScopeExtensionsName, |
| flag_descriptions::kDesktopPWAsScopeExtensionsDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(blink::features::kWebAppEnableScopeExtensions)}, |
| {"enable-desktop-pwas-borderless", |
| flag_descriptions::kDesktopPWAsBorderlessName, |
| flag_descriptions::kDesktopPWAsBorderlessDescription, |
| kOsLinux | kOsLacros | kOsCrOS, |
| FEATURE_VALUE_TYPE(blink::features::kWebAppBorderless)}, |
| {"enable-desktop-pwas-additional-windowing-controls", |
| flag_descriptions::kDesktopPWAsAdditionalWindowingControlsName, |
| flag_descriptions::kDesktopPWAsAdditionalWindowingControlsDescription, |
| kOsWin | kOsLinux | kOsLacros | kOsMac | kOsCrOS | kOsFuchsia, |
| FEATURE_VALUE_TYPE(features::kDesktopPWAsAdditionalWindowingControls)}, |
| {"enable-desktop-pwas-web-bundles", |
| flag_descriptions::kDesktopPWAsWebBundlesName, |
| flag_descriptions::kDesktopPWAsWebBundlesDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(features::kDesktopPWAsWebBundles)}, |
| {"enable-desktop-pwas-detailed-install-dialog", |
| flag_descriptions::kDesktopPWAsDetailedInstallDialogName, |
| flag_descriptions::kDesktopPWAsDetailedInstallDialogDescription, kOsAll, |
| FEATURE_VALUE_TYPE(webapps::features::kDesktopPWAsDetailedInstallDialog)}, |
| {"enable-skip-service-worker-check-install-only", |
| flag_descriptions::kSkipServiceWorkerCheckInstallOnlyName, |
| flag_descriptions::kSkipServiceWorkerCheckInstallOnlyDescription, |
| kOsDesktop, |
| FEATURE_VALUE_TYPE(webapps::features::kSkipServiceWorkerCheckInstallOnly)}, |
| {"enable-skip-service-worker-check-install-for-promotion", |
| flag_descriptions::kSkipServiceWorkerForInstallPromptName, |
| flag_descriptions::kSkipServiceWorkerForInstallPromptDescription, |
| kOsDesktop, |
| FEATURE_VALUE_TYPE(webapps::features::kSkipServiceWorkerForInstallPrompt)}, |
| {"record-web-app-debug-info", flag_descriptions::kRecordWebAppDebugInfoName, |
| flag_descriptions::kRecordWebAppDebugInfoDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(features::kRecordWebAppDebugInfo)}, |
| #if !BUILDFLAG(IS_ANDROID) |
| {"web-app-manifest-immediate-updating", |
| flag_descriptions::kWebAppManifestImmediateUpdatingName, |
| flag_descriptions::kWebAppManifestImmediateUpdatingDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(features::kWebAppManifestImmediateUpdating)}, |
| #endif // !BUILDFLAG(IS_ANDROID) |
| {"use-sync-sandbox", flag_descriptions::kSyncSandboxName, |
| flag_descriptions::kSyncSandboxDescription, kOsAll, |
| SINGLE_VALUE_TYPE_AND_VALUE( |
| syncer::kSyncServiceURL, |
| "https://chrome-sync.sandbox.google.com/chrome-sync/alpha")}, |
| #if !BUILDFLAG(IS_ANDROID) |
| {"media-router-cast-allow-all-ips", |
| flag_descriptions::kMediaRouterCastAllowAllIPsName, |
| flag_descriptions::kMediaRouterCastAllowAllIPsDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(media_router::kCastAllowAllIPsFeature)}, |
| {"global-media-controls-cast-start-stop", |
| flag_descriptions::kGlobalMediaControlsCastStartStopName, |
| flag_descriptions::kGlobalMediaControlsCastStartStopDescription, |
| kOsDesktop, |
| FEATURE_VALUE_TYPE(media_router::kGlobalMediaControlsCastStartStop)}, |
| {"media-remoting-without-fullscreen", |
| flag_descriptions::kMediaRemotingWithoutFullscreenName, |
| flag_descriptions::kMediaRemotingWithoutFullscreenDescription, |
| kOsWin | kOsLinux | kOsMac, |
| FEATURE_VALUE_TYPE(media::kMediaRemotingWithoutFullscreen)}, |
| {"allow-all-sites-to-initiate-mirroring", |
| flag_descriptions::kAllowAllSitesToInitiateMirroringName, |
| flag_descriptions::kAllowAllSitesToInitiateMirroringDescription, |
| kOsDesktop, |
| FEATURE_VALUE_TYPE(media_router::kAllowAllSitesToInitiateMirroring)}, |
| {"media-router-otr-instance", |
| flag_descriptions::kMediaRouterOtrInstanceName, |
| flag_descriptions::kMediaRouterOtrInstanceDescription, kOsAll, |
| FEATURE_VALUE_TYPE(media_router::kMediaRouterOTRInstance)}, |
| |
| {"enable-preinstalled-web-app-duplication-fixer", |
| flag_descriptions::kEnablePreinstalledWebAppDuplicationFixerName, |
| flag_descriptions::kEnablePreinstalledWebAppDuplicationFixerDescription, |
| kOsDesktop, |
| FEATURE_VALUE_TYPE(features::kPreinstalledWebAppDuplicationFixer)}, |
| |
| {"cast-streaming-hardware-h264", |
| flag_descriptions::kCastStreamingHardwareH264Name, |
| flag_descriptions::kCastStreamingHardwareH264Description, kOsDesktop, |
| ENABLE_DISABLE_VALUE_TYPE( |
| switches::kCastStreamingForceEnableHardwareH264, |
| switches::kCastStreamingForceDisableHardwareH264)}, |
| |
| {"cast-streaming-hardware-vp8", |
| flag_descriptions::kCastStreamingHardwareVp8Name, |
| flag_descriptions::kCastStreamingHardwareVp8Description, kOsDesktop, |
| ENABLE_DISABLE_VALUE_TYPE( |
| switches::kCastStreamingForceEnableHardwareVp8, |
| switches::kCastStreamingForceDisableHardwareVp8)}, |
| |
| {"enable-openscreen-cast-streaming-session", |
| flag_descriptions::kOpenscreenCastStreamingSessionName, |
| flag_descriptions::kOpenscreenCastStreamingSessionDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(media::kOpenscreenCastStreamingSession)}, |
| |
| {"enable-cast-streaming-av1", flag_descriptions::kCastStreamingAv1Name, |
| flag_descriptions::kCastStreamingAv1Description, kOsDesktop, |
| FEATURE_VALUE_TYPE(media::kCastStreamingAv1)}, |
| |
| {"enable-cast-streaming-vp9", flag_descriptions::kCastStreamingVp9Name, |
| flag_descriptions::kCastStreamingVp9Description, kOsDesktop, |
| FEATURE_VALUE_TYPE(media::kCastStreamingVp9)}, |
| |
| {"enable-cast-streaming-with-hidpi", |
| flag_descriptions::kCastEnableStreamingWithHiDPIName, |
| flag_descriptions::kCastEnableStreamingWithHiDPIDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(mirroring::features::kCastEnableStreamingWithHiDPI)}, |
| |
| {"enable-os-integration-sub-managers", |
| flag_descriptions::kEnableOsIntegrationSubManagersName, |
| flag_descriptions::kEnableOsIntegrationSubManagersDescription, kOsDesktop, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(features::kOsIntegrationSubManagers, |
| kOsIntegrationSubManagersConfigVariations, |
| "OsIntegrationSubManagers")}, |
| |
| #endif // !BUILDFLAG(IS_ANDROID) |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"autofill-keyboard-accessory-view", |
| flag_descriptions::kAutofillAccessoryViewName, |
| flag_descriptions::kAutofillAccessoryViewDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(autofill::features::kAutofillKeyboardAccessory)}, |
| #endif // BUILDFLAG(IS_ANDROID) |
| #if BUILDFLAG(IS_MAC) |
| {"mac-syscall-sandbox", flag_descriptions::kMacSyscallSandboxName, |
| flag_descriptions::kMacSyscallSandboxDescription, kOsMac, |
| FEATURE_VALUE_TYPE(features::kMacSyscallSandbox)}, |
| #endif // BUILDFLAG(IS_MAC) |
| #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) |
| {"web-share", flag_descriptions::kWebShareName, |
| flag_descriptions::kWebShareDescription, kOsWin | kOsCrOS | kOsMac, |
| FEATURE_VALUE_TYPE(features::kWebShare)}, |
| #endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) |
| |
| #if BUILDFLAG(IS_LINUX) |
| {"ozone-platform-hint", flag_descriptions::kOzonePlatformHintName, |
| flag_descriptions::kOzonePlatformHintDescription, kOsLinux, |
| MULTI_VALUE_TYPE(kOzonePlatformHintRuntimeChoices)}, |
| #endif // BUILDFLAG(IS_LINUX) |
| |
| #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) |
| {"skip-undecryptable-passwords", |
| flag_descriptions::kSkipUndecryptablePasswordsName, |
| flag_descriptions::kSkipUndecryptablePasswordsDescription, |
| kOsLinux | kOsMac, |
| FEATURE_VALUE_TYPE( |
| password_manager::features::kSkipUndecryptablePasswords)}, |
| |
| {"force-password-initial-sync-when-decryption-fails", |
| flag_descriptions::kForcePasswordInitialSyncWhenDecryptionFailsName, |
| flag_descriptions::kForcePasswordInitialSyncWhenDecryptionFailsDescription, |
| kOsLinux | kOsMac, |
| FEATURE_VALUE_TYPE( |
| password_manager::features::kForceInitialSyncWhenDecryptionFails)}, |
| #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) |
| |
| #if BUILDFLAG(ENABLE_VR) |
| {"webxr-incubations", flag_descriptions::kWebXrIncubationsName, |
| flag_descriptions::kWebXrIncubationsDescription, kOsAll, |
| FEATURE_VALUE_TYPE(device::features::kWebXrIncubations)}, |
| {"webxr-runtime", flag_descriptions::kWebXrForceRuntimeName, |
| flag_descriptions::kWebXrForceRuntimeDescription, kOsDesktop, |
| MULTI_VALUE_TYPE(kWebXrForceRuntimeChoices)}, |
| #if BUILDFLAG(IS_ANDROID) |
| {"webxr-shared-buffers", flag_descriptions::kWebXrSharedBuffersName, |
| flag_descriptions::kWebXrSharedBuffersDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(device::features::kWebXrSharedBuffers)}, |
| #endif // BUILDFLAG(IS_ANDROID) |
| #endif // ENABLE_VR |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"disable-accelerated-mjpeg-decode", |
| flag_descriptions::kAcceleratedMjpegDecodeName, |
| flag_descriptions::kAcceleratedMjpegDecodeDescription, kOsCrOS, |
| SINGLE_DISABLE_VALUE_TYPE(switches::kDisableAcceleratedMjpegDecode)}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| {"system-keyboard-lock", flag_descriptions::kSystemKeyboardLockName, |
| flag_descriptions::kSystemKeyboardLockDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(features::kSystemKeyboardLock)}, |
| #if BUILDFLAG(IS_ANDROID) |
| {"add-to-homescreen-iph", flag_descriptions::kAddToHomescreenIPHName, |
| flag_descriptions::kAddToHomescreenIPHDescription, kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(chrome::android::kAddToHomescreenIPH, |
| kAddToHomescreenIPHVariations, |
| "AddToHomescreen")}, |
| {"feature-notification-guide", |
| flag_descriptions::kFeatureNotificationGuideName, |
| flag_descriptions::kFeatureNotificationGuideDescription, kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE( |
| feature_guide::features::kFeatureNotificationGuide, |
| kFeatureNotificationGuideVariations, |
| "FeatureNotificationGuide")}, |
| {"notification-permission-rationale-dialog", |
| flag_descriptions::kNotificationPermissionRationaleName, |
| flag_descriptions::kNotificationPermissionRationaleDescription, kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE( |
| chrome::android::kNotificationPermissionVariant, |
| kNotificationPermissionRationaleVariations, |
| "NotificationPermissionVariant")}, |
| {"notification-permission-rationale-bottom-sheet", |
| flag_descriptions::kNotificationPermissionRationaleBottomSheetName, |
| flag_descriptions::kNotificationPermissionRationaleBottomSheetDescription, |
| kOsAndroid, |
| FEATURE_VALUE_TYPE(chrome::android::kNotificationPermissionBottomSheet)}, |
| {"feature-notification-guide-skip-check-for-low-engaged-users", |
| flag_descriptions:: |
| kFeatureNotificationGuideSkipCheckForLowEngagedUsersName, |
| flag_descriptions:: |
| kFeatureNotificationGuideSkipCheckForLowEngagedUsersDescription, |
| kOsAll, |
| FEATURE_VALUE_TYPE(feature_guide::features::kSkipCheckForLowEngagedUsers)}, |
| {"offline-pages-live-page-sharing", |
| flag_descriptions::kOfflinePagesLivePageSharingName, |
| flag_descriptions::kOfflinePagesLivePageSharingDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(offline_pages::kOfflinePagesLivePageSharingFeature)}, |
| {"query-tiles", flag_descriptions::kQueryTilesName, |
| flag_descriptions::kQueryTilesDescription, kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(query_tiles::features::kQueryTiles, |
| kQueryTilesVariations, |
| "QueryTilesVariations")}, |
| {"query-tiles-ntp", flag_descriptions::kQueryTilesNTPName, |
| flag_descriptions::kQueryTilesNTPDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(query_tiles::features::kQueryTilesInNTP)}, |
| {"query-tiles-on-start", flag_descriptions::kQueryTilesOnStartName, |
| flag_descriptions::kQueryTilesOnStartDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(query_tiles::features::kQueryTilesOnStart)}, |
| {"query-tiles-single-tier", flag_descriptions::kQueryTilesSingleTierName, |
| flag_descriptions::kQueryTilesSingleTierDescription, kOsAndroid, |
| SINGLE_VALUE_TYPE(query_tiles::switches::kQueryTilesSingleTier)}, |
| {"query-tiles-enable-query-editing", |
| flag_descriptions::kQueryTilesEnableQueryEditingName, |
| flag_descriptions::kQueryTilesEnableQueryEditingDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(query_tiles::features::kQueryTilesEnableQueryEditing)}, |
| {"query-tiles-enable-trending", |
| flag_descriptions::kQueryTilesEnableTrendingName, |
| flag_descriptions::kQueryTilesEnableTrendingDescription, kOsAndroid, |
| SINGLE_VALUE_TYPE(query_tiles::switches::kQueryTilesEnableTrending)}, |
| {"query-tiles-country-code", flag_descriptions::kQueryTilesCountryCode, |
| flag_descriptions::kQueryTilesCountryCodeDescription, kOsAndroid, |
| MULTI_VALUE_TYPE(kQueryTilesCountryChoices)}, |
| {"query-tiles-instant-fetch", |
| flag_descriptions::kQueryTilesInstantFetchName, |
| flag_descriptions::kQueryTilesInstantFetchDescription, kOsAndroid, |
| SINGLE_VALUE_TYPE( |
| query_tiles::switches::kQueryTilesInstantBackgroundTask)}, |
| {"query-tiles-rank-tiles", flag_descriptions::kQueryTilesRankTilesName, |
| flag_descriptions::kQueryTilesRankTilesDescription, kOsAndroid, |
| SINGLE_VALUE_TYPE(query_tiles::switches::kQueryTilesRankTiles)}, |
| {"query-tiles-segmentation", flag_descriptions::kQueryTilesSegmentationName, |
| flag_descriptions::kQueryTilesSegmentationDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(query_tiles::features::kQueryTilesSegmentation)}, |
| {"query-tiles-swap-trending", |
| flag_descriptions::kQueryTilesSwapTrendingName, |
| flag_descriptions::kQueryTilesSwapTrendingDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE( |
| query_tiles::features::kQueryTilesRemoveTrendingTilesAfterInactivity)}, |
| {"video-tutorials", flag_descriptions::kVideoTutorialsName, |
| flag_descriptions::kVideoTutorialsDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(video_tutorials::features::kVideoTutorials)}, |
| {"video-tutorials-instant-fetch", |
| flag_descriptions::kVideoTutorialsInstantFetchName, |
| flag_descriptions::kVideoTutorialsInstantFetchDescription, kOsAndroid, |
| SINGLE_VALUE_TYPE(video_tutorials::switches::kVideoTutorialsInstantFetch)}, |
| {"reengagement-notification", |
| flag_descriptions::kReengagementNotificationName, |
| flag_descriptions::kReengagementNotificationDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(chrome::android::kReengagementNotification)}, |
| {"back-gesture-refactor-android", |
| flag_descriptions::kBackGestureRefactorAndroidName, |
| flag_descriptions::kBackGestureRefactorAndroidDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(chrome::android::kBackGestureRefactorAndroid)}, |
| {"back-gesture-refactor-activity-android", |
| flag_descriptions::kBackGestureRefactorActivityAndroidName, |
| flag_descriptions::kBackGestureRefactorActivityAndroidDescription, |
| kOsAndroid, |
| FEATURE_VALUE_TYPE(chrome::android::kBackGestureRefactorActivityAndroid)}, |
| {"infobar-scroll-optimization", |
| flag_descriptions::kInfobarScrollOptimizationName, |
| flag_descriptions::kInfobarScrollOptimizationDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(chrome::android::kInfobarScrollOptimization)}, |
| {"share-sheet-migration-android", |
| flag_descriptions::kShareSheetMigrationAndroidName, |
| flag_descriptions::kShareSheetMigrationAndroidDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(chrome::android::kShareSheetMigrationAndroid)}, |
| |
| #endif // BUILDFLAG(IS_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( |
| blink::switches::kBlinkSettings, |
| "disallowFetchForDocWrittenScriptsInMainFrame=true", |
| blink::switches::kBlinkSettings, |
| "disallowFetchForDocWrittenScriptsInMainFrame=false")}, |
| #if !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_CHROMEOS_ASH) |
| {"disallow-managed-profile-signout", |
| flag_descriptions::kDisallowManagedProfileSignoutName, |
| flag_descriptions::kDisallowManagedProfileSignoutDescription, |
| kOsMac | kOsWin | kOsLinux | kOsLacros, |
| FEATURE_VALUE_TYPE(kDisallowManagedProfileSignout)}, |
| #endif // !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_CHROMEOS_ASH) |
| {"view-transition", flag_descriptions::kViewTransitionName, |
| flag_descriptions::kViewTransitionDescription, kOsAll, |
| FEATURE_VALUE_TYPE(blink::features::kViewTransition)}, |
| {"view-transition-on-navigation", |
| flag_descriptions::kViewTransitionOnNavigationName, |
| flag_descriptions::kViewTransitionOnNavigationDescription, kOsAll, |
| FEATURE_VALUE_TYPE(blink::features::kViewTransitionOnNavigation)}, |
| #if BUILDFLAG(IS_WIN) |
| {"use-winrt-midi-api", flag_descriptions::kUseWinrtMidiApiName, |
| flag_descriptions::kUseWinrtMidiApiDescription, kOsWin, |
| FEATURE_VALUE_TYPE(midi::features::kMidiManagerWinrt)}, |
| #endif // BUILDFLAG(IS_WIN) |
| #if defined(TOOLKIT_VIEWS) || BUILDFLAG(IS_ANDROID) |
| {"enable-autofill-credit-card-upload", |
| flag_descriptions::kAutofillCreditCardUploadName, |
| flag_descriptions::kAutofillCreditCardUploadDescription, kOsAll, |
| FEATURE_VALUE_TYPE(autofill::features::kAutofillUpstream)}, |
| #endif // defined(TOOLKIT_VIEWS) || BUILDFLAG(IS_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 BUILDFLAG(IS_ANDROID) |
| {"force-update-menu-type", flag_descriptions::kUpdateMenuTypeName, |
| flag_descriptions::kUpdateMenuTypeDescription, kOsAndroid, |
| MULTI_VALUE_TYPE(kForceUpdateMenuTypeChoices)}, |
| {"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")}, |
| {"omaha-min-sdk-version-android", |
| flag_descriptions::kOmahaMinSdkVersionAndroidName, |
| flag_descriptions::kOmahaMinSdkVersionAndroidDescription, kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(chrome::android::kOmahaMinSdkVersionAndroid, |
| kOmahaMinSdkVersionAndroidVariations, |
| "OmahaMinSdkVersionAndroidStudy")}, |
| #endif // BUILDFLAG(IS_ANDROID) |
| {"enable-tls13-early-data", flag_descriptions::kEnableTLS13EarlyDataName, |
| flag_descriptions::kEnableTLS13EarlyDataDescription, kOsAll, |
| FEATURE_VALUE_TYPE(net::features::kEnableTLS13EarlyData)}, |
| #if BUILDFLAG(IS_ANDROID) |
| {"feed-bottom-sync-banner", flag_descriptions::kFeedBottomSyncBannerName, |
| flag_descriptions::kFeedBottomSyncBannerDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(feed::kFeedBottomSyncBanner)}, |
| {"feed-boc-signin-interstitial", |
| flag_descriptions::kFeedBoCSigninInterstitialName, |
| flag_descriptions::kFeedBoCSigninInterstitialDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(feed::kFeedBoCSigninInterstitial)}, |
| {"feed-back-to-top", flag_descriptions::kFeedBackToTopName, |
| flag_descriptions::kFeedBackToTopDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(feed::kFeedBackToTop)}, |
| {"feed-loading-placeholder", flag_descriptions::kFeedLoadingPlaceholderName, |
| flag_descriptions::kFeedLoadingPlaceholderDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(feed::kFeedLoadingPlaceholder)}, |
| {"feed-v2-hearts", flag_descriptions::kInterestFeedV2HeartsName, |
| flag_descriptions::kInterestFeedV2HeartsDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(feed::kInterestFeedV2Hearts)}, |
| {"info-card-acknowledgement-tracking", |
| flag_descriptions::kInfoCardAcknowledgementTrackingName, |
| flag_descriptions::kInfoCardAcknowledgementTrackingDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(feed::kInfoCardAcknowledgementTracking)}, |
| {"web-feed", flag_descriptions::kWebFeedName, |
| flag_descriptions::kWebFeedDescription, kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(feed::kWebFeed, |
| kWebFeedVariations, |
| "WebFeed")}, |
| {"web-feed-awareness", flag_descriptions::kWebFeedAwarenessName, |
| flag_descriptions::kWebFeedAwarenessDescription, kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(feed::kWebFeedAwareness, |
| kWebFeedAwarenessVariations, |
| "WebFeedAwareness")}, |
| {"web-feed-onboarding", flag_descriptions::kWebFeedOnboardingName, |
| flag_descriptions::kWebFeedOnboardingDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(feed::kWebFeedOnboarding)}, |
| {"web-feed-sort", flag_descriptions::kWebFeedSortName, |
| flag_descriptions::kWebFeedSortDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(feed::kWebFeedSort)}, |
| {"feed-header-stick-to-top", flag_descriptions::kFeedHeaderStickToTopName, |
| flag_descriptions::kFeedHeaderStickToTopDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(feed::kFeedHeaderStickToTop)}, |
| {"xsurface-metrics-reporting", |
| flag_descriptions::kXsurfaceMetricsReportingName, |
| flag_descriptions::kXsurfaceMetricsReportingDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(feed::kXsurfaceMetricsReporting)}, |
| {"feed-close-refresh", flag_descriptions::kFeedCloseRefreshName, |
| flag_descriptions::kFeedCloseRefreshDescription, kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(feed::kFeedCloseRefresh, |
| kFeedCloseRefreshVariations, |
| "FeedCloseRefresh")}, |
| {"feed-discofeed-endpoint", flag_descriptions::kFeedDiscoFeedEndpointName, |
| flag_descriptions::kFeedDiscoFeedEndpointDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(feed::kDiscoFeedEndpoint)}, |
| #endif // BUILDFLAG(IS_ANDROID) |
| #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \ |
| BUILDFLAG(IS_WIN) || BUILDFLAG(IS_FUCHSIA) |
| {"following-feed-sidepanel", flag_descriptions::kFollowingFeedSidepanelName, |
| flag_descriptions::kFollowingFeedSidepanelDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(feed::kWebUiFeed)}, |
| #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || |
| // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_FUCHSIA) |
| {"password-import", flag_descriptions::kPasswordImportName, |
| flag_descriptions::kPasswordImportDescription, kOsAll, |
| FEATURE_VALUE_TYPE(password_manager::features::kPasswordImport)}, |
| {"enable-force-dark", flag_descriptions::kAutoWebContentsDarkModeName, |
| flag_descriptions::kAutoWebContentsDarkModeDescription, kOsAll, |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| // TODO(https://crbug.com/1011696): Investigate crash reports and |
| // re-enable variations for ChromeOS. |
| FEATURE_VALUE_TYPE(blink::features::kForceWebContentsDarkMode)}, |
| #else |
| FEATURE_WITH_PARAMS_VALUE_TYPE(blink::features::kForceWebContentsDarkMode, |
| kForceDarkVariations, |
| "ForceDarkVariations")}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| #if BUILDFLAG(IS_ANDROID) |
| {"enable-accessibility-form-controls-mode", |
| flag_descriptions::kAccessibilityFormControlsModeName, |
| flag_descriptions::kAccessibilityFormControlsModeDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(features::kAccessibilityFormControlsMode)}, |
| {"enable-accessibility-page-zoom", |
| flag_descriptions::kAccessibilityPageZoomName, |
| flag_descriptions::kAccessibilityPageZoomDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(features::kAccessibilityPageZoom)}, |
| #endif // BUILDFLAG(IS_ANDROID) |
| {"enable-experimental-accessibility-language-detection", |
| flag_descriptions::kExperimentalAccessibilityLanguageDetectionName, |
| flag_descriptions::kExperimentalAccessibilityLanguageDetectionDescription, |
| kOsAll, |
| SINGLE_VALUE_TYPE( |
| ::switches::kEnableExperimentalAccessibilityLanguageDetection)}, |
| {"enable-experimental-accessibility-language-detection-dynamic", |
| flag_descriptions::kExperimentalAccessibilityLanguageDetectionDynamicName, |
| flag_descriptions:: |
| kExperimentalAccessibilityLanguageDetectionDynamicDescription, |
| kOsAll, |
| SINGLE_VALUE_TYPE( |
| ::switches::kEnableExperimentalAccessibilityLanguageDetectionDynamic)}, |
| {"enable-aria-element-reflection", |
| flag_descriptions::kAriaElementReflectionName, |
| flag_descriptions::kAriaElementReflectionDescription, kOsAll, |
| FEATURE_VALUE_TYPE(features::kEnableAriaElementReflection)}, |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"enable-cros-autocorrect-params-tuning", |
| flag_descriptions::kAutocorrectParamsTuningName, |
| flag_descriptions::kAutocorrectParamsTuningDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kAutocorrectParamsTuning)}, |
| {"enable-cros-autocorrect-toggle", |
| flag_descriptions::kAutocorrectToggleName, |
| flag_descriptions::kAutocorrectToggleDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kAutocorrectToggle)}, |
| {"enable-cros-autocorrect-by-default", |
| flag_descriptions::kAutocorrectByDefaultName, |
| flag_descriptions::kAutocorrectByDefaultDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kAutocorrectByDefault)}, |
| {"enable-cros-avatars-cloud-migration", |
| flag_descriptions::kAvatarsCloudMigrationName, |
| flag_descriptions::kAvatarsCloudMigrationDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kAvatarsCloudMigration)}, |
| {"enable-cros-diacritics-on-physical-keyboard-longpress", |
| flag_descriptions::kDiacriticsOnPhysicalKeyboardLongpressName, |
| flag_descriptions::kDiacriticsOnPhysicalKeyboardLongpressDescription, |
| kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kDiacriticsOnPhysicalKeyboardLongpress)}, |
| {"enable-cros-first-party-vietnamese-input", |
| flag_descriptions::kFirstPartyVietnameseInputName, |
| flag_descriptions::kFirstPartyVietnameseInputDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kFirstPartyVietnameseInput)}, |
| {"enable-cros-hindi-inscript-layout", |
| flag_descriptions::kHindiInscriptLayoutName, |
| flag_descriptions::kHindiInscriptLayoutDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kHindiInscriptLayout)}, |
| {"enable-cros-ime-assist-emoji-enhanced", |
| flag_descriptions::kImeAssistEmojiEnhancedName, |
| flag_descriptions::kImeAssistEmojiEnhancedDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kAssistEmojiEnhanced)}, |
| {"enable-cros-ime-assist-multi-word", |
| flag_descriptions::kImeAssistMultiWordName, |
| flag_descriptions::kImeAssistMultiWordDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kAssistMultiWord)}, |
| {"enable-cros-ime-assist-multi-word-expanded", |
| flag_descriptions::kImeAssistMultiWordExpandedName, |
| flag_descriptions::kImeAssistMultiWordExpandedDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kAssistMultiWordExpanded)}, |
| {"enable-cros-ime-fst-decoder-params-update", |
| flag_descriptions::kImeFstDecoderParamsUpdateName, |
| flag_descriptions::kImeFstDecoderParamsUpdateDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kImeFstDecoderParamsUpdate)}, |
| {"enable-cros-virtual-keyboard-new-header", |
| flag_descriptions::kVirtualKeyboardNewHeaderName, |
| flag_descriptions::kVirtualKeyboardNewHeaderDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kVirtualKeyboardNewHeader)}, |
| {"enable-cros-ime-system-emoji-picker-clipboard", |
| flag_descriptions::kImeSystemEmojiPickerClipboardName, |
| flag_descriptions::kImeSystemEmojiPickerClipboardDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kImeSystemEmojiPickerClipboard)}, |
| {"enable-cros-ime-system-emoji-picker-extension", |
| flag_descriptions::kImeSystemEmojiPickerExtensionName, |
| flag_descriptions::kImeSystemEmojiPickerExtensionDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kImeSystemEmojiPickerExtension)}, |
| {"enable-cros-ime-system-emoji-picker-gif-support", |
| flag_descriptions::kImeSystemEmojiPickerGIFSupportName, |
| flag_descriptions::kImeSystemEmojiPickerGIFSupportDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kImeSystemEmojiPickerGIFSupport)}, |
| {"enable-cros-ime-system-emoji-picker-search-extension", |
| flag_descriptions::kImeSystemEmojiPickerSearchExtensionName, |
| flag_descriptions::kImeSystemEmojiPickerSearchExtensionDescription, |
| kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kImeSystemEmojiPickerSearchExtension)}, |
| {"enable-cros-ime-stylus-handwriting", |
| flag_descriptions::kImeStylusHandwritingName, |
| flag_descriptions::kImeStylusHandwritingDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kImeStylusHandwriting)}, |
| {"enable-cros-ime-tray-hide-voice-button", |
| flag_descriptions::kImeTrayHideVoiceButtonName, |
| flag_descriptions::kImeTrayHideVoiceButtonDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kImeTrayHideVoiceButton)}, |
| {"enable-cros-ime-us-english-model-update", |
| flag_descriptions::kImeUsEnglishModelUpdateName, |
| flag_descriptions::kImeUsEnglishModelUpdateDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kImeUsEnglishModelUpdate)}, |
| {"enable-cros-multilingual-typing", |
| flag_descriptions::kMultilingualTypingName, |
| flag_descriptions::kMultilingualTypingDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kMultilingualTyping)}, |
| {"enable-cros-on-device-grammar-check", |
| flag_descriptions::kCrosOnDeviceGrammarCheckName, |
| flag_descriptions::kCrosOnDeviceGrammarCheckDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kOnDeviceGrammarCheck)}, |
| {"enable-cros-system-japanese-physical-typing", |
| flag_descriptions::kSystemJapanesePhysicalTypingName, |
| flag_descriptions::kSystemJapanesePhysicalTypingDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kSystemJapanesePhysicalTyping)}, |
| {"enable-cros-virtual-keyboard-multitouch", |
| flag_descriptions::kVirtualKeyboardMultitouchName, |
| flag_descriptions::kVirtualKeyboardMultitouchDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kVirtualKeyboardMultitouch)}, |
| {"enable-cros-virtual-keyboard-round-corners", |
| flag_descriptions::kVirtualKeyboardRoundCornersName, |
| flag_descriptions::kVirtualKeyboardRoundCornersDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kVirtualKeyboardRoundCorners)}, |
| {"enable-experimental-accessibility-dictation-context-checking", |
| flag_descriptions::kExperimentalAccessibilityDictationContextCheckingName, |
| flag_descriptions:: |
| kExperimentalAccessibilityDictationContextCheckingDescription, |
| kOsCrOS, |
| FEATURE_VALUE_TYPE( |
| features::kExperimentalAccessibilityDictationContextChecking)}, |
| {"enable-experimental-accessibility-google-tts-language-packs", |
| flag_descriptions::kExperimentalAccessibilityGoogleTtsLanguagePacksName, |
| flag_descriptions:: |
| kExperimentalAccessibilityGoogleTtsLanguagePacksDescription, |
| kOsCrOS, |
| FEATURE_VALUE_TYPE( |
| features::kExperimentalAccessibilityGoogleTtsLanguagePacks)}, |
| {"enable-experimental-accessibility-deprecate-chromevox-tabs", |
| flag_descriptions::kAccessibilityDeprecateChromeVoxTabsName, |
| flag_descriptions::kAccessibilityDeprecateChromeVoxTabsDescription, |
| kOsCrOS, |
| FEATURE_VALUE_TYPE(features::kAccessibilityDeprecateChromeVoxTabs)}, |
| {"enable-experimental-accessibility-switch-access-text", |
| flag_descriptions::kExperimentalAccessibilitySwitchAccessTextName, |
| flag_descriptions::kExperimentalAccessibilitySwitchAccessTextDescription, |
| kOsCrOS, |
| SINGLE_VALUE_TYPE( |
| ::switches::kEnableExperimentalAccessibilitySwitchAccessText)}, |
| {"enable-experimental-accessibility-color-enhancement-settings", |
| flag_descriptions::kExperimentalAccessibilityColorEnhancementSettingsName, |
| flag_descriptions:: |
| kExperimentalAccessibilityColorEnhancementSettingsDescription, |
| kOsCrOS, |
| FEATURE_VALUE_TYPE( |
| features::kExperimentalAccessibilityColorEnhancementSettings)}, |
| {"enable-system-proxy-for-system-services", |
| flag_descriptions::kSystemProxyForSystemServicesName, |
| flag_descriptions::kSystemProxyForSystemServicesDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kSystemProxyForSystemServices)}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| #if BUILDFLAG(IS_CHROMEOS) |
| {"enable-cros-touch-text-editing-redesign", |
| flag_descriptions::kTouchTextEditingRedesignName, |
| flag_descriptions::kTouchTextEditingRedesignDescription, |
| kOsCrOS | kOsLacros, |
| FEATURE_VALUE_TYPE(features::kTouchTextEditingRedesign)}, |
| #endif // BUILDFLAG(IS_CHROMEOS) |
| #if BUILDFLAG(IS_MAC) |
| {"enable-retry-capture-device-enumeration-on-crash", |
| flag_descriptions::kRetryGetVideoCaptureDeviceInfosName, |
| flag_descriptions::kRetryGetVideoCaptureDeviceInfosDescription, kOsMac, |
| FEATURE_VALUE_TYPE(features::kRetryGetVideoCaptureDeviceInfos)}, |
| #endif // BUILDFLAG(IS_MAC) |
| #if BUILDFLAG(IS_MAC) |
| {"enable-immersive-fullscreen-toolbar", |
| flag_descriptions::kImmersiveFullscreenName, |
| flag_descriptions::kImmersiveFullscreenDescription, kOsMac, |
| FEATURE_VALUE_TYPE(features::kImmersiveFullscreen)}, |
| #endif // BUILDFLAG(IS_MAC) |
| {"enable-web-payments-experimental-features", |
| flag_descriptions::kWebPaymentsExperimentalFeaturesName, |
| flag_descriptions::kWebPaymentsExperimentalFeaturesDescription, kOsAll, |
| FEATURE_VALUE_TYPE(payments::features::kWebPaymentsExperimentalFeatures)}, |
| {"ignore-csp-in-web-payment-api", |
| flag_descriptions::kIgnoreCSPInWebPaymentAPIName, |
| flag_descriptions::kIgnoreCSPInWebPaymentAPIDescription, kOsAll, |
| FEATURE_VALUE_TYPE(blink::features::kIgnoreCSPInWebPaymentAPI)}, |
| {"add-identity-in-can-make-payment", |
| flag_descriptions::kAddIdentityInCanMakePaymentEventName, |
| flag_descriptions::kAddIdentityInCanMakePaymentEventDescription, kOsAll, |
| FEATURE_VALUE_TYPE(blink::features::kAddIdentityInCanMakePaymentEvent)}, |
| {"enable-debug-for-store-billing", |
| flag_descriptions::kAppStoreBillingDebugName, |
| flag_descriptions::kAppStoreBillingDebugDescription, kOsAll, |
| FEATURE_VALUE_TYPE(payments::features::kAppStoreBillingDebug)}, |
| {"enable-debug-for-secure-payment-confirmation", |
| flag_descriptions::kSecurePaymentConfirmationDebugName, |
| flag_descriptions::kSecurePaymentConfirmationDebugDescription, kOsAll, |
| FEATURE_VALUE_TYPE(features::kSecurePaymentConfirmationDebug)}, |
| {"fill-on-account-select", flag_descriptions::kFillOnAccountSelectName, |
| flag_descriptions::kFillOnAccountSelectDescription, kOsAll, |
| FEATURE_VALUE_TYPE(password_manager::features::kFillOnAccountSelect)}, |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"arc-custom-tabs-experiment", |
| flag_descriptions::kArcCustomTabsExperimentName, |
| flag_descriptions::kArcCustomTabsExperimentDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(arc::kCustomTabsExperimentFeature)}, |
| {"arc-documents-provider-unknown-size", |
| flag_descriptions::kArcDocumentsProviderUnknownSizeName, |
| flag_descriptions::kArcDocumentsProviderUnknownSizeDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(arc::kDocumentsProviderUnknownSizeFeature)}, |
| {"arc-enable-aaudio-mmap", flag_descriptions::kArcEnableAAudioMMAPName, |
| flag_descriptions::kArcEnableAAudioMMAPDescription, kOsCrOS, |
| PLATFORM_FEATURE_NAME_TYPE("CrOSLateBootArcVmAAudioMMAP")}, |
| {"arc-enable-usap", flag_descriptions::kArcEnableUsapName, |
| flag_descriptions::kArcEnableUsapDesc, kOsCrOS, |
| FEATURE_VALUE_TYPE(arc::kEnableUsap)}, |
| {kArcEnableVirtioBlkForDataInternalName, |
| flag_descriptions::kArcEnableVirtioBlkForDataName, |
| flag_descriptions::kArcEnableVirtioBlkForDataDesc, kOsCrOS, |
| FEATURE_VALUE_TYPE(arc::kEnableVirtioBlkForData)}, |
| {"arc-file-picker-experiment", |
| flag_descriptions::kArcFilePickerExperimentName, |
| flag_descriptions::kArcFilePickerExperimentDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(arc::kFilePickerExperimentFeature)}, |
| {"arc-fixup-window", flag_descriptions::kArcFixupWindowName, |
| flag_descriptions::kArcFixupWindowDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(arc::kFixupWindowFeature)}, |
| {"arc-game-mode", flag_descriptions::kArcGameModeName, |
| flag_descriptions::kArcGameModeDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(arc::kGameModeFeature)}, |
| {"arc-ghost-window-new-style", |
| flag_descriptions::kArcGhostWindowNewStyleName, |
| flag_descriptions::kArcGhostWindowNewStyleDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(arc::kGhostWindowNewStyle)}, |
| {"arc-instant-response-window-open", |
| flag_descriptions::kArcInstantResponseWindowOpenName, |
| flag_descriptions::kArcInstantResponseWindowOpenDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(arc::kInstantResponseWindowOpen)}, |
| {"arc-keyboard-shortcut-helper-integration", |
| flag_descriptions::kArcKeyboardShortcutHelperIntegrationName, |
| flag_descriptions::kArcKeyboardShortcutHelperIntegrationDescription, |
| kOsCrOS, |
| FEATURE_VALUE_TYPE(arc::kKeyboardShortcutHelperIntegrationFeature)}, |
| {"arc-native-bridge-toggle", flag_descriptions::kArcNativeBridgeToggleName, |
| flag_descriptions::kArcNativeBridgeToggleDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(arc::kNativeBridgeToggleFeature)}, |
| {"arc-rt-vcpu-dual-core", flag_descriptions::kArcRtVcpuDualCoreName, |
| flag_descriptions::kArcRtVcpuDualCoreDesc, kOsCrOS, |
| FEATURE_VALUE_TYPE(arc::kRtVcpuDualCore)}, |
| {"arc-rt-vcpu-quad-core", flag_descriptions::kArcRtVcpuQuadCoreName, |
| flag_descriptions::kArcRtVcpuQuadCoreDesc, kOsCrOS, |
| FEATURE_VALUE_TYPE(arc::kRtVcpuQuadCore)}, |
| {"arc-switch-to-keymint-on-t", |
| flag_descriptions::kArcSwitchToKeyMintOnTName, |
| flag_descriptions::kArcSwitchToKeyMintOnTDesc, kOsCrOS, |
| FEATURE_VALUE_TYPE(arc::kSwitchToKeyMintOnT)}, |
| {"arc-sync-install-priority", |
| flag_descriptions::kArcSyncInstallPriorityName, |
| flag_descriptions::kArcSyncInstallPriorityDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(arc::kSyncInstallPriority)}, |
| {"arc-update-o4c-list-via-a2c2", |
| flag_descriptions::kArcUpdateO4CListViaA2C2Name, |
| flag_descriptions::kArcUpdateO4CListViaA2C2Desc, kOsCrOS, |
| FEATURE_VALUE_TYPE(arc::kArcUpdateO4CListViaA2C2)}, |
| {"arc-vmm-swap", flag_descriptions::kArcVmmSwapName, |
| flag_descriptions::kArcVmmSwapDesc, kOsCrOS, |
| PLATFORM_FEATURE_NAME_TYPE("CrOSLateBootArcVmmSwap")}, |
| {"arc-vmm-swap-keyboard-shortcut", |
| flag_descriptions::kArcVmmSwapKBShortcutName, |
| flag_descriptions::kArcVmmSwapKBShortcutDesc, kOsCrOS, |
| FEATURE_VALUE_TYPE(arc::kVmmSwapKeyboardShortcut)}, |
| {"enable-arc-host-vpn", flag_descriptions::kEnableArcHostVpnName, |
| flag_descriptions::kEnableArcHostVpnDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(arc::kEnableArcHostVpn)}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| {"enable-generic-sensor-extra-classes", |
| flag_descriptions::kEnableGenericSensorExtraClassesName, |
| flag_descriptions::kEnableGenericSensorExtraClassesDescription, kOsAll, |
| FEATURE_VALUE_TYPE(features::kGenericSensorExtraClasses)}, |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {ui_devtools::switches::kEnableUiDevTools, |
| flag_descriptions::kUiDevToolsName, |
| flag_descriptions::kUiDevToolsDescription, kOsCrOS, |
| SINGLE_VALUE_TYPE(ui_devtools::switches::kEnableUiDevTools)}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| {"enable-autofill-virtual-cards-on-touch-to-fill", |
| flag_descriptions::kAutofillVirtualCardsOnTouchToFillAndroidName, |
| flag_descriptions::kAutofillVirtualCardsOnTouchToFillAndroidDescription, |
| kOsAll, |
| FEATURE_VALUE_TYPE( |
| autofill::features::kAutofillVirtualCardsOnTouchToFillAndroid)}, |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"enable-autofill-manual-fallback", |
| flag_descriptions::kAutofillManualFallbackAndroidName, |
| flag_descriptions::kAutofillManualFallbackAndroidDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(autofill::features::kAutofillManualFallbackAndroid)}, |
| |
| {"enable-autofill-touch-to-fill-for-credit-cards", |
| flag_descriptions::kAutofillTouchToFillForCreditCardsAndroidName, |
| flag_descriptions::kAutofillTouchToFillForCreditCardsAndroidDescription, |
| kOsAndroid, |
| FEATURE_VALUE_TYPE( |
| autofill::features::kAutofillTouchToFillForCreditCardsAndroid)}, |
| #endif |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"enable-touchscreen-calibration", |
| flag_descriptions::kTouchscreenCalibrationName, |
| flag_descriptions::kTouchscreenCalibrationDescription, kOsCrOS, |
| SINGLE_VALUE_TYPE(ash::switches::kEnableTouchCalibrationSetting)}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"audio-url", flag_descriptions::kAudioUrlName, |
| flag_descriptions::kAudioUrlDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kAudioUrl)}, |
| {"prefer-constant-frame-rate", |
| flag_descriptions::kPreferConstantFrameRateName, |
| flag_descriptions::kPreferConstantFrameRateDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kPreferConstantFrameRate)}, |
| {"more-video-capture-buffers", |
| flag_descriptions::kMoreVideoCaptureBuffersName, |
| flag_descriptions::kMoreVideoCaptureBuffersDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kMoreVideoCaptureBuffers)}, |
| {"force-control-face-ae", flag_descriptions::kForceControlFaceAeName, |
| flag_descriptions::kForceControlFaceAeDescription, kOsCrOS, |
| MULTI_VALUE_TYPE(kForceControlFaceAeChoices)}, |
| {"auto-framing-override", flag_descriptions::kAutoFramingOverrideName, |
| flag_descriptions::kAutoFramingOverrideDescription, kOsCrOS, |
| MULTI_VALUE_TYPE(kAutoFramingOverrideChoices)}, |
| {"camera-app-low-storage-warning", |
| flag_descriptions::kCameraAppLowStorageWarningName, |
| flag_descriptions::kCameraAppLowStorageWarningDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kCameraAppLowStorageWarning)}, |
| {"camera-app-time-lapse", flag_descriptions::kCameraAppTimeLapseName, |
| flag_descriptions::kCameraAppTimeLapseDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kCameraAppTimeLapse)}, |
| {"crostini-gpu-support", flag_descriptions::kCrostiniGpuSupportName, |
| flag_descriptions::kCrostiniGpuSupportDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kCrostiniGpuSupport)}, |
| {"disable-camera-frame-rotation-at-source", |
| flag_descriptions::kDisableCameraFrameRotationAtSourceName, |
| flag_descriptions::kDisableCameraFrameRotationAtSourceDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(media::features::kDisableCameraFrameRotationAtSource)}, |
| {"drive-fs-chrome-networking", |
| flag_descriptions::kDriveFsChromeNetworkingName, |
| flag_descriptions::kDriveFsChromeNetworkingDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kDriveFsChromeNetworking)}, |
| {"file-transfer-enterprise-connector", |
| flag_descriptions::kFileTransferEnterpriseConnectorName, |
| flag_descriptions::kFileTransferEnterpriseConnectorDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(features::kFileTransferEnterpriseConnector)}, |
| {"files-app-experimental", flag_descriptions::kFilesAppExperimentalName, |
| flag_descriptions::kFilesAppExperimentalDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kFilesAppExperimental)}, |
| {"files-conflict-dialog", flag_descriptions::kFilesConflictDialogName, |
| flag_descriptions::kFilesConflictDialogDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kFilesConflictDialog)}, |
| {"files-drive-shortcuts", flag_descriptions::kFilesDriveShortcutsName, |
| flag_descriptions::kFilesDriveShortcutsDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kFilesDriveShortcuts)}, |
| {"files-inline-sync-status", flag_descriptions::kFilesInlineSyncStatusName, |
| flag_descriptions::kFilesInlineSyncStatusDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kFilesInlineSyncStatus)}, |
| {"files-single-partition-format", |
| flag_descriptions::kFilesSinglePartitionFormatName, |
| flag_descriptions::kFilesSinglePartitionFormatDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kFilesSinglePartitionFormat)}, |
| {"files-search-v2", flag_descriptions::kFilesSearchV2Name, |
| flag_descriptions::kFilesSearchV2Description, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kFilesSearchV2)}, |
| {"files-trash", flag_descriptions::kFilesTrashName, |
| flag_descriptions::kFilesTrashDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kFilesTrash)}, |
| {"files-trash-drive", flag_descriptions::kFilesTrashDriveName, |
| flag_descriptions::kFilesTrashDriveDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kFilesTrashDrive)}, |
| {"force-resync-drive", flag_descriptions::kForceReSyncDriveName, |
| flag_descriptions::kForceReSyncDriveDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kForceReSyncDrive)}, |
| {"force-spectre-v2-mitigation", |
| flag_descriptions::kForceSpectreVariant2MitigationName, |
| flag_descriptions::kForceSpectreVariant2MitigationDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE( |
| sandbox::policy::features::kForceSpectreVariant2Mitigation)}, |
| {"fuse-box-debug", flag_descriptions::kFuseBoxDebugName, |
| flag_descriptions::kFuseBoxDebugDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kFuseBoxDebug)}, |
| {kWelcomeScreenInternalName, flag_descriptions::kWelcomeScreenName, |
| flag_descriptions::kWelcomeScreenDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kGlanceables)}, |
| {"spectre-v2-mitigation", flag_descriptions::kSpectreVariant2MitigationName, |
| flag_descriptions::kSpectreVariant2MitigationDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(sandbox::policy::features::kSpectreVariant2Mitigation)}, |
| {"upload-office-to-cloud", flag_descriptions::kUploadOfficeToCloudName, |
| flag_descriptions::kUploadOfficeToCloudName, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kUploadOfficeToCloud)}, |
| {"eap-gtc-wifi-authentication", |
| flag_descriptions::kEapGtcWifiAuthenticationName, |
| flag_descriptions::kEapGtcWifiAuthenticationDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kEapGtcWifiAuthentication)}, |
| {"audio-peripheral-volume-granularity", |
| flag_descriptions::kAudioPeripheralVolumeGranularityName, |
| flag_descriptions::kAudioPeripheralVolumeGranularityDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kAudioPeripheralVolumeGranularity)}, |
| |
| {"eche-swa", flag_descriptions::kEcheSWAName, |
| flag_descriptions::kEcheSWADescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kEcheSWA)}, |
| {"eche-launcher", flag_descriptions::kEcheLauncherName, |
| flag_descriptions::kEcheLauncherDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kEcheLauncher)}, |
| {"eche-launcher-app-icon-in-more-apps-button", |
| flag_descriptions::kEcheLauncherIconsInMoreAppsButtonName, |
| flag_descriptions::kEcheLauncherIconsInMoreAppsButtonDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kEcheLauncherIconsInMoreAppsButton)}, |
| {"eche-launcher-list-view", flag_descriptions::kEcheLauncherListViewName, |
| flag_descriptions::kEcheLauncherListViewDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kEcheLauncherListView)}, |
| {"eche-network-connection-state", |
| flag_descriptions::kEcheNetworkConnectionStateName, |
| flag_descriptions::kEcheNetworkConnectionStateDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kEcheNetworkConnectionState)}, |
| {"eche-swa-check-android-network-info", |
| flag_descriptions::kEcheSWACheckAndroidNetworkInfoName, |
| flag_descriptions::kEcheSWACheckAndroidNetworkInfoDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kEcheSWACheckAndroidNetworkInfo)}, |
| {"eche-swa-process-android-accessibility-tree", |
| flag_descriptions::kEcheSWAProcessAndroidAccessibilityTreeName, |
| flag_descriptions::kEcheSWAProcessAndroidAccessibilityTreeDescription, |
| kOsCrOS, |
| FEATURE_VALUE_TYPE( |
| ash::features::kEcheSWAProcessAndroidAccessibilityTree)}, |
| {"eche-swa-debug-mode", flag_descriptions::kEcheSWADebugModeName, |
| flag_descriptions::kEcheSWADebugModeDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kEcheSWADebugMode)}, |
| {"eche-swa-disable-stun-server", |
| flag_descriptions::kEcheSWADisableStunServerName, |
| flag_descriptions::kEcheSWADisableStunServerDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kEcheSWADisableStunServer)}, |
| {"eche-swa-measure-latency", flag_descriptions::kEcheSWAMeasureLatencyName, |
| flag_descriptions::kEcheSWAMeasureLatencyDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kEcheSWAMeasureLatency)}, |
| {"eche-swa-send-start-signaling", |
| flag_descriptions::kEcheSWASendStartSignalingName, |
| flag_descriptions::kEcheSWASendStartSignalingDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kEcheSWASendStartSignaling)}, |
| {"phone-hub-nudge", flag_descriptions::kPhoneHubNudgeName, |
| flag_descriptions::kPhoneHubNudgeDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kPhoneHubNudge)}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| #if BUILDFLAG(IS_MAC) |
| {"enable-universal-links", flag_descriptions::kEnableUniversalLinksName, |
| flag_descriptions::kEnableUniversalLinksDescription, kOsMac, |
| FEATURE_VALUE_TYPE(features::kEnableUniveralLinks)}, |
| #endif // BUILDFLAG(IS_MAC) |
| |
| #if BUILDFLAG(IS_ANDROID) |
| |
| {"omnibox-adapt-narrow-tablet-windows", |
| flag_descriptions::kOmniboxAdaptNarrowTabletWindowsName, |
| flag_descriptions::kOmniboxAdaptNarrowTabletWindowsDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(chrome::android::kOmniboxAdaptNarrowTabletWindows)}, |
| |
| {"omnibox-assistant-voice-search", |
| flag_descriptions::kOmniboxAssistantVoiceSearchName, |
| flag_descriptions::kOmniboxAssistantVoiceSearchDescription, kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kOmniboxAssistantVoiceSearch, |
| kOmniboxAssistantVoiceSearchVariations, |
| "OmniboxAssistantVoiceSearch")}, |
| |
| {"omnibox-consumes-ime-insets", |
| flag_descriptions::kOmniboxConsumesImeInsetsName, |
| flag_descriptions::kOmniboxConsumesImeInsetsDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(chrome::android::kOmniboxConsumesImeInsets)}, |
| |
| {"omnibox-match-toolbar-and-status-bar-color", |
| flag_descriptions::kOmniboxMatchToolbarAndStatusBarColorName, |
| flag_descriptions::kOmniboxMatchToolbarAndStatusBarColorDescription, |
| kOsAndroid, |
| FEATURE_VALUE_TYPE(omnibox::kOmniboxMatchToolbarAndStatusBarColor)}, |
| |
| {"omnibox-modernize-visual-update", |
| flag_descriptions::kOmniboxModernizeVisualUpdateName, |
| flag_descriptions::kOmniboxModernizeVisualUpdateDescription, kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE( |
| chrome::android::kOmniboxModernizeVisualUpdate, |
| kOmniboxModernizeVisualUpdateVariations, |
| "OmniboxModernizeVisualUpdate")}, |
| |
| {"omnibox-most-visited-tiles-add-recycled-view-poll", |
| flag_descriptions::kOmniboxMostVisitedTilesAddRecycledViewPoolName, |
| flag_descriptions::kOmniboxMostVisitedTilesAddRecycledViewPoolDescription, |
| kOsAndroid, |
| FEATURE_VALUE_TYPE(omnibox::kOmniboxMostVisitedTilesAddRecycledViewPool)}, |
| |
| {"omnibox-remove-excessive-recycled-view-clear-calls", |
| flag_descriptions::kOmniboxRemoveExcessiveRecycledViewClearCallsName, |
| flag_descriptions:: |
| kOmniboxRemoveExcessiveRecycledViewClearCallsDescription, |
| kOsAndroid, |
| FEATURE_VALUE_TYPE( |
| omnibox::kOmniboxRemoveExcessiveRecycledViewClearCalls)}, |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| {"omnibox-local-history-zero-suggest-beyond-ntp", |
| flag_descriptions::kOmniboxLocalHistoryZeroSuggestBeyondNTPName, |
| flag_descriptions::kOmniboxLocalHistoryZeroSuggestBeyondNTPDescription, |
| kOsAll, FEATURE_VALUE_TYPE(omnibox::kLocalHistoryZeroSuggestBeyondNTP)}, |
| |
| {"omnibox-on-clobber-focus-type-on-content", |
| flag_descriptions::kOmniboxOnClobberFocusTypeOnContentName, |
| flag_descriptions::kOmniboxOnClobberFocusTypeOnContentDescription, kOsAll, |
| FEATURE_VALUE_TYPE(omnibox::kOmniboxOnClobberFocusTypeOnContent)}, |
| |
| {"omnibox-on-focus-suggestions-contextual-web", |
| flag_descriptions::kOmniboxFocusTriggersContextualWebZeroSuggestName, |
| flag_descriptions:: |
| kOmniboxFocusTriggersContextualWebZeroSuggestDescription, |
| kOsAll, |
| FEATURE_VALUE_TYPE(omnibox::kFocusTriggersContextualWebZeroSuggest)}, |
| |
| {"omnibox-on-focus-suggestions-srp", |
| flag_descriptions::kOmniboxFocusTriggersSRPZeroSuggestName, |
| flag_descriptions::kOmniboxFocusTriggersSRPZeroSuggestDescription, kOsAll, |
| FEATURE_VALUE_TYPE(omnibox::kFocusTriggersSRPZeroSuggest)}, |
| |
| {"omnibox-experimental-suggest-scoring", |
| flag_descriptions::kOmniboxExperimentalSuggestScoringName, |
| flag_descriptions::kOmniboxExperimentalSuggestScoringDescription, kOsAll, |
| FEATURE_VALUE_TYPE(omnibox::kOmniboxExperimentalSuggestScoring)}, |
| |
| {"omnibox-fuzzy-url-suggestions", |
| flag_descriptions::kOmniboxFuzzyUrlSuggestionsName, |
| flag_descriptions::kOmniboxFuzzyUrlSuggestionsDescription, kOsAll, |
| FEATURE_VALUE_TYPE(omnibox::kOmniboxFuzzyUrlSuggestions)}, |
| |
| {"omnibox-default-browser-pedal", |
| flag_descriptions::kOmniboxDefaultBrowserPedalName, |
| flag_descriptions::kOmniboxDefaultBrowserPedalDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(omnibox::kOmniboxDefaultBrowserPedal)}, |
| |
| {"omnibox-report-assisted-query-stats", |
| flag_descriptions::kOmniboxReportAssistedQueryStatsName, |
| flag_descriptions::kOmniboxReportAssistedQueryStatsDescription, kOsAll, |
| FEATURE_VALUE_TYPE(omnibox::kReportAssistedQueryStats)}, |
| |
| {"omnibox-report-searchbox-stats", |
| flag_descriptions::kOmniboxReportSearchboxStatsName, |
| flag_descriptions::kOmniboxReportSearchboxStatsDescription, kOsAll, |
| FEATURE_VALUE_TYPE(omnibox::kReportSearchboxStats)}, |
| |
| {"omnibox-zero-suggest-prefetching", |
| flag_descriptions::kOmniboxZeroSuggestPrefetchingName, |
| flag_descriptions::kOmniboxZeroSuggestPrefetchingDescription, kOsAll, |
| FEATURE_VALUE_TYPE(omnibox::kZeroSuggestPrefetching)}, |
| |
| {"omnibox-zero-suggest-prefetching-on-srp", |
| flag_descriptions::kOmniboxZeroSuggestPrefetchingOnSRPName, |
| flag_descriptions::kOmniboxZeroSuggestPrefetchingOnSRPDescription, kOsAll, |
| FEATURE_VALUE_TYPE(omnibox::kZeroSuggestPrefetchingOnSRP)}, |
| |
| {"omnibox-zero-suggest-prefetching-on-web", |
| flag_descriptions::kOmniboxZeroSuggestPrefetchingOnWebName, |
| flag_descriptions::kOmniboxZeroSuggestPrefetchingOnWebDescription, kOsAll, |
| FEATURE_VALUE_TYPE(omnibox::kZeroSuggestPrefetchingOnWeb)}, |
| |
| {"omnibox-zero-suggest-in-memory-caching", |
| flag_descriptions::kOmniboxZeroSuggestInMemoryCachingName, |
| flag_descriptions::kOmniboxZeroSuggestInMemoryCachingDescription, kOsAll, |
| FEATURE_VALUE_TYPE(omnibox::kZeroSuggestInMemoryCaching)}, |
| |
| {"omnibox-discard-temporary-input-on-tab-switch", |
| flag_descriptions::kOmniboxDiscardTemporaryInputOnTabSwitchName, |
| flag_descriptions::kOmniboxDiscardTemporaryInputOnTabSwitchDescription, |
| kOsAll, FEATURE_VALUE_TYPE(omnibox::kDiscardTemporaryInputOnTabSwitch)}, |
| |
| {"omnibox-redo-current-match", |
| flag_descriptions::kOmniboxRedoCurrentMatchName, |
| flag_descriptions::kOmniboxRedoCurrentMatchDescription, kOsAll, |
| FEATURE_VALUE_TYPE(omnibox::kRedoCurrentMatch)}, |
| |
| {"omnibox-revert-model-before-closing-popup", |
| flag_descriptions::kOmniboxRevertModelBeforeClosingPopupName, |
| flag_descriptions::kOmniboxRevertModelBeforeClosingPopupDescription, |
| kOsAll, FEATURE_VALUE_TYPE(omnibox::kRevertModelBeforeClosingPopup)}, |
| |
| {"omnibox-use-existing-autocomplete-client", |
| flag_descriptions::kOmniboxUseExistingAutocompleteClientName, |
| flag_descriptions::kOmniboxUseExistingAutocompleteClientDescription, |
| kOsAll, FEATURE_VALUE_TYPE(omnibox::kUseExistingAutocompleteClient)}, |
| |
| #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \ |
| BUILDFLAG(IS_WIN) || BUILDFLAG(IS_FUCHSIA) |
| {"omnibox-experimental-keyword-mode", |
| flag_descriptions::kOmniboxExperimentalKeywordModeName, |
| flag_descriptions::kOmniboxExperimentalKeywordModeDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(omnibox::kExperimentalKeywordMode)}, |
| {"omnibox-domain-suggestions", |
| flag_descriptions::kOmniboxDomainSuggestionsName, |
| flag_descriptions::kOmniboxDomainSuggestionsDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(omnibox::kDomainSuggestions)}, |
| {"omnibox-history-quick-provider-specificity-score-count-unique-hosts", |
| flag_descriptions:: |
| kOmniboxHistoryQuickProviderSpecificityScoreCountUniqueHostsName, |
| flag_descriptions:: |
| kOmniboxHistoryQuickProviderSpecificityScoreCountUniqueHostsDescription, |
| kOsDesktop, |
| FEATURE_VALUE_TYPE( |
| omnibox::kHistoryQuickProviderSpecificityScoreCountUniqueHosts)}, |
| {"omnibox-drive-suggestions", |
| flag_descriptions::kOmniboxDriveSuggestionsName, |
| flag_descriptions::kOmniboxDriveSuggestionsDescription, kOsDesktop, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kDocumentProvider, |
| kOmniboxDocumentProviderVariations, |
| "OmniboxBundledExperimentV1")}, |
| {"omnibox-shortcut-boost", flag_descriptions::kOmniboxShortcutBoostName, |
| flag_descriptions::kOmniboxShortcutBoostDescription, kOsDesktop, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kShortcutBoost, |
| kOmniboxShortcutBoostVariations, |
| "OmniboxBundledExperimentV1")}, |
| {"omnibox-rich-autocompletion-promising", |
| flag_descriptions::kOmniboxRichAutocompletionPromisingName, |
| flag_descriptions::kOmniboxRichAutocompletionPromisingDescription, |
| kOsDesktop, |
| FEATURE_WITH_PARAMS_VALUE_TYPE( |
| omnibox::kRichAutocompletion, |
| kOmniboxRichAutocompletionPromisingVariations, |
| "OmniboxBundledExperimentV1")}, |
| {"omnibox-disable-cgi-param-matching", |
| flag_descriptions::kOmniboxDisableCGIParamMatchingName, |
| flag_descriptions::kOmniboxDisableCGIParamMatchingDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(omnibox::kDisableCGIParamMatching)}, |
| {"omnibox-site-search-starter-pack", |
| flag_descriptions::kOmniboxSiteSearchStarterPackName, |
| flag_descriptions::kOmniboxSiteSearchStarterPackDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(omnibox::kSiteSearchStarterPack)}, |
| {"omnibox-shortcut-expanding", |
| flag_descriptions::kOmniboxShortcutExpandingName, |
| flag_descriptions::kOmniboxShortcutExpandingDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(omnibox::kShortcutExpanding)}, |
| {"omnibox-close-popup-with-escape", |
| flag_descriptions::kOmniboxClosePopupWithEscapeName, |
| flag_descriptions::kOmniboxClosePopupWithEscapeDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(omnibox::kClosePopupWithEscape)}, |
| {"omnibox-ml-log-url-scoring-signals", |
| flag_descriptions::kOmniboxMlLogUrlScoringSignalsName, |
| flag_descriptions::kOmniboxMlLogUrlScoringSignalsDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(omnibox::kLogUrlScoringSignals)}, |
| {"omnibox-ml-relevance-scoring", |
| flag_descriptions::kOmniboxMlRelevanceScoringName, |
| flag_descriptions::kOmniboxMlRelevanceScoringDescription, kOsDesktop, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kMlRelevanceScoring, |
| kOmniboxMlRelevanceScoringVariations, |
| "MlRelevanceScoring")}, |
| {"omnibox-ml-url-scoring-model", |
| flag_descriptions::kOmniboxMlUrlScoringModelName, |
| flag_descriptions::kOmniboxMlUrlScoringModelDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(omnibox::kUrlScoringModel)}, |
| #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || |
| // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_FUCHSIA) |
| #if BUILDFLAG(IS_ANDROID) |
| {"omnibox-inspire-me", flag_descriptions::kOmniboxInspireMeName, |
| flag_descriptions::kOmniboxInspireMeDescription, kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kInspireMe, |
| kOmniboxInspireMeVariants, |
| "OmniboxBundledExperimentV1")}, |
| #endif // BUILDFLAG(IS_ANDROID) |
| #if BUILDFLAG(IS_WIN) |
| {"omnibox-on-device-head-suggestions", |
| flag_descriptions::kOmniboxOnDeviceHeadSuggestionsName, |
| flag_descriptions::kOmniboxOnDeviceHeadSuggestionsDescription, kOsWin, |
| FEATURE_VALUE_TYPE(omnibox::kOnDeviceHeadProviderNonIncognito)}, |
| {"omnibox-on-device-head-suggestions-incognito", |
| flag_descriptions::kOmniboxOnDeviceHeadSuggestionsIncognitoName, |
| flag_descriptions::kOmniboxOnDeviceHeadSuggestionsIncognitoDescription, |
| kOsWin, FEATURE_VALUE_TYPE(omnibox::kOnDeviceHeadProviderIncognito)}, |
| #endif // BUILDFLAG(IS_WIN) |
| |
| {"omnibox-on-device-tail-suggestions", |
| flag_descriptions::kOmniboxOnDeviceTailSuggestionsName, |
| flag_descriptions::kOmniboxOnDeviceTailSuggestionsDescription, kOsAll, |
| FEATURE_VALUE_TYPE(omnibox::kOnDeviceTailModel)}, |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"scheduler-configuration", flag_descriptions::kSchedulerConfigurationName, |
| flag_descriptions::kSchedulerConfigurationDescription, kOsCrOS, |
| MULTI_VALUE_TYPE(kSchedulerConfigurationChoices)}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"enable-command-line-on-non-rooted-devices", |
| flag_descriptions::kEnableCommandLineOnNonRootedName, |
| flag_descriptions::kEnableCommandLineOnNoRootedDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(chrome::android::kCommandLineOnNonRooted)}, |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"revoke-notifications-permission-if-disabled-on-app-level", |
| flag_descriptions::kRevokeNotificationsPermissionIfDisabledOnAppLevelName, |
| flag_descriptions:: |
| kRevokeNotificationsPermissionIfDisabledOnAppLevelDescription, |
| kOsAndroid, |
| FEATURE_VALUE_TYPE( |
| features::kRevokeNotificationsPermissionIfDisabledOnAppLevel)}, |
| {"app-menu-mobile-site-option", |
| flag_descriptions::kAppMenuMobileSiteOptionName, |
| flag_descriptions::kAppMenuMobileSiteOptionDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(chrome::android::kAppMenuMobileSiteOption)}, |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| {"force-color-profile", flag_descriptions::kForceColorProfileName, |
| flag_descriptions::kForceColorProfileDescription, kOsAll, |
| MULTI_VALUE_TYPE(kForceColorProfileChoices)}, |
| |
| {"forced-colors", flag_descriptions::kForcedColorsName, |
| flag_descriptions::kForcedColorsDescription, kOsAll, |
| FEATURE_VALUE_TYPE(features::kForcedColors)}, |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"dynamic-color-gamut", flag_descriptions::kDynamicColorGamutName, |
| flag_descriptions::kDynamicColorGamutDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(features::kDynamicColorGamut)}, |
| #endif |
| |
| {"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-max-zero-suggest-matches", |
| flag_descriptions::kOmniboxMaxZeroSuggestMatchesName, |
| flag_descriptions::kOmniboxMaxZeroSuggestMatchesDescription, |
| kOsDesktop | kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kMaxZeroSuggestMatches, |
| kMaxZeroSuggestMatchesVariations, |
| "OmniboxBundledExperimentV1")}, |
| |
| {"omnibox-ui-max-autocomplete-matches", |
| flag_descriptions::kOmniboxUIMaxAutocompleteMatchesName, |
| flag_descriptions::kOmniboxUIMaxAutocompleteMatchesDescription, |
| kOsDesktop | kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE( |
| omnibox::kUIExperimentMaxAutocompleteMatches, |
| kOmniboxUIMaxAutocompleteMatchesVariations, |
| "OmniboxBundledExperimentV1")}, |
| |
| {"omnibox-max-url-matches", flag_descriptions::kOmniboxMaxURLMatchesName, |
| flag_descriptions::kOmniboxMaxURLMatchesDescription, kOsAll, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kOmniboxMaxURLMatches, |
| kOmniboxMaxURLMatchesVariations, |
| "OmniboxMaxURLMatchesVariations")}, |
| |
| {"omnibox-dynamic-max-autocomplete", |
| flag_descriptions::kOmniboxDynamicMaxAutocompleteName, |
| flag_descriptions::kOmniboxDynamicMaxAutocompleteDescription, kOsAll, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kDynamicMaxAutocomplete, |
| kOmniboxDynamicMaxAutocompleteVariations, |
| "OmniboxBundledExperimentV1")}, |
| |
| {"omnibox-keep-secondary-zero-suggest", |
| flag_descriptions::kOmniboxKeepSecondaryZeroSuggestName, |
| flag_descriptions::kOmniboxKeepSecondaryZeroSuggestDescription, kOsAll, |
| FEATURE_VALUE_TYPE(omnibox::kKeepSecondaryZeroSuggest)}, |
| |
| {"omnibox-bookmark-paths", flag_descriptions::kOmniboxBookmarkPathsName, |
| flag_descriptions::kOmniboxBookmarkPathsDescription, kOsAll, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kBookmarkPaths, |
| kOmniboxBookmarkPathsVariations, |
| "OmniboxBundledExperimentV1")}, |
| |
| {"omnibox-short-bookmark-suggestions", |
| flag_descriptions::kOmniboxShortBookmarkSuggestionsName, |
| flag_descriptions::kOmniboxShortBookmarkSuggestionsDescription, kOsAll, |
| FEATURE_VALUE_TYPE(omnibox::kShortBookmarkSuggestions)}, |
| |
| {"omnibox-square-suggest-icons", |
| flag_descriptions::kOmniboxSimplifiedUiSquareSuggestIconName, |
| flag_descriptions::kOmniboxSimplifiedUiSquareSuggestIconDescription, |
| kOsAll, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kSquareSuggestIcons, |
| kOmniboxSquareSuggestionIconVariations, |
| "OmniboxBundledExperimentV1")}, |
| |
| {"omnibox-uniform-suggestion-height", |
| flag_descriptions::kOmniboxSimplifiedUiUniformRowHeightName, |
| flag_descriptions::kOmniboxSimplifiedUiUniformRowHeightDescription, kOsAll, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kUniformRowHeight, |
| kOmniboxSuggestionHeightVariations, |
| "Uniform Omnibox Suggest Heights")}, |
| |
| {"omnibox-gm3-steady-state-background-color", |
| flag_descriptions::kOmniboxGM3SteadyStateBackgroundColorName, |
| flag_descriptions::kOmniboxGM3SteadyStateBackgroundColorDescription, |
| kOsAll, FEATURE_VALUE_TYPE(omnibox::kOmniboxSteadyStateBackgroundColor)}, |
| |
| {"omnibox-gm3-steady-state-height", |
| flag_descriptions::kOmniboxGM3SteadyStateHeightName, |
| flag_descriptions::kOmniboxGM3SteadyStateHeightDescription, kOsAll, |
| FEATURE_VALUE_TYPE(omnibox::kOmniboxSteadyStateHeight)}, |
| |
| {"omnibox-gm3-steady-state-text-style", |
| flag_descriptions::kOmniboxGM3SteadyStateTextStyleName, |
| flag_descriptions::kOmniboxGM3SteadyStateTextStyleDescription, kOsAll, |
| FEATURE_VALUE_TYPE(omnibox::kOmniboxSteadyStateTextStyle)}, |
| |
| {"omnibox-grouping-framework-zps", |
| flag_descriptions::kOmniboxGroupingFrameworkZPSName, |
| flag_descriptions::kOmniboxGroupingFrameworkDescription, kOsAll, |
| FEATURE_VALUE_TYPE(omnibox::kGroupingFrameworkForZPS)}, |
| |
| {"omnibox-grouping-framework-non-zps", |
| flag_descriptions::kOmniboxGroupingFrameworkNonZPSName, |
| flag_descriptions::kOmniboxGroupingFrameworkDescription, kOsAll, |
| FEATURE_VALUE_TYPE(omnibox::kGroupingFrameworkForNonZPS)}, |
| |
| {"optimization-guide-debug-logs", |
| flag_descriptions::kOptimizationGuideDebugLogsName, |
| flag_descriptions::kOptimizationGuideDebugLogsDescription, kOsAll, |
| SINGLE_VALUE_TYPE(optimization_guide::switches::kDebugLoggingEnabled)}, |
| |
| {"optimization-guide-install-wide-model-store", |
| flag_descriptions::kOptimizationGuideInstallWideModelStoreName, |
| flag_descriptions::kOptimizationGuideInstallWideModelStoreDescription, |
| kOsAll, |
| FEATURE_VALUE_TYPE(optimization_guide::features:: |
| kOptimizationGuideInstallWideModelStore)}, |
| |
| {"organic-repeatable-queries", |
| flag_descriptions::kOrganicRepeatableQueriesName, |
| flag_descriptions::kOrganicRepeatableQueriesDescription, |
| kOsDesktop | kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(history::kOrganicRepeatableQueries, |
| kOrganicRepeatableQueriesVariations, |
| "OrganicRepeatableQueries")}, |
| |
| {"history-journeys", flag_descriptions::kJourneysName, |
| flag_descriptions::kJourneysDescription, kOsDesktop | kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(history_clusters::internal::kJourneys, |
| kJourneysVariations, |
| "HistoryJourneys")}, |
| |
| {"history-journeys-content-clustering", |
| flag_descriptions::kJourneysContentClusteringName, |
| flag_descriptions::kJourneysContentClusteringDescription, |
| kOsDesktop | kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE( |
| history_clusters::features::kOnDeviceClusteringContentClustering, |
| kJourneysContentClusteringVariations, |
| "HistoryJourneysContentClustering")}, |
| |
| {"history-journeys-images", flag_descriptions::kJourneysImagesName, |
| flag_descriptions::kJourneysImagesDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(history_clusters::internal::kJourneysImages)}, |
| |
| {"history-journeys-labels", flag_descriptions::kJourneysLabelsName, |
| flag_descriptions::kJourneysLabelsDescription, kOsDesktop | kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(history_clusters::internal::kJourneysLabels, |
| kJourneysLabelsVariations, |
| "HistoryJourneysLabels")}, |
| |
| {"history-journeys-navigation-context-clustering", |
| flag_descriptions::kJourneysNavigationContextClusteringName, |
| flag_descriptions::kJourneysNavigationContextClusteringDescription, |
| kOsDesktop | kOsAndroid, |
| FEATURE_VALUE_TYPE(history_clusters::internal:: |
| kHistoryClustersNavigationContextClustering)}, |
| |
| {"history-journeys-omnibox-action", |
| flag_descriptions::kJourneysOmniboxActionName, |
| flag_descriptions::kJourneysOmniboxActionDescription, |
| kOsDesktop | kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(history_clusters::internal::kOmniboxAction, |
| kJourneysOmniboxActionVariations, |
| "JourneysOmniboxTriggering")}, |
| |
| {"history-journeys-omnibox-history-cluster-provider", |
| flag_descriptions::kJourneysOmniboxHistoryClusterProviderName, |
| flag_descriptions::kJourneysOmniboxHistoryClusterProviderDescription, |
| kOsDesktop | kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE( |
| history_clusters::internal::kOmniboxHistoryClusterProvider, |
| kJourneysOmniboxHistoryClusterProviderVariations, |
| "JourneysOmniboxTriggering")}, |
| |
| {"history-journeys-persisted-clusters", |
| flag_descriptions::kJourneysPersistedClustersName, |
| flag_descriptions::kJourneysPersistedClustersDescription, |
| kOsDesktop | kOsAndroid, |
| FEATURE_VALUE_TYPE(history_clusters::internal::kPersistedClusters)}, |
| |
| {"history-journeys-persist-caches-to-prefs", |
| flag_descriptions::kJourneysPersistCachesToPrefsName, |
| flag_descriptions::kJourneysPersistCachesToPrefsDescription, |
| kOsDesktop | kOsAndroid, |
| FEATURE_VALUE_TYPE( |
| history_clusters::internal::kJourneysPersistCachesToPrefs)}, |
| |
| {"history-journeys-show-all-clusters", |
| flag_descriptions::kJourneysShowAllClustersName, |
| flag_descriptions::kJourneysShowAllClustersDescription, |
| kOsDesktop | kOsAndroid, |
| SINGLE_VALUE_TYPE(history_clusters::switches:: |
| kShouldShowAllClustersOnProminentUiSurfaces)}, |
| |
| {"history-journeys-include-synced-visits", |
| flag_descriptions::kJourneysIncludeSyncedVisitsName, |
| flag_descriptions::kJourneysIncludeSyncedVisitsDescription, |
| kOsDesktop | kOsAndroid, |
| FEATURE_VALUE_TYPE( |
| history_clusters::internal::kJourneysIncludeSyncedVisits)}, |
| |
| {"history-journeys-hide-visits", flag_descriptions::kJourneysHideVisitsName, |
| flag_descriptions::kJourneysHideVisitsDescription, kOsDesktop, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(history_clusters::internal::kHideVisits, |
| kJourneysHideVisitsVariations, |
| "JourneysHide")}, |
| |
| {"extract-related-searches-from-prefetched-zps-response", |
| flag_descriptions::kExtractRelatedSearchesFromPrefetchedZPSResponseName, |
| flag_descriptions:: |
| kExtractRelatedSearchesFromPrefetchedZPSResponseDescription, |
| kOsDesktop | kOsAndroid, |
| FEATURE_VALUE_TYPE(optimization_guide::features:: |
| kExtractRelatedSearchesFromPrefetchedZPSResponse)}, |
| |
| {"page-image-service-optimization-guide-salient-images", |
| flag_descriptions::kPageImageServiceOptimizationGuideSalientImagesName, |
| flag_descriptions:: |
| kPageImageServiceOptimizationGuideSalientImagesDescription, |
| kOsDesktop, |
| FEATURE_WITH_PARAMS_VALUE_TYPE( |
| image_service::kImageServiceOptimizationGuideSalientImages, |
| kImageServiceOptimizationGuideSalientImagesVariations, |
| "PageImageService")}, |
| |
| {"page-image-service-suggest-powered-images", |
| flag_descriptions::kPageImageServiceSuggestPoweredImagesName, |
| flag_descriptions::kPageImageServiceSuggestPoweredImagesDescription, |
| kOsDesktop, |
| FEATURE_VALUE_TYPE(image_service::kImageServiceSuggestPoweredImages)}, |
| |
| {"page-content-annotations", flag_descriptions::kPageContentAnnotationsName, |
| flag_descriptions::kPageContentAnnotationsDescription, |
| kOsDesktop | kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE( |
| optimization_guide::features::kPageContentAnnotations, |
| kPageContentAnnotationsVariations, |
| "PageContentAnnotations")}, |
| |
| {"page-content-annotations-persist-salient-image-metadata", |
| flag_descriptions::kPageContentAnnotationsPersistSalientImageMetadataName, |
| flag_descriptions:: |
| kPageContentAnnotationsPersistSalientImageMetadataDescription, |
| kOsDesktop, |
| FEATURE_VALUE_TYPE( |
| optimization_guide::features:: |
| kPageContentAnnotationsPersistSalientImageMetadata)}, |
| |
| {"page-entities-page-content-annotations", |
| flag_descriptions::kPageEntitiesPageContentAnnotationsName, |
| flag_descriptions::kPageEntitiesPageContentAnnotationsDescription, |
| kOsDesktop | kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE( |
| optimization_guide::features::kPageEntitiesPageContentAnnotations, |
| kPageEntitiesPageContentAnnotationsVariations, |
| "PageEntitiesPageContentAnnotations")}, |
| |
| {"page-visibility-page-content-annotations", |
| flag_descriptions::kPageVisibilityPageContentAnnotationsName, |
| flag_descriptions::kPageVisibilityPageContentAnnotationsDescription, |
| kOsDesktop | kOsAndroid, |
| FEATURE_VALUE_TYPE( |
| optimization_guide::features::kPageVisibilityPageContentAnnotations)}, |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"handwriting-gesture-editing", |
| flag_descriptions::kHandwritingGestureEditingName, |
| flag_descriptions::kHandwritingGestureEditingDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kHandwritingGestureEditing)}, |
| {"handwriting-legacy-recognition", |
| flag_descriptions::kHandwritingLegacyRecognitionName, |
| flag_descriptions::kHandwritingLegacyRecognitionDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kHandwritingLegacyRecognition)}, |
| {"handwriting-library-dlc", flag_descriptions::kHandwritingLibraryDlcName, |
| flag_descriptions::kHandwritingLibraryDlcDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kHandwritingLibraryDlc)}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| {"block-insecure-private-network-requests", |
| flag_descriptions::kBlockInsecurePrivateNetworkRequestsName, |
| flag_descriptions::kBlockInsecurePrivateNetworkRequestsDescription, kOsAll, |
| FEATURE_VALUE_TYPE(features::kBlockInsecurePrivateNetworkRequests)}, |
| |
| {"private-network-access-respect-preflight-results", |
| flag_descriptions::kPrivateNetworkAccessRespectPreflightResultsName, |
| flag_descriptions::kPrivateNetworkAccessRespectPreflightResultsDescription, |
| kOsAll, |
| FEATURE_VALUE_TYPE( |
| features::kPrivateNetworkAccessRespectPreflightResults)}, |
| |
| {"private-network-access-preflight-short-timeout", |
| flag_descriptions::kPrivateNetworkAccessPreflightShortTimeoutName, |
| flag_descriptions::kPrivateNetworkAccessPreflightShortTimeoutDescription, |
| kOsAll, |
| FEATURE_VALUE_TYPE( |
| network::features::kPrivateNetworkAccessPreflightShortTimeout)}, |
| |
| {"main-thread-compositing-priority", |
| flag_descriptions::kMainThreadCompositingPriorityName, |
| flag_descriptions::kMainThreadCompositingPriorityDescription, kOsAll, |
| FEATURE_VALUE_TYPE(features::kMainThreadCompositingPriority)}, |
| |
| {"mbi-mode", flag_descriptions::kMBIModeName, |
| flag_descriptions::kMBIModeDescription, kOsAll, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(features::kMBIMode, |
| kMBIModeVariations, |
| "MBIMode")}, |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"double-tap-to-zoom-in-tablet-mode", |
| flag_descriptions::kDoubleTapToZoomInTabletModeName, |
| flag_descriptions::kDoubleTapToZoomInTabletModeDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(features::kDoubleTapToZoomInTabletMode)}, |
| |
| {"quick-settings-pwa-notifications", |
| flag_descriptions::kQuickSettingsPWANotificationsName, |
| flag_descriptions::kQuickSettingsPWANotificationsDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(features::kQuickSettingsPWANotifications)}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"read-later-reminder-notification", |
| flag_descriptions::kReadLaterReminderNotificationName, |
| flag_descriptions::kReadLaterReminderNotificationDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE( |
| reading_list::switches::kReadLaterReminderNotification)}, |
| #endif |
| |
| {"tab-groups-new-badge-promo", |
| flag_descriptions::kTabGroupsNewBadgePromoName, |
| flag_descriptions::kTabGroupsNewBadgePromoDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(features::kTabGroupsNewBadgePromo)}, |
| |
| {"tab-groups-save", flag_descriptions::kTabGroupsSaveName, |
| flag_descriptions::kTabGroupsSaveDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(features::kTabGroupsSave)}, |
| |
| {flag_descriptions::kScrollableTabStripFlagId, |
| flag_descriptions::kScrollableTabStripName, |
| flag_descriptions::kScrollableTabStripDescription, kOsDesktop, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(features::kScrollableTabStrip, |
| kTabScrollingVariations, |
| "TabScrolling")}, |
| |
| {flag_descriptions::kTabScrollingButtonPositionFlagId, |
| flag_descriptions::kTabScrollingButtonPositionName, |
| flag_descriptions::kTabScrollingButtonPositionDescription, kOsDesktop, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(features::kTabScrollingButtonPosition, |
| kTabScrollingButtonPositionVariations, |
| "TabScrollingButtonPosition")}, |
| |
| {flag_descriptions::kScrollableTabStripWithDraggingFlagId, |
| flag_descriptions::kScrollableTabStripWithDraggingName, |
| flag_descriptions::kScrollableTabStripWithDraggingDescription, kOsDesktop, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(features::kScrollableTabStripWithDragging, |
| kTabScrollingWithDraggingVariations, |
| "TabScrollingWithDragging")}, |
| |
| {flag_descriptions::kScrollableTabStripOverflowFlagId, |
| flag_descriptions::kScrollableTabStripOverflowName, |
| flag_descriptions::kScrollableTabStripOverflowDescription, kOsDesktop, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(features::kScrollableTabStripOverflow, |
| kScrollableTabStripOverflowVariations, |
| "ScrollableTabStripOverflow")}, |
| |
| {"split-tabstrip", flag_descriptions::kSplitTabStripName, |
| flag_descriptions::kSplitTabStripDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(features::kSplitTabStrip)}, |
| |
| {flag_descriptions::kSidePanelJourneysFlagId, |
| flag_descriptions::kSidePanelJourneysName, |
| flag_descriptions::kSidePanelJourneysDescription, kOsDesktop, |
| FEATURE_WITH_PARAMS_VALUE_TYPE( |
| history_clusters::kSidePanelJourneys, |
| kSidePanelJourneysOpensFromOmniboxVariations, |
| "SidePanelJourneys")}, |
| |
| {flag_descriptions::kSidePanelJourneysQuerylessFlagId, |
| flag_descriptions::kSidePanelJourneysQuerylessName, |
| flag_descriptions::kSidePanelJourneysQuerylessDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(features::kSidePanelJourneysQueryless)}, |
| |
| {"side-panel-web-view", flag_descriptions::kSidePanelWebViewName, |
| flag_descriptions::kSidePanelWebViewDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(features::kSidePanelWebView)}, |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"enable-reader-mode-in-cct", flag_descriptions::kReaderModeInCCTName, |
| flag_descriptions::kReaderModeInCCTDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(chrome::android::kReaderModeInCCT)}, |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| {"shopping-list", commerce::flag_descriptions::kShoppingListName, |
| commerce::flag_descriptions::kShoppingListDescription, |
| kOsAndroid | kOsDesktop, FEATURE_VALUE_TYPE(commerce::kShoppingList)}, |
| |
| #if !BUILDFLAG(IS_ANDROID) |
| {"enable-retail-coupons", flag_descriptions::kRetailCouponsName, |
| flag_descriptions::kRetailCouponsDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(commerce::kRetailCoupons)}, |
| |
| {"ntp-cache-one-google-bar", flag_descriptions::kNtpCacheOneGoogleBarName, |
| flag_descriptions::kNtpCacheOneGoogleBarDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(ntp_features::kCacheOneGoogleBar)}, |
| |
| {"ntp-chrome-cart-module", flag_descriptions::kNtpChromeCartModuleName, |
| flag_descriptions::kNtpChromeCartModuleDescription, kOsDesktop, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(ntp_features::kNtpChromeCartModule, |
| kNtpChromeCartModuleVariations, |
| "DesktopNtpModules")}, |
| |
| {"chrome-cart-dom-based-heuristics", |
| commerce::flag_descriptions::kChromeCartDomBasedHeuristicsName, |
| commerce::flag_descriptions::kChromeCartDomBasedHeuristicsDescription, |
| kOsDesktop, FEATURE_VALUE_TYPE(commerce::kChromeCartDomBasedHeuristics)}, |
| |
| {"ntp-comprehensive-theme-realbox", |
| flag_descriptions::kNtpComprehensiveThemeRealboxName, |
| flag_descriptions::kNtpComprehensiveThemeRealboxDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(ntp_features::kNtpComprehensiveThemeRealbox)}, |
| |
| {"ntp-comprehensive-theming", |
| flag_descriptions::kNtpComprehensiveThemingName, |
| flag_descriptions::kNtpComprehensiveThemingDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(ntp_features::kNtpComprehensiveTheming)}, |
| |
| {"ntp-drive-module", flag_descriptions::kNtpDriveModuleName, |
| flag_descriptions::kNtpDriveModuleDescription, kOsDesktop, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(ntp_features::kNtpDriveModule, |
| kNtpDriveModuleVariations, |
| "DesktopNtpModules")}, |
| |
| #if !defined(OFFICIAL_BUILD) |
| {"ntp-dummy-modules", flag_descriptions::kNtpDummyModulesName, |
| flag_descriptions::kNtpDummyModulesDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(ntp_features::kNtpDummyModules)}, |
| #endif |
| |
| {"ntp-journeys-module", flag_descriptions::kNtpHistoryClustersModuleName, |
| flag_descriptions::kNtpHistoryClustersModuleDescription, kOsDesktop, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(ntp_features::kNtpHistoryClustersModule, |
| kNtpHistoryClustersModuleVariations, |
| "DesktopNtpModules")}, |
| |
| {"ntp-modules-header-icon", flag_descriptions::kNtpModulesHeaderIconName, |
| flag_descriptions::kNtpModulesHeaderIconDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(ntp_features::kNtpModulesHeaderIcon)}, |
| |
| {"ntp-wide-modules", flag_descriptions::kNtpWideModulesName, |
| flag_descriptions::kNtpWideModulesDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(ntp_features::kNtpWideModules)}, |
| |
| {"ntp-reduced-logo-space", flag_descriptions::kNtpReducedLogoSpaceName, |
| flag_descriptions::kNtpReducedLogoSpaceDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(ntp_features::kNtpReducedLogoSpace)}, |
| |
| {"ntp-single-row-shortcuts", flag_descriptions::kNtpSingleRowShortcutsName, |
| flag_descriptions::kNtpSingleRowShortcutsDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(ntp_features::kNtpSingleRowShortcuts)}, |
| |
| {"ntp-middle-slot-promo-dismissal", |
| flag_descriptions::kNtpMiddleSlotPromoDismissalName, |
| flag_descriptions::kNtpMiddleSlotPromoDismissalDescription, kOsDesktop, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(ntp_features::kNtpMiddleSlotPromoDismissal, |
| kNtpMiddleSlotPromoDismissalVariations, |
| "DesktopNtpModules")}, |
| |
| {"ntp-modules-drag-and-drop", flag_descriptions::kNtpModulesDragAndDropName, |
| flag_descriptions::kNtpModulesDragAndDropDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(ntp_features::kNtpModulesDragAndDrop)}, |
| |
| {"ntp-modules-first-run-experience", |
| flag_descriptions::kNtpModulesFirstRunExperienceName, |
| flag_descriptions::kNtpModulesFirstRunExperienceDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(ntp_features::kNtpModulesFirstRunExperience)}, |
| |
| {"ntp-modules-redesigned", flag_descriptions::kNtpModulesRedesignedName, |
| flag_descriptions::kNtpModulesRedesignedDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(ntp_features::kNtpModulesRedesigned)}, |
| |
| {"ntp-modules-redesigned-layout", |
| flag_descriptions::kNtpModulesRedesignedLayoutName, |
| flag_descriptions::kNtpModulesRedesignedLayoutDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(ntp_features::kNtpModulesRedesignedLayout)}, |
| |
| {"ntp-photos-module", flag_descriptions::kNtpPhotosModuleName, |
| flag_descriptions::kNtpPhotosModuleDescription, kOsDesktop, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(ntp_features::kNtpPhotosModule, |
| kNtpPhotosModuleVariations, |
| "DesktopNtpModules")}, |
| |
| {"ntp-photos-opt-in-art-work", |
| flag_descriptions::kNtpPhotosModuleOptInArtWorkName, |
| flag_descriptions::kNtpPhotosModuleOptInArtWorkDescription, kOsDesktop, |
| FEATURE_WITH_PARAMS_VALUE_TYPE( |
| ntp_features::kNtpPhotosModuleCustomizedOptInArtWork, |
| kNtpPhotosModuleOptInArtWorkVariations, |
| "DesktopNtpModules")}, |
| |
| {"ntp-photos-opt-in-title", |
| flag_descriptions::kNtpPhotosModuleOptInTitleName, |
| flag_descriptions::kNtpPhotosModuleOptInTitleDescription, kOsDesktop, |
| FEATURE_WITH_PARAMS_VALUE_TYPE( |
| ntp_features::kNtpPhotosModuleCustomizedOptInTitle, |
| kNtpPhotosModuleOptInTitleVariations, |
| "DesktopNtpModules")}, |
| |
| {"ntp-photos-soft-opt-out", |
| flag_descriptions::kNtpPhotosModuleSoftOptOutName, |
| flag_descriptions::kNtpPhotosModuleSoftOptOutDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(ntp_features::kNtpPhotosModuleSoftOptOut)}, |
| |
| {"ntp-recipe-tasks-module", flag_descriptions::kNtpRecipeTasksModuleName, |
| flag_descriptions::kNtpRecipeTasksModuleDescription, kOsDesktop, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(ntp_features::kNtpRecipeTasksModule, |
| kNtpRecipeTasksModuleVariations, |
| "DesktopNtpModules")}, |
| |
| {"ntp-realbox-match-omnibox-theme", |
| flag_descriptions::kNtpRealboxMatchOmniboxThemeName, |
| flag_descriptions::kNtpRealboxMatchOmniboxThemeDescription, kOsDesktop, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(ntp_features::kRealboxMatchOmniboxTheme, |
| kRealboxMatchOmniboxThemeVariations, |
| "OmniboxBundledExperimentV1")}, |
| |
| {"ntp-realbox-match-searchbox-theme", |
| flag_descriptions::kNtpRealboxMatchSearchboxThemeName, |
| flag_descriptions::kNtpRealboxMatchSearchboxThemeDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(ntp_features::kRealboxMatchSearchboxTheme)}, |
| |
| {"ntp-realbox-pedals", flag_descriptions::kNtpRealboxPedalsName, |
| flag_descriptions::kNtpRealboxPedalsDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(omnibox::kNtpRealboxPedals)}, |
| |
| {"ntp-realbox-rounded-corners", |
| flag_descriptions::kNtpRealboxRoundedCornersName, |
| flag_descriptions::kNtpRealboxRoundedCornersDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(ntp_features::kRealboxRoundedCorners)}, |
| |
| {"ntp-realbox-use-google-g-icon", |
| flag_descriptions::kNtpRealboxUseGoogleGIconName, |
| flag_descriptions::kNtpRealboxUseGoogleGIconDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(ntp_features::kRealboxUseGoogleGIcon)}, |
| |
| {"ntp-safe-browsing-module", flag_descriptions::kNtpSafeBrowsingModuleName, |
| flag_descriptions::kNtpSafeBrowsingModuleDescription, kOsDesktop, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(ntp_features::kNtpSafeBrowsingModule, |
| kNtpSafeBrowsingModuleVariations, |
| "DesktopNtpModules")}, |
| |
| {"ntp-desktop-lens", flag_descriptions::kNtpDesktopLensName, |
| flag_descriptions::kNtpDesktopLensDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(ntp_features::kNtpRealboxLensSearch)}, |
| |
| #endif // !BUILDFLAG(IS_ANDROID) |
| |
| #if BUILDFLAG(CHROME_WIDE_ECHO_CANCELLATION) |
| {"chrome-wide-echo-cancellation", |
| flag_descriptions::kChromeWideEchoCancellationName, |
| flag_descriptions::kChromeWideEchoCancellationDescription, |
| kOsMac | kOsWin | kOsLinux, |
| FEATURE_VALUE_TYPE(media::kChromeWideEchoCancellation)}, |
| #endif // BUILDFLAG(CHROME_WIDE_ECHO_CANCELLATION) |
| |
| #if BUILDFLAG(DCHECK_IS_CONFIGURABLE) |
| {"dcheck-is-fatal", flag_descriptions::kDcheckIsFatalName, |
| flag_descriptions::kDcheckIsFatalDescription, kOsWin, |
| FEATURE_VALUE_TYPE(base::kDCheckIsFatalFeature)}, |
| #endif // BUILDFLAG(DCHECK_IS_CONFIGURABLE) |
| |
| {"enable-pixel-canvas-recording", |
| flag_descriptions::kEnablePixelCanvasRecordingName, |
| flag_descriptions::kEnablePixelCanvasRecordingDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(features::kEnablePixelCanvasRecording)}, |
| |
| {"enable-parallel-downloading", flag_descriptions::kParallelDownloadingName, |
| flag_descriptions::kParallelDownloadingDescription, kOsAll, |
| FEATURE_VALUE_TYPE(download::features::kParallelDownloading)}, |
| |
| {"enable-pointer-lock-options", flag_descriptions::kPointerLockOptionsName, |
| flag_descriptions::kPointerLockOptionsDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(features::kPointerLockOptions)}, |
| |
| #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) |
| {"enable-async-dns", flag_descriptions::kAsyncDnsName, |
| flag_descriptions::kAsyncDnsDescription, kOsWin | kOsLinux, |
| FEATURE_VALUE_TYPE(features::kAsyncDns)}, |
| #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) |
| |
| {"enable-new-download-backend", |
| flag_descriptions::kEnableNewDownloadBackendName, |
| flag_descriptions::kEnableNewDownloadBackendDescription, kOsAll, |
| FEATURE_VALUE_TYPE( |
| download::features::kUseDownloadOfflineContentProvider)}, |
| |
| {"download-range", flag_descriptions::kDownloadRangeName, |
| flag_descriptions::kDownloadRangeDescription, kOsAll, |
| FEATURE_VALUE_TYPE(download::features::kDownloadRange)}, |
| |
| #if BUILDFLAG(GOOGLE_CHROME_BRANDING) |
| {"chrome-tips-in-main-menu", flag_descriptions::kChromeTipsInMainMenuName, |
| flag_descriptions::kChromeTipsInMainMenuDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(features::kChromeTipsInMainMenu)}, |
| |
| {"chrome-tips-in-main-menu-new-badge", |
| flag_descriptions::kChromeTipsInMainMenuNewBadgeName, |
| flag_descriptions::kChromeTipsInMainMenuNewBadgeDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(features::kChromeTipsInMainMenuNewBadge)}, |
| #endif |
| |
| {"tab-hover-card-images", flag_descriptions::kTabHoverCardImagesName, |
| flag_descriptions::kTabHoverCardImagesDescription, kOsDesktop, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(features::kTabHoverCardImages, |
| kTabHoverCardImagesVariations, |
| "TabHoverCardImages")}, |
| |
| {"enable-storage-pressure-event", |
| flag_descriptions::kStoragePressureEventName, |
| flag_descriptions::kStoragePressureEventDescription, kOsAll, |
| FEATURE_VALUE_TYPE(storage::features::kStoragePressureEvent)}, |
| |
| {"enable-network-logging-to-file", |
| flag_descriptions::kEnableNetworkLoggingToFileName, |
| flag_descriptions::kEnableNetworkLoggingToFileDescription, kOsAll, |
| SINGLE_VALUE_TYPE(network::switches::kLogNetLog)}, |
| |
| #if !BUILDFLAG(IS_ANDROID) |
| {"web-authentication-permit-enterprise-attestation", |
| flag_descriptions::kWebAuthenticationPermitEnterpriseAttestationName, |
| flag_descriptions:: |
| kWebAuthenticationPermitEnterpriseAttestationDescription, |
| kOsAll, |
| ORIGIN_LIST_VALUE_TYPE( |
| webauthn::switches::kPermitEnterpriseAttestationOriginList, |
| "")}, |
| #endif |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"enable-web-authentication-chromeos-authenticator", |
| flag_descriptions::kEnableWebAuthenticationChromeOSAuthenticatorName, |
| flag_descriptions:: |
| kEnableWebAuthenticationChromeOSAuthenticatorDescription, |
| kOsCrOS, FEATURE_VALUE_TYPE(device::kWebAuthCrosPlatformAuthenticator)}, |
| #endif |
| |
| { |
| "zero-copy-tab-capture", |
| flag_descriptions::kEnableZeroCopyTabCaptureName, |
| flag_descriptions::kEnableZeroCopyTabCaptureDescription, |
| kOsMac | kOsWin | kOsCrOS, |
| FEATURE_VALUE_TYPE(blink::features::kZeroCopyTabCapture), |
| }, |
| |
| { |
| "region-capture-experimental-subtypes", |
| flag_descriptions::kEnableRegionCaptureExperimentalSubtypesName, |
| flag_descriptions::kEnableRegionCaptureExperimentalSubtypesDescription, |
| kOsDesktop, |
| FEATURE_VALUE_TYPE(blink::features::kRegionCaptureExperimentalSubtypes), |
| }, |
| |
| #if BUILDFLAG(ENABLE_PDF) |
| {"accessible-pdf-form", flag_descriptions::kAccessiblePDFFormName, |
| flag_descriptions::kAccessiblePDFFormDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(chrome_pdf::features::kAccessiblePDFForm)}, |
| |
| {"pdf-use-skia-renderer", flag_descriptions::kPdfUseSkiaRendererName, |
| flag_descriptions::kPdfUseSkiaRendererDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(chrome_pdf::features::kPdfUseSkiaRenderer)}, |
| #endif // BUILDFLAG(ENABLE_PDF) |
| |
| #if BUILDFLAG(ENABLE_PRINTING) |
| #if BUILDFLAG(IS_MAC) |
| {"cups-ipp-printing-backend", |
| flag_descriptions::kCupsIppPrintingBackendName, |
| flag_descriptions::kCupsIppPrintingBackendDescription, kOsMac, |
| FEATURE_VALUE_TYPE(printing::features::kCupsIppPrintingBackend)}, |
| #endif // BUILDFLAG(IS_MAC) |
| |
| #if BUILDFLAG(IS_WIN) |
| {"print-with-postscript-type42-fonts", |
| flag_descriptions::kPrintWithPostScriptType42FontsName, |
| flag_descriptions::kPrintWithPostScriptType42FontsDescription, kOsWin, |
| FEATURE_VALUE_TYPE(printing::features::kPrintWithPostScriptType42Fonts)}, |
| |
| {"print-with-reduced-rasterization", |
| flag_descriptions::kPrintWithReducedRasterizationName, |
| flag_descriptions::kPrintWithReducedRasterizationDescription, kOsWin, |
| FEATURE_VALUE_TYPE(printing::features::kPrintWithReducedRasterization)}, |
| |
| {"read-printer-capabilities-with-xps", |
| flag_descriptions::kReadPrinterCapabilitiesWithXpsName, |
| flag_descriptions::kReadPrinterCapabilitiesWithXpsDescription, kOsWin, |
| FEATURE_VALUE_TYPE(printing::features::kReadPrinterCapabilitiesWithXps)}, |
| |
| {"use-xps-for-printing", flag_descriptions::kUseXpsForPrintingName, |
| flag_descriptions::kUseXpsForPrintingDescription, kOsWin, |
| FEATURE_VALUE_TYPE(printing::features::kUseXpsForPrinting)}, |
| |
| {"use-xps-for-printing-from-pdf", |
| flag_descriptions::kUseXpsForPrintingFromPdfName, |
| flag_descriptions::kUseXpsForPrintingFromPdfDescription, kOsWin, |
| FEATURE_VALUE_TYPE(printing::features::kUseXpsForPrintingFromPdf)}, |
| #endif // BUILDFLAG(IS_WIN) |
| #endif // BUILDFLAG(ENABLE_PRINTING) |
| |
| #if BUILDFLAG(IS_WIN) |
| {"enable-windows-gaming-input-data-fetcher", |
| flag_descriptions::kEnableWindowsGamingInputDataFetcherName, |
| flag_descriptions::kEnableWindowsGamingInputDataFetcherDescription, kOsWin, |
| FEATURE_VALUE_TYPE(features::kEnableWindowsGamingInputDataFetcher)}, |
| #endif |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"enable-start-surface", flag_descriptions::kStartSurfaceAndroidName, |
| flag_descriptions::kStartSurfaceAndroidDescription, kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(chrome::android::kStartSurfaceAndroid, |
| kStartSurfaceAndroidVariations, |
| "ChromeStart")}, |
| |
| {"enable-feed-position-on-ntp", flag_descriptions::kFeedPositionAndroidName, |
| flag_descriptions::kFeedPositionAndroidDescription, kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(chrome::android::kFeedPositionAndroid, |
| kFeedPositionAndroidVariations, |
| "FeedPositionAndroid")}, |
| |
| {"enable-instant-start", flag_descriptions::kInstantStartName, |
| flag_descriptions::kInstantStartDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(chrome::android::kInstantStart)}, |
| |
| {"enable-start-surface-disabled-feed-improvement", |
| flag_descriptions::kStartSurfaceDisabledFeedImprovementName, |
| flag_descriptions::kStartSurfaceDisabledFeedImprovementDescription, |
| kOsAndroid, |
| FEATURE_VALUE_TYPE(chrome::android::kStartSurfaceDisabledFeedImprovement)}, |
| |
| {"enable-start-surface-refactor", |
| flag_descriptions::kStartSurfaceRefactorName, |
| flag_descriptions::kStartSurfaceRefactorDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(chrome::android::kStartSurfaceRefactor)}, |
| |
| {"enable-start-surface-on-tablet", |
| flag_descriptions::kStartSurfaceOnTabletName, |
| flag_descriptions::kStartSurfaceOnTabletDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(chrome::android::kStartSurfaceOnTablet)}, |
| |
| {"enable-start-surface-with-accessibility", |
| flag_descriptions::kStartSurfaceWithAccessibilityName, |
| flag_descriptions::kStartSurfaceWithAccessibilityDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(chrome::android::kStartSurfaceWithAccessibility)}, |
| |
| {"enable-show-scrollable-mvt-on-ntp", |
| flag_descriptions::kShowScrollableMVTOnNTPAndroidName, |
| flag_descriptions::kShowScrollableMVTOnNTPAndroidDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(chrome::android::kShowScrollableMVTOnNTPAndroid)}, |
| |
| {"enable-search-resumption-module", |
| flag_descriptions::kSearchResumptionModuleAndroidName, |
| flag_descriptions::kSearchResumptionModuleAndroidDescription, kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE( |
| chrome::android::kSearchResumptionModuleAndroid, |
| kSearchResumptionModuleAndroidVariations, |
| "kSearchResumptionModuleAndroid")}, |
| |
| {"enable-close-tab-suggestions", |
| flag_descriptions::kCloseTabSuggestionsName, |
| flag_descriptions::kCloseTabSuggestionsDescription, kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(chrome::android::kCloseTabSuggestions, |
| kCloseTabSuggestionsStaleVariations, |
| "CloseSuggestionsTab")}, |
| |
| {"enable-critical-persisted-tab-data", |
| flag_descriptions::kCriticalPersistedTabDataName, |
| flag_descriptions::kCriticalPersistedTabDataDescription, kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(chrome::android::kCriticalPersistedTabData, |
| kCriticalPersistedTabDataVariations, |
| "CriticalPersistedTabData")}, |
| |
| {"suppress-toolbar-captures", |
| flag_descriptions::kSuppressToolbarCapturesName, |
| flag_descriptions::kSuppressToolbarCapturesDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(chrome::android::kSuppressToolbarCaptures)}, |
| |
| {"enable-tab-grid-layout", flag_descriptions::kTabGridLayoutAndroidName, |
| flag_descriptions::kTabGridLayoutAndroidDescription, kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(chrome::android::kTabGridLayoutAndroid, |
| kTabGridLayoutAndroidVariations, |
| "TabGridLayoutAndroid")}, |
| |
| {"enable-commerce-coupons", flag_descriptions::kCommerceCouponsName, |
| flag_descriptions::kCommerceCouponsDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(commerce::kCommerceCoupons)}, |
| |
| {"enable-commerce-merchant-viewer", |
| flag_descriptions::kCommerceMerchantViewerAndroidName, |
| flag_descriptions::kCommerceMerchantViewerAndroidDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(commerce::kCommerceMerchantViewer)}, |
| |
| {"enable-commerce-price-tracking", |
| commerce::flag_descriptions::kCommercePriceTrackingName, |
| commerce::flag_descriptions::kCommercePriceTrackingDescription, kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE( |
| commerce::kCommercePriceTracking, |
| commerce::kCommercePriceTrackingAndroidVariations, |
| "CommercePriceTracking")}, |
| |
| {"enable-tab-groups-continuation", |
| flag_descriptions::kTabGroupsContinuationAndroidName, |
| flag_descriptions::kTabGroupsContinuationAndroidDescription, kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE( |
| chrome::android::kTabGroupsContinuationAndroid, |
| kTabGroupsContinuationAndroidVariations, |
| "TabGroupsContinuationAndroid")}, |
| |
| {"enable-start-surface-return-time", |
| flag_descriptions::kStartSurfaceReturnTimeName, |
| flag_descriptions::kStartSurfaceReturnTimeDescription, kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(chrome::android::kStartSurfaceReturnTime, |
| kStartSurfaceReturnTimeVariations, |
| "StartSurfaceReturnTime")}, |
| |
| {"enable-tab-engagement-reporting", |
| flag_descriptions::kTabEngagementReportingName, |
| flag_descriptions::kTabEngagementReportingDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(chrome::android::kTabEngagementReportingAndroid)}, |
| |
| {"enable-tab-strip-improvements", |
| flag_descriptions::kTabStripImprovementsAndroidName, |
| flag_descriptions::kTabStripImprovementsAndroidDescription, kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(chrome::android::kTabStripImprovements, |
| kTabStripImprovementsTabWidthVariations, |
| "TabStripImprovementsAndroid")}, |
| |
| {"enable-discover-multi-column", |
| flag_descriptions::kDiscoverFeedMultiColumnAndroidName, |
| flag_descriptions::kDiscoverFeedMultiColumnAndroidDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(chrome::android::kDiscoverFeedMultiColumn)}, |
| |
| {"enable-tab-strip-redesign", |
| flag_descriptions::kTabStripRedesignAndroidName, |
| flag_descriptions::kTabStripRedesignAndroidDescription, kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(chrome::android::kTabStripRedesign, |
| kTabStripRedesignVariations, |
| "TabStripRedesignAndroid")}, |
| |
| {"enable-foldable-jank-fix", flag_descriptions::kFoldableJankFixAndroidName, |
| flag_descriptions::kFoldableJankFixAndroidDescription, kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(chrome::android::kFoldableJankFix, |
| kFoldableJankFixDelayVariations, |
| "FoldableJankFix")}, |
| |
| {"enable-baseline-gm3-surface-colors", |
| flag_descriptions::kBaselineGM3SurfaceColorsName, |
| flag_descriptions::kBaselineGM3SurfaceColorsDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(chrome::android::kBaselineGM3SurfaceColors)}, |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| {"unsafely-treat-insecure-origin-as-secure", |
| flag_descriptions::kTreatInsecureOriginAsSecureName, |
| flag_descriptions::kTreatInsecureOriginAsSecureDescription, kOsAll, |
| ORIGIN_LIST_VALUE_TYPE( |
| network::switches::kUnsafelyTreatInsecureOriginAsSecure, |
| "")}, |
| |
| {"disable-process-reuse", flag_descriptions::kDisableProcessReuse, |
| flag_descriptions::kDisableProcessReuseDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(features::kDisableProcessReuse)}, |
| |
| #if !BUILDFLAG(IS_ANDROID) |
| {"enable-accessibility-live-caption", |
| flag_descriptions::kEnableAccessibilityLiveCaptionName, |
| flag_descriptions::kEnableAccessibilityLiveCaptionDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(media::kLiveCaption)}, |
| |
| {"read-anything", flag_descriptions::kReadAnythingName, |
| flag_descriptions::kReadAnythingDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(features::kReadAnything)}, |
| |
| {"read-anything-with-screen2x", |
| flag_descriptions::kReadAnythingWithScreen2xName, |
| flag_descriptions::kReadAnythingWithScreen2xDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(features::kReadAnythingWithScreen2x)}, |
| |
| {"support-tool", flag_descriptions::kSupportTool, |
| flag_descriptions::kSupportToolDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(features::kSupportTool)}, |
| |
| {"support-tool-screenshot", flag_descriptions::kSupportToolScreenshot, |
| flag_descriptions::kSupportToolScreenshotDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(features::kSupportToolScreenshot)}, |
| #endif // !BUILDFLAG(IS_ANDROID) |
| |
| {"enable-auto-disable-accessibility", |
| flag_descriptions::kEnableAutoDisableAccessibilityName, |
| flag_descriptions::kEnableAutoDisableAccessibilityDescription, kOsAll, |
| FEATURE_VALUE_TYPE(features::kAutoDisableAccessibility)}, |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"enable-auto-disable-accessibility-v2", |
| flag_descriptions::kEnableAutoDisableAccessibilityV2Name, |
| flag_descriptions::kEnableAutoDisableAccessibilityV2Description, |
| kOsAndroid, FEATURE_VALUE_TYPE(features::kAutoDisableAccessibilityV2)}, |
| #endif |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"cct-incognito", flag_descriptions::kCCTIncognitoName, |
| flag_descriptions::kCCTIncognitoDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(chrome::android::kCCTIncognito)}, |
| #endif |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"cct-incognito-available-to-third-party", |
| flag_descriptions::kCCTIncognitoAvailableToThirdPartyName, |
| flag_descriptions::kCCTIncognitoAvailableToThirdPartyDescription, |
| kOsAndroid, |
| FEATURE_VALUE_TYPE(chrome::android::kCCTIncognitoAvailableToThirdParty)}, |
| #endif |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"cct-resizable-90-maximum-height", |
| flag_descriptions::kCCTResizable90MaximumHeightName, |
| flag_descriptions::kCCTResizable90MaximumHeightDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(chrome::android::kCCTResizable90MaximumHeight)}, |
| {"cct-resizable-for-third-parties", |
| flag_descriptions::kCCTResizableForThirdPartiesName, |
| flag_descriptions::kCCTResizableForThirdPartiesDescription, kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE( |
| chrome::android::kCCTResizableForThirdParties, |
| kCCTResizableThirdPartiesDefaultPolicyVariations, |
| "CCTResizableThirdPartiesDefaultPolicy")}, |
| {"cct-resizable-side-sheet", flag_descriptions::kCCTResizableSideSheetName, |
| flag_descriptions::kCCTResizableSideSheetDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(chrome::android::kCCTResizableSideSheet)}, |
| {"cct-resizable-side-sheet-for-third-parties", |
| flag_descriptions::kCCTResizableSideSheetForThirdPartiesName, |
| flag_descriptions::kCCTResizableSideSheetForThirdPartiesDescription, |
| kOsAndroid, |
| FEATURE_VALUE_TYPE( |
| chrome::android::kCCTResizableSideSheetForThirdParties)}, |
| {"cct-retaining-state-in-memory", |
| flag_descriptions::kCCTRetainingStateInMemoryName, |
| flag_descriptions::kCCTRetainingStateInMemoryDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(chrome::android::kCCTRetainingStateInMemory)}, |
| #endif |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"cct-real-time-engagement-signals", |
| flag_descriptions::kCCTRealTimeEngagementSignalsName, |
| flag_descriptions::kCCTRealTimeEngagementSignalsDescription, kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE( |
| chrome::android::kCCTRealTimeEngagementSignals, |
| kCCTRealTimeEngagementSignalsVariations, |
| "CCTRealTimeEngagementSignals")}, |
| {"cct-real-time-engagement-signals-alternative-impl", |
| flag_descriptions::kCCTRealTimeEngagementSignalsAlternativeImplName, |
| flag_descriptions::kCCTRealTimeEngagementSignalsAlternativeImplDescription, |
| kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE( |
| chrome::android::kCCTRealTimeEngagementSignalsAlternativeImpl, |
| kCCTRealTimeEngagementSignalsAlternativeImplVariations, |
| "CCTRealTimeEngagementSignalsAlternativeImpl")}, |
| #endif |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"cct-brand-transparency", flag_descriptions::kCCTBrandTransparencyName, |
| flag_descriptions::kCCTBrandTransparencyDescription, kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(chrome::android::kCCTBrandTransparency, |
| kCctBrandTransparencyVariations, |
| "CCTBrandTransparency")}, |
| #endif |
| |
| #if BUILDFLAG(IS_CHROMEOS) |
| {"allow-dsp-based-aec", flag_descriptions::kCrOSDspBasedAecAllowedName, |
| flag_descriptions::kCrOSDspBasedAecAllowedDescription, kOsCrOS | kOsLacros, |
| FEATURE_VALUE_TYPE(media::kCrOSDspBasedAecAllowed)}, |
| {"allow-dsp-based-ns", flag_descriptions::kCrOSDspBasedNsAllowedName, |
| flag_descriptions::kCrOSDspBasedNsAllowedDescription, kOsCrOS | kOsLacros, |
| FEATURE_VALUE_TYPE(media::kCrOSDspBasedNsAllowed)}, |
| {"allow-dsp-based-agc", flag_descriptions::kCrOSDspBasedAgcAllowedName, |
| flag_descriptions::kCrOSDspBasedAgcAllowedDescription, kOsCrOS | kOsLacros, |
| FEATURE_VALUE_TYPE(media::kCrOSDspBasedAgcAllowed)}, |
| {"enforce-system-aec", flag_descriptions::kCrOSEnforceSystemAecName, |
| flag_descriptions::kCrOSEnforceSystemAecDescription, kOsCrOS | kOsLacros, |
| FEATURE_VALUE_TYPE(media::kCrOSEnforceSystemAec)}, |
| {"enforce-system-aec-agc", flag_descriptions::kCrOSEnforceSystemAecAgcName, |
| flag_descriptions::kCrOSEnforceSystemAecAgcDescription, |
| kOsCrOS | kOsLacros, FEATURE_VALUE_TYPE(media::kCrOSEnforceSystemAecAgc)}, |
| {"enforce-system-aec-ns-agc", |
| flag_descriptions::kCrOSEnforceSystemAecNsAgcName, |
| flag_descriptions::kCrOSEnforceSystemAecNsAgcDescription, |
| kOsCrOS | kOsLacros, |
| FEATURE_VALUE_TYPE(media::kCrOSEnforceSystemAecNsAgc)}, |
| {"enforce-system-aec-ns", flag_descriptions::kCrOSEnforceSystemAecNsName, |
| flag_descriptions::kCrOSEnforceSystemAecNsDescription, kOsCrOS | kOsLacros, |
| FEATURE_VALUE_TYPE(media::kCrOSEnforceSystemAecNs)}, |
| #endif |
| |
| {"reduce-horizontal-fling-velocity", |
| flag_descriptions::kReduceHorizontalFlingVelocityName, |
| flag_descriptions::kReduceHorizontalFlingVelocityDescription, kOsAll, |
| FEATURE_VALUE_TYPE(features::kReduceHorizontalFlingVelocity)}, |
| |
| {"enable-css-selector-fragment-anchor", |
| flag_descriptions::kEnableCssSelectorFragmentAnchorName, |
| flag_descriptions::kEnableCssSelectorFragmentAnchorDescription, kOsAll, |
| FEATURE_VALUE_TYPE(blink::features::kCssSelectorFragmentAnchor)}, |
| |
| {"drop-input-events-before-first-paint", |
| flag_descriptions::kDropInputEventsBeforeFirstPaintName, |
| flag_descriptions::kDropInputEventsBeforeFirstPaintDescription, kOsAll, |
| FEATURE_VALUE_TYPE(blink::features::kDropInputEventsBeforeFirstPaint)}, |
| |
| // Should only be available if kResamplingScrollEvents is on, and using |
| // linear resampling. |
| {"enable-resampling-scroll-events-experimental-prediction", |
| flag_descriptions::kEnableResamplingScrollEventsExperimentalPredictionName, |
| flag_descriptions:: |
| kEnableResamplingScrollEventsExperimentalPredictionDescription, |
| kOsAll, |
| FEATURE_WITH_PARAMS_VALUE_TYPE( |
| ::features::kResamplingScrollEventsExperimentalPrediction, |
| kResamplingScrollEventsExperimentalPredictionVariations, |
| "ResamplingScrollEventsExperimentalLatency")}, |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"enable-vaapi-jpeg-image-decode-acceleration", |
| flag_descriptions::kVaapiJpegImageDecodeAccelerationName, |
| flag_descriptions::kVaapiJpegImageDecodeAccelerationDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(features::kVaapiJpegImageDecodeAcceleration)}, |
| |
| {"enable-vaapi-webp-image-decode-acceleration", |
| flag_descriptions::kVaapiWebPImageDecodeAccelerationName, |
| flag_descriptions::kVaapiWebPImageDecodeAccelerationDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(features::kVaapiWebPImageDecodeAcceleration)}, |
| #endif |
| |
| #if BUILDFLAG(IS_WIN) |
| {"calculate-native-win-occlusion", |
| flag_descriptions::kCalculateNativeWinOcclusionName, |
| flag_descriptions::kCalculateNativeWinOcclusionDescription, kOsWin, |
| FEATURE_VALUE_TYPE(features::kCalculateNativeWinOcclusion)}, |
| #endif // BUILDFLAG(IS_WIN) |
| |
| #if !BUILDFLAG(IS_ANDROID) |
| {"happiness-tracking-surveys-for-desktop-demo", |
| flag_descriptions::kHappinessTrackingSurveysForDesktopDemoName, |
| flag_descriptions::kHappinessTrackingSurveysForDesktopDemoDescription, |
| kOsDesktop, |
| FEATURE_VALUE_TYPE(features::kHappinessTrackingSurveysForDesktopDemo)}, |
| #endif // !BUILDFLAG(IS_ANDROID) |
| |
| {"destroy-profile-on-browser-close", |
| flag_descriptions::kDestroyProfileOnBrowserCloseName, |
| flag_descriptions::kDestroyProfileOnBrowserCloseDescription, |
| kOsMac | kOsWin | kOsLinux | kOsLacros | kOsFuchsia, |
| FEATURE_VALUE_TYPE(features::kDestroyProfileOnBrowserClose)}, |
| |
| {"destroy-system-profiles", flag_descriptions::kDestroySystemProfilesName, |
| flag_descriptions::kDestroySystemProfilesDescription, |
| kOsCrOS | kOsMac | kOsWin | kOsLinux | kOsLacros | kOsFuchsia, |
| FEATURE_VALUE_TYPE(features::kDestroySystemProfiles)}, |
| |
| #if BUILDFLAG(IS_WIN) |
| {"use-angle", flag_descriptions::kUseAngleName, |
| flag_descriptions::kUseAngleDescriptionWindows, kOsWin, |
| MULTI_VALUE_TYPE(kUseAngleChoicesWindows)}, |
| #elif BUILDFLAG(IS_MAC) |
| {"use-angle", flag_descriptions::kUseAngleName, |
| flag_descriptions::kUseAngleDescriptionMac, kOsMac, |
| MULTI_VALUE_TYPE(kUseAngleChoicesMac)}, |
| #endif |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"enable-assistant-dsp", flag_descriptions::kEnableGoogleAssistantDspName, |
| flag_descriptions::kEnableGoogleAssistantDspDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::assistant::features::kEnableDspHotword)}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| #if BUILDFLAG(IS_CHROMEOS) |
| {"disable-quick-answers-v2-translation", |
| flag_descriptions::kDisableQuickAnswersV2TranslationName, |
| flag_descriptions::kDisableQuickAnswersV2TranslationDescription, |
| kOsCrOS | kOsLacros, |
| FEATURE_VALUE_TYPE(chromeos::features::kDisableQuickAnswersV2Translation)}, |
| #endif // BUILDFLAG(IS_CHROMEOS) |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"instance-switcher", flag_descriptions::kInstanceSwitcherName, |
| flag_descriptions::kInstanceSwitcherDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(chrome::android::kInstanceSwitcher)}, |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| {"enable-gamepad-button-axis-events", |
| flag_descriptions::kEnableGamepadButtonAxisEventsName, |
| flag_descriptions::kEnableGamepadButtonAxisEventsDescription, kOsAll, |
| FEATURE_VALUE_TYPE(features::kEnableGamepadButtonAxisEvents)}, |
| |
| {"restrict-gamepad-access", flag_descriptions::kRestrictGamepadAccessName, |
| flag_descriptions::kRestrictGamepadAccessDescription, kOsAll, |
| FEATURE_VALUE_TYPE(features::kRestrictGamepadAccess)}, |
| |
| #if !BUILDFLAG(IS_ANDROID) |
| {"sharing-desktop-screenshots", |
| flag_descriptions::kSharingDesktopScreenshotsName, |
| flag_descriptions::kSharingDesktopScreenshotsDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(sharing_hub::kDesktopScreenshots)}, |
| {"sharing-desktop-share-preview", |
| flag_descriptions::kSharingDesktopSharePreviewName, |
| flag_descriptions::kSharingDesktopSharePreviewDescription, kOsDesktop, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(share::kDesktopSharePreview, |
| kDesktopSharePreviewVariations, |
| "DesktopSharePreview")}, |
| {"sharing-desktop-share-to-google-collections", |
| flag_descriptions::kSharingDesktopShareToGoogleCollectionsName, |
| flag_descriptions::kSharingDesktopShareToGoogleCollectionsDescription, |
| kOsDesktop, FEATURE_VALUE_TYPE(share::kShareToGoogleCollections)}, |
| #endif |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"window-layout-menu", flag_descriptions::kWindowLayoutMenu, |
| flag_descriptions::kWindowLayoutMenuDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(chromeos::wm::features::kWindowLayoutMenu)}, |
| {"cros-labs-overview-desk-navigation", |
| flag_descriptions::kOverviewDeskNavigationName, |
| flag_descriptions::kOverviewDeskNavigationDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kOverviewDeskNavigation)}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"enable-assistant-stereo-input", |
| flag_descriptions::kEnableGoogleAssistantStereoInputName, |
| flag_descriptions::kEnableGoogleAssistantStereoInputDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::assistant::features::kEnableStereoAudioInput)}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| {"enable-gpu-service-logging", |
| flag_descriptions::kEnableGpuServiceLoggingName, |
| flag_descriptions::kEnableGpuServiceLoggingDescription, kOsAll, |
| SINGLE_VALUE_TYPE(switches::kEnableGPUServiceLogging)}, |
| |
| #if !BUILDFLAG(IS_ANDROID) |
| {"hardware-media-key-handling", |
| flag_descriptions::kHardwareMediaKeyHandling, |
| flag_descriptions::kHardwareMediaKeyHandlingDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(media::kHardwareMediaKeyHandling)}, |
| #endif |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"app-management-app-details", |
| flag_descriptions::kAppManagementAppDetailsName, |
| flag_descriptions::kAppManagementAppDetailsDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(features::kAppManagementAppDetails)}, |
| |
| {"arc-window-predictor", flag_descriptions::kArcWindowPredictorName, |
| flag_descriptions::kArcWindowPredictorDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(full_restore::features::kArcWindowPredictor)}, |
| |
| {"full-restore-for-lacros", flag_descriptions::kFullRestoreForLacrosName, |
| flag_descriptions::kFullRestoreForLacrosDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(full_restore::features::kFullRestoreForLacros)}, |
| |
| {"use-fake-device-for-media-stream", |
| flag_descriptions::kUseFakeDeviceForMediaStreamName, |
| flag_descriptions::kUseFakeDeviceForMediaStreamDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(media::kUseFakeDeviceForMediaStream)}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"arc-input-overlay-beta", flag_descriptions::kArcInputOverlayNameBeta, |
| flag_descriptions::kArcInputOverlayDescriptionBeta, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kArcInputOverlayBeta)}, |
| |
| {"arc-input-overlay-alpha-v2", |
| flag_descriptions::kArcInputOverlayNameAlphaV2, |
| flag_descriptions::kArcInputOverlayDescriptionAlphaV2, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kArcInputOverlayAlphaV2)}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| #if BUILDFLAG(IS_CHROMEOS) && BUILDFLAG(USE_CHROMEOS_MEDIA_ACCELERATION) |
| {"chromeos-direct-video-decoder", |
| flag_descriptions::kChromeOSDirectVideoDecoderName, |
| flag_descriptions::kChromeOSDirectVideoDecoderDescription, |
| kOsCrOS | kOsLacros, |
| FEATURE_VALUE_TYPE(media::kUseChromeOSDirectVideoDecoder)}, |
| |
| {"enable-vbr-encode-acceleration", |
| flag_descriptions::kChromeOSHWVBREncodingName, |
| flag_descriptions::kChromeOSHWVBREncodingDescription, kOsCrOS | kOsLacros, |
| FEATURE_VALUE_TYPE(media::kChromeOSHWVBREncoding)}, |
| #if defined(ARCH_CPU_ARM_FAMILY) |
| {"prefer-gl-image-processor", |
| flag_descriptions::kPreferGLImageProcessorName, |
| flag_descriptions::kPreferGLImageProcessorDescription, kOsCrOS | kOsLacros, |
| FEATURE_VALUE_TYPE(media::kPreferGLImageProcessor)}, |
| #endif // defined(ARCH_CPU_ARM_FAMILY) |
| #endif // BUILDFLAG(IS_CHROMEOS) && BUILDFLAG(USE_CHROMEOS_MEDIA_ACCELERATION) |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"force-startup-signin-promo", |
| flag_descriptions::kForceStartupSigninPromoName, |
| flag_descriptions::kForceStartupSigninPromoDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(switches::kForceStartupSigninPromo)}, |
| |
| {"gaia-id-in-amf", |
| flag_descriptions::kGaiaIdCacheInAccountManagerFacadeName, |
| flag_descriptions::kGaiaIdCacheInAccountManagerFacadeDescription, |
| kOsAndroid, |
| FEATURE_VALUE_TYPE(switches::kGaiaIdCacheInAccountManagerFacade)}, |
| |
| {"tangible-sync", flag_descriptions::kTangibleSyncName, |
| flag_descriptions::kTangibleSyncDescription, kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(switches::kTangibleSync, |
| kTangibleSyncVariations, |
| "TangibleSyncVariations")}, |
| |
| {"identity-status-consistency", |
| flag_descriptions::kIdentityStatusConsistencyName, |
| flag_descriptions::kIdentityStatusConsistencyDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(switches::kIdentityStatusConsistency)}, |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| {"autofill-use-improved-label-disambiguation", |
| flag_descriptions::kAutofillUseImprovedLabelDisambiguationName, |
| flag_descriptions::kAutofillUseImprovedLabelDisambiguationDescription, |
| kOsAll, |
| FEATURE_VALUE_TYPE( |
| autofill::features::kAutofillUseImprovedLabelDisambiguation)}, |
| |
| {"file-handling-icons", flag_descriptions::kFileHandlingIconsName, |
| flag_descriptions::kFileHandlingIconsDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(blink::features::kFileHandlingIcons)}, |
| |
| {"strict-origin-isolation", flag_descriptions::kStrictOriginIsolationName, |
| flag_descriptions::kStrictOriginIsolationDescription, kOsAll, |
| FEATURE_VALUE_TYPE(features::kStrictOriginIsolation)}, |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"enable-logging-js-console-messages", |
| flag_descriptions::kLogJsConsoleMessagesName, |
| flag_descriptions::kLogJsConsoleMessagesDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(features::kLogJsConsoleMessages)}, |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"allow-repeated-updates", flag_descriptions::kAllowRepeatedUpdatesName, |
| flag_descriptions::kAllowRepeatedUpdatesDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kAllowRepeatedUpdates)}, |
| |
| {"allow-scroll-settings", flag_descriptions::kAllowScrollSettingsName, |
| flag_descriptions::kAllowScrollSettingsDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kAllowScrollSettings)}, |
| |
| {"enable-neural-palm-adaptive-hold", |
| flag_descriptions::kEnableNeuralPalmAdaptiveHoldName, |
| flag_descriptions::kEnableNeuralPalmAdaptiveHoldDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ui::kEnableNeuralPalmAdaptiveHold)}, |
| |
| {"enable-neural-stylus-palm-rejection", |
| flag_descriptions::kEnableNeuralStylusPalmRejectionName, |
| flag_descriptions::kEnableNeuralStylusPalmRejectionDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ui::kEnableNeuralPalmDetectionFilter)}, |
| |
| {"enable-edge-detection", flag_descriptions::kEnableEdgeDetectionName, |
| flag_descriptions::kEnableEdgeDetectionDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ui::kEnableEdgeDetection)}, |
| |
| {"enable-os-feedback", flag_descriptions::kEnableOsFeedbackName, |
| flag_descriptions::kEnableOsFeedbackDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kOsFeedback)}, |
| |
| {"fast-pair", flag_descriptions::kFastPairName, |
| flag_descriptions::kFastPairDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kFastPair)}, |
| |
| {"fast-pair-handshake-refactor", |
| flag_descriptions::kFastPairHandshakeRefactorName, |
| flag_descriptions::kFastPairHandshakeRefactorDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kFastPairHandshakeRefactor)}, |
| |
| {"fast-pair-low-power", flag_descriptions::kFastPairLowPowerName, |
| flag_descriptions::kFastPairLowPowerDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kFastPairLowPower)}, |
| |
| {"fast-pair-saved-devices", flag_descriptions::kFastPairSavedDevicesName, |
| flag_descriptions::kFastPairSavedDevicesDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kFastPairSavedDevices)}, |
| |
| {"frame-sink-desktop-capturer-in-crd", |
| flag_descriptions::kFrameSinkDesktopCapturerInCrdName, |
| flag_descriptions::kFrameSinkDesktopCapturerInCrdDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE( |
| remoting::features::kEnableFrameSinkDesktopCapturerInCrd)}, |
| |
| {"fast-pair-software-scanning", |
| flag_descriptions::kFastPairSoftwareScanningName, |
| flag_descriptions::kFastPairSoftwareScanningDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kFastPairSoftwareScanning)}, |
| |
| {"pcie-billboard-notification", |
| flag_descriptions::kPcieBillboardNotificationName, |
| flag_descriptions::kPcieBillboardNotificationDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kPcieBillboardNotification)}, |
| |
| {"use-search-click-for-right-click", |
| flag_descriptions::kUseSearchClickForRightClickName, |
| flag_descriptions::kUseSearchClickForRightClickDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kUseSearchClickForRightClick)}, |
| |
| {"show-metered-toggle", flag_descriptions::kMeteredShowToggleName, |
| flag_descriptions::kMeteredShowToggleDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(features::kMeteredShowToggle)}, |
| |
| {"display-alignment-assistance", |
| flag_descriptions::kDisplayAlignmentAssistanceName, |
| flag_descriptions::kDisplayAlignmentAssistanceDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kDisplayAlignAssist)}, |
| |
| {"enable-experimental-rgb-keyboard-patterns", |
| flag_descriptions::kExperimentalRgbKeyboardPatternsName, |
| flag_descriptions::kExperimentalRgbKeyboardPatternsDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kExperimentalRgbKeyboardPatterns)}, |
| |
| {"enable-get-debugd-logs-in-parallel", |
| flag_descriptions::kEnableGetDebugdLogsInParallelName, |
| flag_descriptions::kEnableGetDebugdLogsInParallelDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kEnableGetDebugdLogsInParallel)}, |
| |
| {"enable-hostname-setting", flag_descriptions::kEnableHostnameSettingName, |
| flag_descriptions::kEnableHostnameSettingDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kEnableHostnameSetting)}, |
| |
| {"enable-oauth-ipp", flag_descriptions::kEnableOAuthIppName, |
| flag_descriptions::kEnableOAuthIppDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kEnableOAuthIpp)}, |
| |
| {"enable-shortcut-customization-app", |
| flag_descriptions::kEnableShortcutCustomizationAppName, |
| flag_descriptions::kEnableShortcutCustomizationAppDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(features::kShortcutCustomizationApp)}, |
| |
| {"enable-shortcut-customization", |
| flag_descriptions::kEnableShortcutCustomizationName, |
| flag_descriptions::kEnableShortcutCustomizationDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(features::kShortcutCustomization)}, |
| |
| {"enable-search-in-shortcuts-app", |
| flag_descriptions::kEnableSearchInShortcutsAppName, |
| flag_descriptions::kEnableSearchInShortcutsAppDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kSearchInShortcutsApp)}, |
| |
| {"enable-input-device-settings-split", |
| flag_descriptions::kEnableInputDeviceSettingsSplitName, |
| flag_descriptions::kEnableInputDeviceSettingsSplitDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kInputDeviceSettingsSplit)}, |
| |
| {"enable-rgb-keyboard", flag_descriptions::kEnableRgbKeyboardName, |
| flag_descriptions::kEnableRgbKeyboardDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kRgbKeyboard)}, |
| |
| {"enable-accessibility-accelerators-notifications-timeout", |
| flag_descriptions::kAccessibilityAcceleratorNotificationsTimeoutName, |
| flag_descriptions:: |
| kAccessibilityAcceleratorNotificationsTimeoutDescription, |
| kOsCrOS, |
| FEATURE_VALUE_TYPE( |
| features::kAccessibilityAcceleratorNotificationsTimeout)}, |
| |
| {"enable-accessibility-service", |
| flag_descriptions::kAccessibilityServiceName, |
| flag_descriptions::kAccessibilityServiceDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(features::kAccessibilityService)}, |
| |
| {"enable-accessibility-select-to-speak-context-menu-option", |
| flag_descriptions::kAccessibilitySelectToSpeakContextMenuOptionName, |
| flag_descriptions::kAccessibilitySelectToSpeakContextMenuOptionDescription, |
| kOsCrOS, |
| FEATURE_VALUE_TYPE( |
| features::kAccessibilitySelectToSpeakContextMenuOption)}, |
| |
| {"enable-accessibility-select-to-speak-hover-text-improvements", |
| flag_descriptions::kAccessibilitySelectToSpeakHoverTextImprovementsName, |
| flag_descriptions:: |
| kAccessibilitySelectToSpeakHoverTextImprovementsDescription, |
| kOsCrOS, |
| FEATURE_VALUE_TYPE( |
| features::kAccessibilitySelectToSpeakHoverTextImprovements)}, |
| |
| {"enable-accessibility-select-to-speak-page-migration", |
| flag_descriptions::kAccessibilitySelectToSpeakPageMigrationName, |
| flag_descriptions::kAccessibilitySelectToSpeakPageMigrationDescription, |
| kOsCrOS, |
| FEATURE_VALUE_TYPE(features::kAccessibilitySelectToSpeakPageMigration)}, |
| |
| {"enable-accessibility-chromevox-page-migration", |
| flag_descriptions::kAccessibilityChromeVoxPageMigrationName, |
| flag_descriptions::kAccessibilityChromeVoxPageMigrationDescription, |
| kOsCrOS, |
| FEATURE_VALUE_TYPE(features::kAccessibilityChromeVoxPageMigration)}, |
| |
| {"enable-view-ppd", flag_descriptions::kEnableViewPpdName, |
| flag_descriptions::kEnableViewPpdDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kEnableViewPpd)}, |
| |
| {"enable-only-show-new-shortcut-app", |
| flag_descriptions::kOnlyShowNewShortcutsAppName, |
| flag_descriptions::kOnlyShowNewShortcutsAppDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kOnlyShowNewShortcutsApp)}, |
| |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| {"enable-fenced-frames", flag_descriptions::kEnableFencedFramesName, |
| flag_descriptions::kEnableFencedFramesDescription, kOsAll, |
| FEATURE_VALUE_TYPE(blink::features::kFencedFrames)}, |
| |
| {"storage-access-api", flag_descriptions::kStorageAccessAPIName, |
| flag_descriptions::kStorageAccessAPIDescription, kOsAll, |
| FEATURE_VALUE_TYPE(blink::features::kStorageAccessAPI)}, |
| |
| {"enable-unsafe-webgpu", flag_descriptions::kUnsafeWebGPUName, |
| flag_descriptions::kUnsafeWebGPUDescription, kOsAll, |
| SINGLE_VALUE_TYPE(switches::kEnableUnsafeWebGPU)}, |
| |
| {"enable-webgpu-developer-features", |
| flag_descriptions::kWebGpuDeveloperFeaturesName, |
| flag_descriptions::kWebGpuDeveloperFeaturesDescription, kOsAll, |
| SINGLE_VALUE_TYPE(switches::kEnableWebGPUDeveloperFeatures)}, |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"autofill-use-mobile-label-disambiguation", |
| flag_descriptions::kAutofillUseMobileLabelDisambiguationName, |
| flag_descriptions::kAutofillUseMobileLabelDisambiguationDescription, |
| kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE( |
| autofill::features::kAutofillUseMobileLabelDisambiguation, |
| kAutofillUseMobileLabelDisambiguationVariations, |
| "AutofillUseMobileLabelDisambiguation")}, |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"metrics-settings-android", flag_descriptions::kMetricsSettingsAndroidName, |
| flag_descriptions::kMetricsSettingsAndroidDescription, kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(features::kMetricsSettingsAndroid, |
| kMetricsSettingsAndroidVariations, |
| "MetricsSettingsAndroid")}, |
| #endif |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"gesture-properties-dbus-service", |
| flag_descriptions::kEnableGesturePropertiesDBusServiceName, |
| flag_descriptions::kEnableGesturePropertiesDBusServiceDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kGesturePropertiesDBusService)}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| {"ev-details-in-page-info", flag_descriptions::kEvDetailsInPageInfoName, |
| flag_descriptions::kEvDetailsInPageInfoDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(features::kEvDetailsInPageInfo)}, |
| |
| {"mouse-subframe-no-implicit-capture", |
| flag_descriptions::kMouseSubframeNoImplicitCaptureName, |
| flag_descriptions::kMouseSubframeNoImplicitCaptureDescription, kOsAll, |
| FEATURE_VALUE_TYPE(features::kMouseSubframeNoImplicitCapture)}, |
| |
| #if BUILDFLAG(IS_CHROMEOS) |
| {"global-media-controls-cros-updated-ui", |
| flag_descriptions::kGlobalMediaControlsCrOSUpdatedUIName, |
| flag_descriptions::kGlobalMediaControlsCrOSUpdatedUIDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(media::kGlobalMediaControlsCrOSUpdatedUI)}, |
| #endif // BUILDFLAG(IS_CHROMEOS) |
| |
| #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ |
| BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) |
| {"global-media-controls-modern-ui", |
| flag_descriptions::kGlobalMediaControlsModernUIName, |
| flag_descriptions::kGlobalMediaControlsModernUIDescription, |
| kOsWin | kOsMac | kOsLinux | kOsLacros | kOsCrOS | kOsFuchsia, |
| FEATURE_VALUE_TYPE(media::kGlobalMediaControlsModernUI)}, |
| #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || |
| // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) |
| |
| {"turn-off-streaming-media-caching-on-battery", |
| flag_descriptions::kTurnOffStreamingMediaCachingOnBatteryName, |
| flag_descriptions::kTurnOffStreamingMediaCachingOnBatteryDescription, |
| kOsAll, |
| FEATURE_VALUE_TYPE(net::features::kTurnOffStreamingMediaCachingOnBattery)}, |
| |
| {"turn-off-streaming-media-caching-always", |
| flag_descriptions::kTurnOffStreamingMediaCachingAlwaysName, |
| flag_descriptions::kTurnOffStreamingMediaCachingAlwaysDescription, kOsAll, |
| FEATURE_VALUE_TYPE(net::features::kTurnOffStreamingMediaCachingAlways)}, |
| |
| {"enable-cooperative-scheduling", |
| flag_descriptions::kCooperativeSchedulingName, |
| flag_descriptions::kCooperativeSchedulingDescription, kOsAll, |
| FEATURE_VALUE_TYPE(features::kCooperativeScheduling)}, |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"enable-privacy-indicators", flag_descriptions::kPrivacyIndicatorsName, |
| flag_descriptions::kPrivacyIndicatorsDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kPrivacyIndicators)}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_ANDROID) |
| {"enable-local-web-approvals", flag_descriptions::kLocalWebApprovalsName, |
| flag_descriptions::kLocalWebApprovalsDescription, kOsCrOS | kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(supervised_user::kLocalWebApprovals, |
| kLocalWebApprovalsVariations, |
| "LocalWebApprovals")}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_ANDROID) |
| |
| #if BUILDFLAG(ENABLE_SUPERVISED_USERS) |
| {"enable-web-filter-interstitial-refresh", |
| flag_descriptions::kWebFilterInterstitialRefreshName, |
| flag_descriptions::kWebFilterInterstitialRefreshDescription, |
| kOsCrOS | kOsAndroid, |
| FEATURE_VALUE_TYPE(supervised_user::kWebFilterInterstitialRefresh)}, |
| #endif // BUILDFLAG(ENABLE_SUPERVISED_USERS) |
| |
| {"notification-scheduler", flag_descriptions::kNotificationSchedulerName, |
| flag_descriptions::kNotificationSchedulerDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(notifications::features::kNotificationScheduleService)}, |
| |
| {"notification-scheduler-debug-options", |
| flag_descriptions::kNotificationSchedulerDebugOptionName, |
| flag_descriptions::kNotificationSchedulerDebugOptionDescription, |
| kOsAndroid, MULTI_VALUE_TYPE(kNotificationSchedulerChoices)}, |
| |
| #if BUILDFLAG(IS_ANDROID) |
| |
| {"debug-chime-notification", |
| flag_descriptions::kChimeAlwaysShowNotificationName, |
| flag_descriptions::kChimeAlwaysShowNotificationDescription, kOsAndroid, |
| SINGLE_VALUE_TYPE(notifications::switches::kDebugChimeNotification)}, |
| |
| {"use-chime-android-sdk", flag_descriptions::kChimeAndroidSdkName, |
| flag_descriptions::kChimeAndroidSdkDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(notifications::features::kUseChimeAndroidSdk)}, |
| |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"use-toast-manager", flag_descriptions::kUseToastManagerName, |
| flag_descriptions::kUseToastManagerDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(::features::kUseToastManager)}, |
| {"android-widget-fullscreen-toast", |
| flag_descriptions::kAndroidWidgetFullscreenToastName, |
| flag_descriptions::kAndroidWidgetFullscreenToastDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(chrome::android::kAndroidWidgetFullscreenToast)}, |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"contextual-nudges", flag_descriptions::kContextualNudgesName, |
| flag_descriptions::kContextualNudgesDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kContextualNudges)}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"settings-app-notification-settings", |
| flag_descriptions::kSettingsAppNotificationSettingsName, |
| flag_descriptions::kSettingsAppNotificationSettingsDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kSettingsAppNotificationSettings)}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| {"use-sha1-server-handshakes", flag_descriptions::kSHA1ServerSignatureName, |
| flag_descriptions::kSHA1ServerSignatureDescription, kOsAll, |
| FEATURE_VALUE_TYPE(net::features::kSHA1ServerSignature)}, |
| |
| {"encrypted-client-hello", flag_descriptions::kEncryptedClientHelloName, |
| flag_descriptions::kEncryptedClientHelloDescription, kOsAll, |
| FEATURE_VALUE_TYPE(net::features::kEncryptedClientHello)}, |
| |
| {"use-dns-https-svcb-alpn", flag_descriptions::kUseDnsHttpsSvcbAlpnName, |
| flag_descriptions::kUseDnsHttpsSvcbAlpnDescription, |
| kOsLinux | kOsMac | kOsWin | kOsCrOS | kOsAndroid, |
| FEATURE_VALUE_TYPE(net::features::kUseDnsHttpsSvcbAlpn)}, |
| |
| #if !BUILDFLAG(IS_ANDROID) |
| {"hidpi-capture", flag_descriptions::kWebContentsCaptureHiDpiName, |
| flag_descriptions::kWebContentsCaptureHiDpiDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(media::kWebContentsCaptureHiDpi)}, |
| #endif // !BUILDFLAG(IS_ANDROID) |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"web-otp-backend", flag_descriptions::kWebOtpBackendName, |
| flag_descriptions::kWebOtpBackendDescription, kOsAndroid, |
| MULTI_VALUE_TYPE(kWebOtpBackendChoices)}, |
| |
| {"darken-websites-checkbox-in-themes-setting", |
| flag_descriptions::kDarkenWebsitesCheckboxInThemesSettingName, |
| flag_descriptions::kDarkenWebsitesCheckboxInThemesSettingDescription, |
| kOsAndroid, |
| FEATURE_VALUE_TYPE( |
| content_settings::kDarkenWebsitesCheckboxInThemesSetting)}, |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| {"enable-autofill-upi-vpa", flag_descriptions::kAutofillSaveAndFillVPAName, |
| flag_descriptions::kAutofillSaveAndFillVPADescription, kOsAll, |
| FEATURE_VALUE_TYPE(autofill::features::kAutofillSaveAndFillVPA)}, |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"context-menu-search-with-google-lens", |
| flag_descriptions::kContextMenuSearchWithGoogleLensName, |
| flag_descriptions::kContextMenuSearchWithGoogleLensDescription, kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE( |
| chrome::android::kContextMenuSearchWithGoogleLens, |
| kLensContextMenuSearchVariations, |
| "ContextMenuSearchWithGoogleLens")}, |
| |
| {"context-menu-google-lens-search-optimizations", |
| flag_descriptions::kContextMenuGoogleLensSearchOptimizationsName, |
| flag_descriptions::kContextMenuGoogleLensSearchOptimizationsDescription, |
| kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE( |
| chrome::android::kContextMenuGoogleLensSearchOptimizations, |
| kContextMenuGoogleLensSearchOptimizationVariations, |
| "ContextMenuGoogleLensSearchOptimizations")}, |
| |
| {"lens-camera-assisted-search", |
| flag_descriptions::kLensCameraAssistedSearchName, |
| flag_descriptions::kLensCameraAssistedSearchDescription, kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(chrome::android::kLensCameraAssistedSearch, |
| kLensCameraAssistedSearchVariations, |
| "LensCameraAssistedSearch")}, |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| {"autofill-always-return-cloud-tokenized-card", |
| flag_descriptions::kAutofillAlwaysReturnCloudTokenizedCardName, |
| flag_descriptions::kAutofillAlwaysReturnCloudTokenizedCardDescription, |
| kOsAll, |
| FEATURE_VALUE_TYPE( |
| autofill::features::kAutofillAlwaysReturnCloudTokenizedCard)}, |
| |
| {"back-forward-cache", flag_descriptions::kBackForwardCacheName, |
| flag_descriptions::kBackForwardCacheDescription, kOsAll, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(features::kBackForwardCache, |
| kBackForwardCacheVariations, |
| "BackForwardCache")}, |
| {"enable-back-forward-cache-for-screen-reader", |
| flag_descriptions::kEnableBackForwardCacheForScreenReaderName, |
| flag_descriptions::kEnableBackForwardCacheForScreenReaderDescription, |
| kOsAll, |
| FEATURE_VALUE_TYPE(features::kEnableBackForwardCacheForScreenReader)}, |
| |
| {"windows-scrolling-personality", |
| flag_descriptions::kWindowsScrollingPersonalityName, |
| flag_descriptions::kWindowsScrollingPersonalityDescription, kOsAll, |
| FEATURE_VALUE_TYPE(features::kWindowsScrollingPersonality)}, |
| |
| {"scroll-unification", flag_descriptions::kScrollUnificationName, |
| flag_descriptions::kScrollUnificationDescription, kOsAll, |
| FEATURE_VALUE_TYPE(features::kScrollUnification)}, |
| |
| #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_ANDROID) |
| {"elastic-overscroll", flag_descriptions::kElasticOverscrollName, |
| flag_descriptions::kElasticOverscrollDescription, kOsWin | kOsAndroid, |
| FEATURE_VALUE_TYPE(features::kElasticOverscroll)}, |
| #endif |
| |
| {"device-posture", flag_descriptions::kDevicePostureName, |
| flag_descriptions::kDevicePostureDescription, kOsAll, |
| FEATURE_VALUE_TYPE(features::kDevicePosture)}, |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"device-force-scheduled-reboot", |
| flag_descriptions::kDeviceForceScheduledRebootName, |
| flag_descriptions::kDeviceForceScheduledRebootDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kDeviceForceScheduledReboot)}, |
| {"enable-assistant-aec", flag_descriptions::kEnableGoogleAssistantAecName, |
| flag_descriptions::kEnableGoogleAssistantAecDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::assistant::features::kAssistantAudioEraser)}, |
| #endif |
| |
| #if BUILDFLAG(IS_WIN) |
| {"enable-winrt-geolocation-implementation", |
| flag_descriptions::kWinrtGeolocationImplementationName, |
| flag_descriptions::kWinrtGeolocationImplementationDescription, kOsWin, |
| FEATURE_VALUE_TYPE(features::kWinrtGeolocationImplementation)}, |
| #endif |
| |
| #if BUILDFLAG(IS_MAC) |
| {"enable-core-location-backend", |
| flag_descriptions::kMacCoreLocationBackendName, |
| flag_descriptions::kMacCoreLocationBackendDescription, kOsMac, |
| FEATURE_VALUE_TYPE(features::kMacCoreLocationBackend)}, |
| #endif |
| |
| #if !BUILDFLAG(IS_ANDROID) |
| {"mute-notification-snooze-action", |
| flag_descriptions::kMuteNotificationSnoozeActionName, |
| flag_descriptions::kMuteNotificationSnoozeActionDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(features::kMuteNotificationSnoozeAction)}, |
| #endif // !BUILDFLAG(IS_ANDROID) |
| |
| #if BUILDFLAG(IS_MAC) |
| {"enable-new-mac-notification-api", |
| flag_descriptions::kNewMacNotificationAPIName, |
| flag_descriptions::kNewMacNotificationAPIDescription, kOsMac, |
| FEATURE_VALUE_TYPE(features::kNewMacNotificationAPI)}, |
| #endif |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"exo-gamepad-vibration", flag_descriptions::kExoGamepadVibrationName, |
| flag_descriptions::kExoGamepadVibrationDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kGamepadVibration)}, |
| {"exo-ordinal-motion", flag_descriptions::kExoOrdinalMotionName, |
| flag_descriptions::kExoOrdinalMotionDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kExoOrdinalMotion)}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| #if BUILDFLAG(IS_MAC) |
| {"screentime", flag_descriptions::kScreenTimeName, |
| flag_descriptions::kScreenTimeDescription, kOsMac, |
| FEATURE_VALUE_TYPE(screentime::kScreenTime)}, |
| #endif |
| |
| {"enable-heavy-ad-intervention", |
| flag_descriptions::kHeavyAdInterventionName, |
| flag_descriptions::kHeavyAdInterventionDescription, kOsAll, |
| FEATURE_VALUE_TYPE(heavy_ad_intervention::features::kHeavyAdIntervention)}, |
| |
| {"heavy-ad-privacy-mitigations", |
| flag_descriptions::kHeavyAdPrivacyMitigationsName, |
| flag_descriptions::kHeavyAdPrivacyMitigationsDescription, kOsAll, |
| FEATURE_VALUE_TYPE( |
| heavy_ad_intervention::features::kHeavyAdPrivacyMitigations)}, |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"crostini-container-install", |
| flag_descriptions::kCrostiniContainerInstallName, |
| flag_descriptions::kCrostiniContainerInstallDescription, kOsCrOS, |
| MULTI_VALUE_TYPE(kCrostiniContainerChoices)}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"os-settings-app-notifications-page", |
| flag_descriptions::kOsSettingsAppNotificationsPageName, |
| flag_descriptions::kOsSettingsAppNotificationsPageDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kOsSettingsAppNotificationsPage)}, |
| {"help-app-launcher-search", flag_descriptions::kHelpAppLauncherSearchName, |
| flag_descriptions::kHelpAppLauncherSearchDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kHelpAppLauncherSearch)}, |
| {"release-notes-notification-all-channels", |
| flag_descriptions::kReleaseNotesNotificationAllChannelsName, |
| flag_descriptions::kReleaseNotesNotificationAllChannelsDescription, |
| kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kReleaseNotesNotificationAllChannels)}, |
| {"release-track-ui", flag_descriptions::kReleaseTrackUiName, |
| flag_descriptions::kReleaseTrackUiDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kReleaseTrackUi)}, |
| {"use-stork-smds-server-address", |
| flag_descriptions::kUseStorkSmdsServerAddressName, |
| flag_descriptions::kUseStorkSmdsServerAddressDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kUseStorkSmdsServerAddress)}, |
| {"use-wallpaper-staging-url", |
| flag_descriptions::kUseWallpaperStagingUrlName, |
| flag_descriptions::kUseWallpaperStagingUrlDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kUseWallpaperStagingUrl)}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| {"autofill-enable-virtual-card", |
| flag_descriptions::kAutofillEnableVirtualCardName, |
| flag_descriptions::kAutofillEnableVirtualCardDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(autofill::features::kAutofillEnableVirtualCard)}, |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"autofill-enable-manual-fallback-for-virtual-cards", |
| flag_descriptions::kAutofillEnableManualFallbackForVirtualCardsName, |
| flag_descriptions::kAutofillEnableManualFallbackForVirtualCardsDescription, |
| kOsAndroid, |
| FEATURE_VALUE_TYPE( |
| autofill::features::kAutofillEnableManualFallbackForVirtualCards)}, |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| {"autofill-enable-card-product-name", |
| flag_descriptions::kAutofillEnableCardProductNameName, |
| flag_descriptions::kAutofillEnableCardProductNameDescription, kOsAll, |
| FEATURE_VALUE_TYPE(autofill::features::kAutofillEnableCardProductName)}, |
| |
| #if BUILDFLAG(ENABLE_PAINT_PREVIEW) && BUILDFLAG(IS_ANDROID) |
| {"paint-preview-demo", flag_descriptions::kPaintPreviewDemoName, |
| flag_descriptions::kPaintPreviewDemoDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(paint_preview::kPaintPreviewDemo)}, |
| #endif // BUILDFLAG(ENABLE_PAINT_PREVIEW) && BUILDFLAG(IS_ANDROID) |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"recover-from-never-save-android", |
| flag_descriptions::kRecoverFromNeverSaveAndroidName, |
| flag_descriptions::kRecoverFromNeverSaveAndroidDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE( |
| password_manager::features::kRecoverFromNeverSaveAndroid)}, |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| {"full-user-agent", flag_descriptions::kFullUserAgentName, |
| flag_descriptions::kFullUserAgentDescription, kOsDesktop | kOsAndroid, |
| FEATURE_VALUE_TYPE(blink::features::kFullUserAgent)}, |
| |
| #if BUILDFLAG(IS_WIN) |
| {"run-video-capture-service-in-browser", |
| flag_descriptions::kRunVideoCaptureServiceInBrowserProcessName, |
| flag_descriptions::kRunVideoCaptureServiceInBrowserProcessDescription, |
| kOsWin, |
| FEATURE_VALUE_TYPE(features::kRunVideoCaptureServiceInBrowserProcess)}, |
| #endif // BUILDFLAG(IS_WIN) |
| {"disruptive-notification-permission-revocation", |
| flag_descriptions::kDisruptiveNotificationPermissionRevocationName, |
| flag_descriptions::kDisruptiveNotificationPermissionRevocationDescription, |
| kOsAll, |
| FEATURE_VALUE_TYPE(features::kDisruptiveNotificationPermissionRevocation)}, |
| {"double-buffer-compositing", |
| flag_descriptions::kDoubleBufferCompositingName, |
| flag_descriptions::kDoubleBufferCompositingDescription, kOsCrOS, |
| SINGLE_VALUE_TYPE(switches::kDoubleBufferCompositing)}, |
| |
| #if !BUILDFLAG(IS_ANDROID) |
| {"page-info-cookies-subpage", |
| flag_descriptions::kPageInfoCookiesSubpageName, |
| flag_descriptions::kPageInfoCookiesSubpageDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(page_info::kPageInfoCookiesSubpage)}, |
| |
| {"page-info-hide-site-settings", |
| flag_descriptions::kPageInfoHideSiteSettingsName, |
| flag_descriptions::kPageInfoHideSiteSettingsDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(page_info::kPageInfoHideSiteSettings)}, |
| #endif // !BUILDFLAG(IS_ANDROID) |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"page-info-about-this-site-improved-bottomsheet", |
| flag_descriptions::kPageInfoAboutThisSiteImprovedBottomSheetName, |
| flag_descriptions::kPageInfoAboutThisSiteImprovedBottomSheetDescription, |
| kOsAndroid, |
| FEATURE_VALUE_TYPE(page_info::kPageInfoAboutThisSiteImprovedBottomSheet)}, |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| #if !BUILDFLAG(IS_ANDROID) |
| {"page-info-history-desktop", |
| flag_descriptions::kPageInfoHistoryDesktopName, |
| flag_descriptions::kPageInfoHistoryDesktopDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(page_info::kPageInfoHistoryDesktop)}, |
| #endif // !BUILDFLAG(IS_ANDROID) |
| |
| {"page-info-more-about-this-page", |
| flag_descriptions::kPageInfoMoreAboutThisPageName, |
| flag_descriptions::kPageInfoMoreAboutThisPageDescription, |
| kOsDesktop | kOsAndroid, |
| FEATURE_VALUE_TYPE(page_info::kPageInfoAboutThisSiteMoreInfo)}, |
| |
| {"page-info-about-this-site-new-icon", |
| flag_descriptions::kPageInfoAboutThisSiteNewIconName, |
| flag_descriptions::kPageInfoAboutThisSiteNewIconDescription, |
| kOsDesktop | kOsAndroid, |
| FEATURE_VALUE_TYPE(page_info::kPageInfoAboutThisSiteNewIcon)}, |
| |
| {"page-info-about-this-site-non-en", |
| flag_descriptions::kPageInfoAboutThisSiteNonEnName, |
| flag_descriptions::kPageInfoAboutThisSiteNonEnDescription, |
| kOsDesktop | kOsAndroid, |
| FEATURE_VALUE_TYPE(page_info::kPageInfoAboutThisSiteNonEn)}, |
| |
| {"page-info-about-this-site-non-msbb", |
| flag_descriptions::kPageInfoAboutThisSiteNonMsbbName, |
| flag_descriptions::kPageInfoAboutThisSiteNonMsbbDescription, |
| kOsDesktop | kOsAndroid, |
| FEATURE_VALUE_TYPE(page_info::kPageInfoAboutThisSiteNonMsbb)}, |
| |
| #if !BUILDFLAG(IS_ANDROID) |
| {"page-info-about-this-page-persistent-side-panel-entry", |
| flag_descriptions::kPageInfoboutThisPagePersistentEntryName, |
| flag_descriptions::kPageInfoboutThisPagePersistentEntryDescription, |
| kOsDesktop, |
| FEATURE_VALUE_TYPE(page_info::kAboutThisSitePersistentSidePanelEntry)}, |
| |
| {"page-info-about-this-site-keep-side-panel-open-on-same-tab-navs", |
| flag_descriptions::kPageInfoAboutThisSiteKeepSidePanelOnSameTabNavs, |
| flag_descriptions:: |
| kPageInfoAboutThisSiteKeepSidePanelOnSameTabNavsDescription, |
| kOsDesktop, |
| FEATURE_VALUE_TYPE( |
| page_info::kPageInfoAboutThisSiteKeepSidePanelOnSameTabNavs)}, |
| #endif |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {kClipboardHistoryLongpressInternalName, |
| flag_descriptions::kClipboardHistoryLongpressName, |
| flag_descriptions::kClipboardHistoryLongpressDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kClipboardHistoryLongpress)}, |
| {kClipboardHistoryReorderInternalName, |
| flag_descriptions::kClipboardHistoryReorderName, |
| flag_descriptions::kClipboardHistoryReorderDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kClipboardHistoryReorder)}, |
| {"enhanced_clipboard_nudge_session_reset", |
| flag_descriptions::kEnhancedClipboardNudgeSessionResetName, |
| flag_descriptions::kEnhancedClipboardNudgeSessionResetDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kClipboardHistoryNudgeSessionReset)}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| #if BUILDFLAG(IS_WIN) |
| {"enable-media-foundation-video-capture", |
| flag_descriptions::kEnableMediaFoundationVideoCaptureName, |
| flag_descriptions::kEnableMediaFoundationVideoCaptureDescription, kOsWin, |
| FEATURE_VALUE_TYPE(media::kMediaFoundationVideoCapture)}, |
| #endif // BUILDFLAG(IS_WIN) |
| |
| {"private-state-tokens", flag_descriptions::kPrivateStateTokensName, |
| flag_descriptions::kPrivateStateTokensDescription, kOsAll, |
| FEATURE_VALUE_TYPE(network::features::kPrivateStateTokens)}, |
| |
| #if !BUILDFLAG(IS_ANDROID) |
| {"copy-link-to-text", flag_descriptions::kCopyLinkToTextName, |
| flag_descriptions::kCopyLinkToTextDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(features::kCopyLinkToText)}, |
| #endif // !BUILDFLAG(IS_ANDROID) |
| |
| {"shared-highlighting-amp", flag_descriptions::kSharedHighlightingAmpName, |
| flag_descriptions::kSharedHighlightingAmpDescription, kOsAll, |
| FEATURE_VALUE_TYPE(shared_highlighting::kSharedHighlightingAmp)}, |
| {"shared-highlighting-manager", |
| flag_descriptions::kSharedHighlightingManagerName, |
| flag_descriptions::kSharedHighlightingManagerDescription, kOsAll, |
| FEATURE_VALUE_TYPE(shared_highlighting::kSharedHighlightingManager)}, |
| {"shared-highlighting-refined-blocklist", |
| flag_descriptions::kSharedHighlightingRefinedBlocklistName, |
| flag_descriptions::kSharedHighlightingRefinedBlocklistDescription, kOsAll, |
| FEATURE_VALUE_TYPE( |
| shared_highlighting::kSharedHighlightingRefinedBlocklist)}, |
| {"shared-highlighting-refined-maxcontextwords", |
| flag_descriptions::kSharedHighlightingRefinedMaxContextWordsName, |
| flag_descriptions::kSharedHighlightingRefinedMaxContextWordsDescription, |
| kOsAll, |
| FEATURE_WITH_PARAMS_VALUE_TYPE( |
| shared_highlighting::kSharedHighlightingRefinedMaxContextWords, |
| kSharedHighlightingMaxContextWordsVariations, |
| "SharedHighlightingRefinedMaxContextWords")}, |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"shimless-rma-flow", flag_descriptions::kShimlessRMAFlowName, |
| flag_descriptions::kShimlessRMAFlowDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kShimlessRMAFlow)}, |
| {"shimless-rma-os-update", flag_descriptions::kShimlessRMAOsUpdateName, |
| flag_descriptions::kShimlessRMAOsUpdateDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kShimlessRMAOsUpdate)}, |
| {"shimless-rma-disable-dark-mode", |
| flag_descriptions::kShimlessRMADisableDarkModeName, |
| flag_descriptions::kShimlessRMADisableDarkModeDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kShimlessRMADisableDarkMode)}, |
| {"shimless-rma-diagnostic-page", |
| flag_descriptions::kShimlessRMADiagnosticPageName, |
| flag_descriptions::kShimlessRMADiagnosticPageDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kShimlessRMADisableDarkMode)}, |
| {"nearby-sharing-self-share-auto-accept", |
| flag_descriptions::kNearbySharingSelfShareAutoAcceptName, |
| flag_descriptions::kNearbySharingSelfShareAutoAcceptDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(features::kNearbySharingSelfShareAutoAccept)}, |
| {"nearby-sharing-self-share-ui", |
| flag_descriptions::kNearbySharingSelfShareUIName, |
| flag_descriptions::kNearbySharingSelfShareUIDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(features::kNearbySharingSelfShareUI)}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"enable-palm-suppression", flag_descriptions::kEnablePalmSuppressionName, |
| flag_descriptions::kEnablePalmSuppressionDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ui::kEnablePalmSuppression)}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| {"enable-experimental-cookie-features", |
| flag_descriptions::kEnableExperimentalCookieFeaturesName, |
| flag_descriptions::kEnableExperimentalCookieFeaturesDescription, kOsAll, |
| MULTI_VALUE_TYPE(kEnableExperimentalCookieFeaturesChoices)}, |
| |
| {"permission-chip", flag_descriptions::kPermissionChipName, |
| flag_descriptions::kPermissionChipDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(permissions::features::kPermissionChip)}, |
| {"permission-quiet-chip", flag_descriptions::kPermissionQuietChipName, |
| flag_descriptions::kPermissionQuietChipDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(permissions::features::kPermissionQuietChip)}, |
| {"fail-fast-quiet-chip", flag_descriptions::kFailFastQuietChipName, |
| flag_descriptions::kFailFastQuietChipDescription, kOsAll, |
| FEATURE_VALUE_TYPE(permissions::features::kFailFastQuietChip)}, |
| |
| {"canvas-2d-layers", flag_descriptions::kCanvas2DLayersName, |
| flag_descriptions::kCanvas2DLayersDescription, kOsAll, |
| SINGLE_VALUE_TYPE(switches::kEnableCanvas2DLayers)}, |
| |
| {"enable-machine-learning-model-loader-web-platform-api", |
| flag_descriptions::kEnableMachineLearningModelLoaderWebPlatformApiName, |
| flag_descriptions:: |
| kEnableMachineLearningModelLoaderWebPlatformApiDescription, |
| kOsAll, |
| FEATURE_VALUE_TYPE( |
| features::kEnableMachineLearningModelLoaderWebPlatformApi)}, |
| |
| {"confirmation-chip", flag_descriptions::kConfirmationChipName, |
| flag_descriptions::kConfirmationChipNameDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(permissions::features::kConfirmationChip)}, |
| |
| {"chip-location-bar-icon-override", |
| flag_descriptions::kChipLocationBarIconOverrideName, |
| flag_descriptions::kChipLocationBarIconOverrideDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(permissions::features::kChipLocationBarIconOverride)}, |
| |
| {"enable-translate-sub-frames", |
| flag_descriptions::kEnableTranslateSubFramesName, |
| flag_descriptions::kEnableTranslateSubFramesDescription, kOsAll, |
| FEATURE_VALUE_TYPE(translate::kTranslateSubFrames)}, |
| |
| {"attribution-reporting-debug-mode", |
| flag_descriptions::kAttributionReportingDebugModeName, |
| flag_descriptions::kAttributionReportingDebugModeDescription, kOsAll, |
| SINGLE_VALUE_TYPE(switches::kAttributionReportingDebugMode)}, |
| |
| {"private-aggregation-developer-mode", |
| flag_descriptions::kPrivateAggregationDeveloperModeName, |
| flag_descriptions::kPrivateAggregationDeveloperModeDescription, kOsAll, |
| SINGLE_VALUE_TYPE(switches::kPrivateAggregationDeveloperMode)}, |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"productivity-launcher", flag_descriptions::kProductivityLauncherName, |
| flag_descriptions::kProductivityLauncherDescription, kOsCrOS, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(ash::features::kProductivityLauncher, |
| kProductivityLauncherVariations, |
| "ProductivityLauncher")}, |
| {"launcher-item-suggest", flag_descriptions::kLauncherItemSuggestName, |
| flag_descriptions::kLauncherItemSuggestDescription, kOsCrOS, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(ash::kLauncherItemSuggest, |
| kLauncherItemSuggestVariations, |
| "LauncherItemSuggest")}, |
| {"eol-incentive", flag_descriptions::kEolIncentiveName, |
| flag_descriptions::kEolIncentiveDescription, kOsCrOS, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(ash::features::kEolIncentive, |
| kEolIncentiveVariations, |
| "EolIncentive")}, |
| {"autocomplete-extended-suggestions", |
| flag_descriptions::kAutocompleteExtendedSuggestionsName, |
| flag_descriptions::kAutocompleteExtendedSuggestionsDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kAutocompleteExtendedSuggestions)}, |
| {"productivity-launcher-image-search", |
| flag_descriptions::kProductivityLauncherImageSearchName, |
| flag_descriptions::kProductivityLauncherImageSearchDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kProductivityLauncherImageSearch)}, |
| {"shelf-auto-hide-separation", |
| flag_descriptions::kShelfAutoHideSeparationName, |
| flag_descriptions::kShelfAutoHideSeparationDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kShelfAutoHideSeparation)}, |
| {"shelf-stacked-hotseat", flag_descriptions::kShelfStackedHotseatName, |
| flag_descriptions::kShelfStackedHotseatDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kShelfStackedHotseat)}, |
| {"launcher-game-search", flag_descriptions::kLauncherGameSearchName, |
| flag_descriptions::kLauncherGameSearchDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(search_features::kLauncherGameSearch)}, |
| {"launcher-keyword-extraction-scoring", |
| flag_descriptions::kLauncherKeywordExtractionScoring, |
| flag_descriptions::kLauncherKeywordExtractionScoringDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(search_features::kLauncherKeywordExtractionScoring)}, |
| {"launcher-fuzzy-match-for-omnibox", |
| flag_descriptions::kLauncherFuzzyMatchForOmniboxName, |
| flag_descriptions::kLauncherFuzzyMatchForOmniboxDescription, kOsCrOS, |
| FEATURE_WITH_PARAMS_VALUE_TYPE( |
| search_features::kLauncherFuzzyMatchForOmnibox, |
| kLauncherFuzzyMatchForOmniboxVariations, |
| "LauncherFuzzyMatchForOmnibox")}, |
| {"launcher-system-info-answer-cards", |
| flag_descriptions::kLauncherSystemInfoAnswerCardsName, |
| flag_descriptions::kLauncherSystemInfoAnswerCardsDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(search_features::kLauncherSystemInfoAnswerCards)}, |
| {"quick-gesture-show-launcher", |
| flag_descriptions::kQuickActionShowBubbleLauncherName, |
| flag_descriptions::kQuickActionShowBubbleLauncherDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(app_list_features::kQuickActionShowBubbleLauncher)}, |
| {"app-list-drag-and-drop-refactor", |
| flag_descriptions::kAppListDragAndDropRefactorName, |
| flag_descriptions::kAppListDragAndDropRefactorDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(app_list_features::kDragAndDropRefactor)}, |
| {"text-in-shelf", flag_descriptions::kTextInShelfName, |
| flag_descriptions::kTextInShelfDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kHomeButtonWithText)}, |
| {"app-collection-folder-refresh", |
| flag_descriptions::kAppCollectionFolderRefreshName, |
| flag_descriptions::kAppCollectionFolderRefreshDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kAppCollectionFolderRefresh)}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"mac-address-randomization", |
| flag_descriptions::kMacAddressRandomizationName, |
| flag_descriptions::kMacAddressRandomizationDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kMacAddressRandomization)}, |
| |
| {"oobe-jelly", flag_descriptions::kOobeJellyName, |
| flag_descriptions::kOobeJellyDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kOobeJelly)}, |
| {"oobe-simon", flag_descriptions::kOobeSimonName, |
| flag_descriptions::kOobeSimonDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kOobeSimon)}, |
| |
| {"search-result-inline-icon", |
| flag_descriptions::kSearchResultInlineIconName, |
| flag_descriptions::kSearchResultInlineIconDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(app_list_features::kSearchResultInlineIcon)}, |
| |
| {"smds-dbus-migration", flag_descriptions::kSmdsDbusMigrationName, |
| flag_descriptions::kSmdsDbusMigrationDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kSmdsDbusMigration)}, |
| |
| {"dynamic-search-update-animation", |
| flag_descriptions::kDynamicSearchUpdateAnimationName, |
| flag_descriptions::kDynamicSearchUpdateAnimationDescription, kOsCrOS, |
| FEATURE_WITH_PARAMS_VALUE_TYPE( |
| app_list_features::kDynamicSearchUpdateAnimation, |
| kDynamicSearchUpdateAnimationVariations, |
| "LauncherDynamicAnimations")}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| {"enable-bluetooth-spp-in-serial-api", |
| flag_descriptions::kEnableBluetoothSerialPortProfileInSerialApiName, |
| flag_descriptions::kEnableBluetoothSerialPortProfileInSerialApiDescription, |
| kOsDesktop, |
| SINGLE_VALUE_TYPE(switches::kEnableBluetoothSerialPortProfileInSerialApi)}, |
| |
| {"password-view-page-in-settings", |
| flag_descriptions::kPasswordViewPageInSettingsName, |
| flag_descriptions::kPasswordViewPageInSettingsDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE( |
| password_manager::features::kPasswordViewPageInSettings)}, |
| |
| {"password-notes", flag_descriptions::kPasswordNotesWithBackupName, |
| flag_descriptions::kPasswordNotesWithBackupDescription, kOsDesktop, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(syncer::kPasswordNotesWithBackup, |
| kPasswordNotesAuthValidityVariations, |
| "PasswordNotesWithBackup")}, |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"frame-throttle-fps", flag_descriptions::kFrameThrottleFpsName, |
| flag_descriptions::kFrameThrottleFpsDescription, kOsCrOS, |
| MULTI_VALUE_TYPE(kFrameThrottleFpsChoices)}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"incognito-reauthentication-for-android", |
| flag_descriptions::kIncognitoReauthenticationForAndroidName, |
| flag_descriptions::kIncognitoReauthenticationForAndroidDescription, |
| kOsAndroid, |
| FEATURE_VALUE_TYPE(chrome::android::kIncognitoReauthenticationForAndroid)}, |
| #endif |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"enable-surface-control", flag_descriptions::kAndroidSurfaceControlName, |
| flag_descriptions::kAndroidSurfaceControlDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(features::kAndroidSurfaceControl)}, |
| |
| {"enable-image-reader", flag_descriptions::kAImageReaderName, |
| flag_descriptions::kAImageReaderDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(features::kAImageReader)}, |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"smart-suggestion-for-large-downloads", |
| flag_descriptions::kSmartSuggestionForLargeDownloadsName, |
| flag_descriptions::kSmartSuggestionForLargeDownloadsDescription, |
| kOsAndroid, |
| FEATURE_VALUE_TYPE(download::features::kSmartSuggestionForLargeDownloads)}, |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"messages-for-android-ads-blocked", |
| flag_descriptions::kMessagesForAndroidAdsBlockedName, |
| flag_descriptions::kMessagesForAndroidAdsBlockedDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(messages::kMessagesForAndroidAdsBlocked)}, |
| {"messages-for-android-infrastructure", |
| flag_descriptions::kMessagesForAndroidInfrastructureName, |
| flag_descriptions::kMessagesForAndroidInfrastructureDescription, |
| kOsAndroid, |
| FEATURE_VALUE_TYPE(messages::kMessagesForAndroidInfrastructure)}, |
| {"messages-for-android-offer-notification", |
| flag_descriptions::kMessagesForAndroidOfferNotificationName, |
| flag_descriptions::kMessagesForAndroidOfferNotificationDescription, |
| kOsAndroid, |
| FEATURE_VALUE_TYPE(messages::kMessagesForAndroidOfferNotification)}, |
| {"messages-for-android-permission-update", |
| flag_descriptions::kMessagesForAndroidPermissionUpdateName, |
| flag_descriptions::kMessagesForAndroidPermissionUpdateDescription, |
| kOsAndroid, |
| FEATURE_VALUE_TYPE(messages::kMessagesForAndroidPermissionUpdate)}, |
| {"messages-for-android-popup-blocked", |
| flag_descriptions::kMessagesForAndroidPopupBlockedName, |
| flag_descriptions::kMessagesForAndroidPopupBlockedDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(messages::kMessagesForAndroidPopupBlocked)}, |
| {"messages-for-android-pwa-install", |
| flag_descriptions::kMessagesForAndroidPWAInstallName, |
| flag_descriptions::kMessagesForAndroidPWAInstallDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(webapps::features::kInstallableAmbientBadgeMessage)}, |
| {"messages-for-android-save-card", |
| flag_descriptions::kMessagesForAndroidSaveCardName, |
| flag_descriptions::kMessagesForAndroidSaveCardDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(messages::kMessagesForAndroidSaveCard)}, |
| {"messages-for-android-stacking-animation", |
| flag_descriptions::kMessagesForAndroidStackingAnimationName, |
| flag_descriptions::kMessagesForAndroidStackingAnimationDescription, |
| kOsAndroid, |
| FEATURE_VALUE_TYPE(messages::kMessagesForAndroidStackingAnimation)}, |
| #endif |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"android-force-app-language-prompt", |
| flag_descriptions::kAndroidForceAppLanguagePromptName, |
| flag_descriptions::kAndroidForceAppLanguagePromptDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(language::kForceAppLanguagePrompt)}, |
| #endif |
| |
| #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ |
| BUILDFLAG(IS_FUCHSIA) |
| {"quick-commands", flag_descriptions::kQuickCommandsName, |
| flag_descriptions::kQuickCommandsDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(features::kQuickCommands)}, |
| #endif |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"quick-delete-for-android", flag_descriptions::kQuickDeleteForAndroidName, |
| flag_descriptions::kQuickDeleteForAndroidDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(chrome::android::kQuickDeleteForAndroid)}, |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| {"pwa-update-dialog-for-icon", |
| flag_descriptions::kPwaUpdateDialogForAppIconName, |
| flag_descriptions::kPwaUpdateDialogForAppIconDescription, kOsAll, |
| FEATURE_VALUE_TYPE(features::kPwaUpdateDialogForIcon)}, |
| |
| {"pwa-update-dialog-for-name", |
| flag_descriptions::kPwaUpdateDialogForAppTitleName, |
| flag_descriptions::kPwaUpdateDialogForAppTitleDescription, kOsAll, |
| FEATURE_VALUE_TYPE(features::kPwaUpdateDialogForName)}, |
| |
| #if BUILDFLAG(ENABLE_OOP_PRINTING) |
| {"enable-oop-print-drivers", flag_descriptions::kEnableOopPrintDriversName, |
| flag_descriptions::kEnableOopPrintDriversDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(printing::features::kEnableOopPrintDrivers)}, |
| #endif |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"media-picker-adoption", flag_descriptions::kMediaPickerAdoptionStudyName, |
| flag_descriptions::kMediaPickerAdoptionStudyDescription, kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE( |
| photo_picker::features::kAndroidMediaPickerAdoption, |
| kPhotoPickerAdoptionStudyFeatureVariations, |
| "MediaPickerAdoption")}, |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| {"privacy-sandbox-ads-apis", |
| flag_descriptions::kPrivacySandboxAdsAPIsOverrideName, |
| flag_descriptions::kPrivacySandboxAdsAPIsOverrideDescription, kOsAll, |
| SINGLE_VALUE_TYPE(switches::kEnablePrivacySandboxAdsApis)}, |
| |
| {"privacy-sandbox-settings-4", |
| flag_descriptions::kPrivacySandboxSettings4Name, |
| flag_descriptions::kPrivacySandboxSettings4Description, kOsAll, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(privacy_sandbox::kPrivacySandboxSettings4, |
| kPrivacySandboxSettings4Variations, |
| "PrivacySandboxSettings4")}, |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"site-data-improvements", flag_descriptions::kSiteDataImprovementsName, |
| flag_descriptions::kSiteDataImprovementsDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(browser_ui::kSiteDataImprovements)}, |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| {"animated-image-resume", flag_descriptions::kAnimatedImageResumeName, |
| flag_descriptions::kAnimatedImageResumeDescription, kOsAll, |
| FEATURE_VALUE_TYPE(features::kAnimatedImageResume)}, |
| |
| #if !BUILDFLAG(IS_ANDROID) |
| {"enable-enhanced-safe-browsing-settings-improvements", |
| flag_descriptions::kEnableEnhancedSafeBrowsingSettingsImprovementsName, |
| flag_descriptions:: |
| kEnableEnhancedSafeBrowsingSettingsImprovementsDescription, |
| kOsDesktop, |
| FEATURE_WITH_PARAMS_VALUE_TYPE( |
| safe_browsing::kEsbIphBubbleAndCollapseSettings, |
| kEsbIphBubbleAndCollapseSettingsVariations, |
| "EsbIphBubbleAndCollapseSettingsVariations")}, |
| #endif // !BUILDFLAG(IS_ANDROID) |
| |
| #if !BUILDFLAG(IS_ANDROID) |
| {"sct-auditing", flag_descriptions::kSCTAuditingName, |
| flag_descriptions::kSCTAuditingDescription, kOsDesktop, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(features::kSCTAuditing, |
| kSCTAuditingVariations, |
| "SCTAuditingVariations")}, |
| #endif // !BUILDFLAG(IS_ANDROID) |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"incognito-screenshot", flag_descriptions::kIncognitoScreenshotName, |
| flag_descriptions::kIncognitoScreenshotDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(chrome::android::kIncognitoScreenshot)}, |
| |
| {"incognito-downloads-warning", |
| flag_descriptions::kIncognitoDownloadsWarningName, |
| flag_descriptions::kIncognitoDownloadsWarningDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(features::kIncognitoDownloadsWarning)}, |
| #endif |
| |
| {"incognito-ntp-revamp", flag_descriptions::kIncognitoNtpRevampName, |
| flag_descriptions::kIncognitoNtpRevampDescription, kOsAll, |
| FEATURE_VALUE_TYPE(features::kIncognitoNtpRevamp)}, |
| |
| {"block-insecure-downloads", flag_descriptions::kBlockInsecureDownloadsName, |
| flag_descriptions::kBlockInsecureDownloadsDescription, kOsAll, |
| FEATURE_VALUE_TYPE(features::kBlockInsecureDownloads)}, |
| |
| {"show-performance-metrics-hud", |
| flag_descriptions::kShowPerformanceMetricsHudName, |
| flag_descriptions::kShowPerformanceMetricsHudDescription, kOsAll, |
| FEATURE_VALUE_TYPE(features::kHudDisplayForPerformanceMetrics)}, |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"disable-buffer-bw-compression", |
| flag_descriptions::kDisableBufferBWCompressionName, |
| flag_descriptions::kDisableBufferBWCompressionDescription, kOsCrOS, |
| SINGLE_VALUE_TYPE(switches::kDisableBufferBWCompression)}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| {"omnibox-trigger-for-prerender2", |
| flag_descriptions::kOmniboxTriggerForPrerender2Name, |
| flag_descriptions::kOmniboxTriggerForPrerender2Description, kOsAll, |
| FEATURE_VALUE_TYPE(features::kOmniboxTriggerForPrerender2)}, |
| {"search-suggestion-for-prerender2", |
| flag_descriptions::kSupportSearchSuggestionForPrerender2Name, |
| flag_descriptions::kSupportSearchSuggestionForPrerender2Description, |
| kOsAll, |
| FEATURE_WITH_PARAMS_VALUE_TYPE( |
| features::kSupportSearchSuggestionForPrerender2, |
| kSearchSuggestionPrerenderTypeVariations, |
| "SearchSuggestionPrerender")}, |
| |
| {"omnibox-search-prefetch", |
| flag_descriptions::kEnableOmniboxSearchPrefetchName, |
| flag_descriptions::kEnableOmniboxSearchPrefetchDescription, kOsAll, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(kSearchPrefetchServicePrefetching, |
| kSearchPrefetchServicePrefetchingVariations, |
| "SearchSuggestionPrefetch")}, |
| {"omnibox-search-client-prefetch", |
| flag_descriptions::kEnableOmniboxClientSearchPrefetchName, |
| flag_descriptions::kEnableOmniboxClientSearchPrefetchDescription, kOsAll, |
| FEATURE_VALUE_TYPE(kSearchNavigationPrefetch)}, |
| |
| {"chrome-labs", flag_descriptions::kChromeLabsName, |
| flag_descriptions::kChromeLabsDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(features::kChromeLabs)}, |
| |
| {"chrome-refresh-2023", flag_descriptions::kChromeRefresh2023Name, |
| flag_descriptions::kChromeRefresh2023Description, kOsDesktop, |
| FEATURE_VALUE_TYPE(features::kChromeRefresh2023)}, |
| |
| {"enable-first-party-sets", flag_descriptions::kEnableFirstPartySetsName, |
| flag_descriptions::kEnableFirstPartySetsDescription, kOsAll, |
| FEATURE_VALUE_TYPE(features::kFirstPartySets)}, |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"autofill-enable-offers-in-clank-keyboard-accessory", |
| flag_descriptions::kAutofillEnableOffersInClankKeyboardAccessoryName, |
| flag_descriptions:: |
| kAutofillEnableOffersInClankKeyboardAccessoryDescription, |
| kOsAndroid, |
| FEATURE_VALUE_TYPE( |
| autofill::features::kAutofillEnableOffersInClankKeyboardAccessory)}, |
| #endif |
| |
| #if BUILDFLAG(ENABLE_PDF) |
| |
| #if !BUILDFLAG(IS_ANDROID) |
| // TODO(https://crbug.com/1278249): Add Windows once library supports it. |
| {"pdf-ocr", flag_descriptions::kPdfOcrName, |
| flag_descriptions::kPdfOcrDescription, |
| kOsMac | kOsLinux | kOsCrOS | kOsLacros, |
| FEATURE_VALUE_TYPE(features::kPdfOcr)}, |
| #endif // !BUILDFLAG(IS_ANDROID) |
| |
| {"pdf-xfa-forms", flag_descriptions::kPdfXfaFormsName, |
| flag_descriptions::kPdfXfaFormsDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(chrome_pdf::features::kPdfXfaSupport)}, |
| #endif // BUILDFLAG(ENABLE_PDF) |
| |
| {"send-tab-to-self-signin-promo", |
| flag_descriptions::kSendTabToSelfSigninPromoName, |
| flag_descriptions::kSendTabToSelfSigninPromoDescription, kOsAll, |
| FEATURE_VALUE_TYPE(send_tab_to_self::kSendTabToSelfSigninPromo)}, |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"send-tab-to-self-v2", flag_descriptions::kSendTabToSelfV2Name, |
| flag_descriptions::kSendTabToSelfV2Description, kOsAndroid, |
| FEATURE_VALUE_TYPE(send_tab_to_self::kSendTabToSelfV2)}, |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| #if BUILDFLAG(IS_WIN) |
| {"raw-audio-capture", flag_descriptions::kRawAudioCaptureName, |
| flag_descriptions::kRawAudioCaptureDescription, kOsWin, |
| FEATURE_VALUE_TYPE(media::kWasapiRawAudioCapture)}, |
| |
| {"fake-audio-capture-timestamps", |
| flag_descriptions::kFakeAudioCaptureTimestamps, |
| flag_descriptions::kFakeAudioCaptureTimestampsDescription, kOsWin, |
| FEATURE_VALUE_TYPE(media::kUseFakeAudioCaptureTimestamps)}, |
| #endif // BUILDFLAG(IS_WIN) |
| |
| {"enable-managed-configuration-web-api", |
| flag_descriptions::kEnableManagedConfigurationWebApiName, |
| flag_descriptions::kEnableManagedConfigurationWebApiDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(blink::features::kManagedConfiguration)}, |
| |
| {"enable-restricted-web-apis", |
| flag_descriptions::kEnableRestrictedWebApisName, |
| flag_descriptions::kEnableRestrictedWebApisDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(features::kEnableRestrictedWebApis)}, |
| |
| {"clear-cross-site-cross-browsing-context-group-window-name", |
| flag_descriptions::kClearCrossSiteCrossBrowsingContextGroupWindowNameName, |
| flag_descriptions:: |
| kClearCrossSiteCrossBrowsingContextGroupWindowNameDescription, |
| kOsAll, |
| FEATURE_VALUE_TYPE( |
| features::kClearCrossSiteCrossBrowsingContextGroupWindowName)}, |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {kWallpaperFastRefreshInternalName, |
| flag_descriptions::kWallpaperFastRefreshName, |
| flag_descriptions::kWallpaperFastRefreshDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kWallpaperFastRefresh)}, |
| {kWallpaperGooglePhotosSharedAlbumsInternalName, |
| flag_descriptions::kWallpaperGooglePhotosSharedAlbumsName, |
| flag_descriptions::kWallpaperGooglePhotosSharedAlbumsDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kWallpaperGooglePhotosSharedAlbums)}, |
| {kWallpaperPerDeskName, flag_descriptions::kWallpaperPerDeskName, |
| flag_descriptions::kWallpaperPerDeskDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kWallpaperPerDesk)}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) |
| {"enable-get-display-media-set", flag_descriptions::kGetDisplayMediaSetName, |
| flag_descriptions::kGetDisplayMediaSetDescription, |
| kOsCrOS | kOsLacros | kOsLinux, |
| FEATURE_VALUE_TYPE(features::kGetDisplayMediaSet)}, |
| |
| {"enable-get-display-media-set-auto-select-all-screens", |
| flag_descriptions::kGetDisplayMediaSetAutoSelectAllScreensName, |
| flag_descriptions::kGetDisplayMediaSetAutoSelectAllScreensDescription, |
| kOsCrOS | kOsLacros | kOsLinux, |
| FEATURE_VALUE_TYPE(features::kGetDisplayMediaSetAutoSelectAllScreens)}, |
| #endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) |
| |
| #if BUILDFLAG(IS_CHROMEOS) |
| {"enable-run-on-os-login", flag_descriptions::kRunOnOsLoginName, |
| flag_descriptions::kRunOnOsLoginDescription, kOsCrOS | kOsLacros, |
| FEATURE_VALUE_TYPE(features::kDesktopPWAsRunOnOsLogin)}, |
| #endif // BUILDFLAG(IS_CHROMEOS) |
| |
| #if BUILDFLAG(IS_CHROMEOS) |
| {"messages-preinstall", flag_descriptions::kMessagesPreinstallName, |
| flag_descriptions::kMessagesPreinstallDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(web_app::kMessagesPreinstall)}, |
| |
| {"lacros-color-management", flag_descriptions::kLacrosColorManagementName, |
| flag_descriptions::kLacrosColorManagementDescription, kOsCrOS | kOsLacros, |
| FEATURE_VALUE_TYPE(features::kLacrosColorManagement)}, |
| #endif |
| |
| #if BUILDFLAG(IS_CHROMEOS) |
| {"preinstalled-web-app-window-experiment", |
| flag_descriptions::kPreinstalledWebAppWindowExperimentName, |
| flag_descriptions::kPreinstalledWebAppWindowExperimentDescription, |
| kOsCrOS | kOsLacros, |
| FEATURE_WITH_PARAMS_VALUE_TYPE( |
| features::kPreinstalledWebAppWindowExperiment, |
| kPreinstalledWebAppWindowExperimentVariations, |
| "PreinstalledWebAppWindowExperimentVariations")}, |
| #endif // BUILDFLAG(IS_CHROMEOS) |
| |
| #if defined(ARCH_CPU_X86_FAMILY) && BUILDFLAG(IS_CHROMEOS) |
| // TODO(b/214589754): revisit the need for this flag when the final design |
| // for HW encoding is implemented for lacros-chrome. |
| {"enable-vaapi-vp9-kSVC-encode-acceleration", |
| flag_descriptions::kVaapiVP9kSVCEncoderName, |
| flag_descriptions::kVaapiVP9kSVCEncoderDescription, kOsCrOS | kOsLacros, |
| FEATURE_VALUE_TYPE(media::kVaapiVp9kSVCHWEncoding)}, |
| #endif // defined(ARCH_CPU_X86_FAMILY) && BUILDFLAG(IS_CHROMEOS) |
| |
| {"enable-global-vaapi-lock", flag_descriptions::kGlobalVaapiLockName, |
| flag_descriptions::kGlobalVaapiLockDescription, |
| kOsCrOS | kOsLinux | kOsLacros, |
| FEATURE_VALUE_TYPE(media::kGlobalVaapiLock)}, |
| |
| {"enable-vp9-kSVC-decode-acceleration", |
| flag_descriptions::kVp9kSVCHWDecodingName, |
| flag_descriptions::kVp9kSVCHWDecodingDescription, kOsAll, |
| FEATURE_VALUE_TYPE(media::kVp9kSVCHWDecoding)}, |
| |
| #if BUILDFLAG(IS_WIN) || \ |
| (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)) || \ |
| BUILDFLAG(IS_MAC) || BUILDFLAG(IS_FUCHSIA) |
| { |
| "ui-debug-tools", |
| flag_descriptions::kUIDebugToolsName, |
| flag_descriptions::kUIDebugToolsDescription, |
| kOsWin | kOsLinux | kOsLacros | kOsMac | kOsFuchsia, |
| FEATURE_VALUE_TYPE(features::kUIDebugTools), |
| }, |
| {"desktop-detailed-language-settings", |
| flag_descriptions::kDesktopDetailedLanguageSettingsName, |
| flag_descriptions::kDesktopDetailedLanguageSettingsDescription, |
| kOsWin | kOsLinux | kOsLacros | kOsMac | kOsFuchsia, |
| FEATURE_VALUE_TYPE(language::kDesktopDetailedLanguageSettings)}, |
| |
| {"sync-poll-immediately-on-every-startup", |
| flag_descriptions::kSyncPollImmediatelyOnEveryStartupName, |
| flag_descriptions::kSyncPollImmediatelyOnEveryStartupDescription, |
| kOsDesktop, |
| FEATURE_VALUE_TYPE(syncer::kSyncPollImmediatelyOnEveryStartup)}, |
| |
| {"sync-promo-after-signin-intercept", |
| flag_descriptions::kSyncPromoAfterSigninInterceptName, |
| flag_descriptions::kSyncPromoAfterSigninInterceptDescription, |
| kOsWin | kOsLinux | kOsLacros | kOsMac | kOsFuchsia, |
| FEATURE_VALUE_TYPE(kSyncPromoAfterSigninIntercept)}, |
| |
| {"signin-intercept-bubble-v2", |
| flag_descriptions::kSigninInterceptBubbleV2Name, |
| flag_descriptions::kSigninInterceptBubbleV2Description, |
| kOsWin | kOsLinux | kOsLacros | kOsMac | kOsFuchsia, |
| FEATURE_VALUE_TYPE(kSigninInterceptBubbleV2)}, |
| #endif |
| {"http-cache-partitioning", |
| flag_descriptions::kSplitCacheByNetworkIsolationKeyName, |
| flag_descriptions::kSplitCacheByNetworkIsolationKeyDescription, |
| kOsWin | kOsLinux | kOsLacros | kOsMac | kOsCrOS | kOsAndroid | kOsFuchsia, |
| FEATURE_VALUE_TYPE(net::features::kSplitCacheByNetworkIsolationKey)}, |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"content-languages-in-language-picker", |
| flag_descriptions::kContentLanguagesInLanguagePickerName, |
| flag_descriptions::kContentLanguagesInLanguagePickerDescription, |
| kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(language::kContentLanguagesInLanguagePicker, |
| kContentLanguagesInLanguaePickerVariations, |
| "ContentLanguagesInLanguagePicker")}, |
| #endif |
| |
| {"filling-across-affiliated-websites", |
| flag_descriptions::kFillingAcrossAffiliatedWebsitesName, |
| flag_descriptions::kFillingAcrossAffiliatedWebsitesDescription, kOsAll, |
| FEATURE_VALUE_TYPE( |
| password_manager::features::kFillingAcrossAffiliatedWebsites)}, |
| |
| {"draw-predicted-ink-point", flag_descriptions::kDrawPredictedPointsName, |
| flag_descriptions::kDrawPredictedPointsDescription, kOsAll, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(features::kDrawPredictedInkPoint, |
| kDrawPredictedPointVariations, |
| "DrawPredictedInkPoint")}, |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"optimization-guide-push-notifications", |
| flag_descriptions::kOptimizationGuidePushNotificationName, |
| flag_descriptions::kOptimizationGuidePushNotificationDescription, |
| kOsAndroid, |
| FEATURE_VALUE_TYPE(optimization_guide::features::kPushNotifications)}, |
| #endif |
| |
| {"fedcm", flag_descriptions::kFedCmName, |
| flag_descriptions::kFedCmDescription, kOsAll, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(features::kFedCm, |
| kFedCmFeatureVariations, |
| "FedCmFeatureVariations")}, |
| |
| {"fedcm-auto-re-authn", flag_descriptions::kFedCmAutoReauthnName, |
| flag_descriptions::kFedCmAutoReauthnDescription, kOsAll, |
| FEATURE_VALUE_TYPE(features::kFedCmAutoReauthn)}, |
| |
| {"fedcm-idp-registration", flag_descriptions::kFedCmIdPRegistrationName, |
| flag_descriptions::kFedCmIdPRegistrationDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(features::kFedCmIdPRegistration)}, |
| |
| {"fedcm-iframe-support", flag_descriptions::kFedCmIframeSupportName, |
| flag_descriptions::kFedCmIframeSupportDescription, kOsAll, |
| FEATURE_VALUE_TYPE(features::kFedCmIframeSupport)}, |
| |
| {"fedcm-login-hint", flag_descriptions::kFedCmLoginHintName, |
| flag_descriptions::kFedCmLoginHintDescription, kOsAll, |
| FEATURE_VALUE_TYPE(features::kFedCmLoginHint)}, |
| |
| {"fedcm-metrics-endpoint", flag_descriptions::kFedCmMetricsEndpointName, |
| flag_descriptions::kFedCmMetricsEndpointDescription, kOsAll, |
| FEATURE_VALUE_TYPE(features::kFedCmMetricsEndpoint)}, |
| |
| {"fedcm-multi-idp", flag_descriptions::kFedCmMultiIdpName, |
| flag_descriptions::kFedCmMultiIdpDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(features::kFedCmMultipleIdentityProviders)}, |
| |
| {"fedcm-selective-disclosure", |
| flag_descriptions::kFedCmSelectiveDisclosureName, |
| flag_descriptions::kFedCmSelectiveDisclosureDescription, kOsAll, |
| FEATURE_VALUE_TYPE(features::kFedCmSelectiveDisclosure)}, |
| |
| {"fedcm-rp-context", flag_descriptions::kFedCmRpContextName, |
| flag_descriptions::kFedCmRpContextDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(features::kFedCmRpContext)}, |
| |
| {"fedcm-user-info", flag_descriptions::kFedCmUserInfoName, |
| flag_descriptions::kFedCmUserInfoDescription, kOsAll, |
| FEATURE_VALUE_TYPE(features::kFedCmUserInfo)}, |
| |
| {"fedcm-without-third-party-cookies", |
| flag_descriptions::kFedCmWithoutThirdPartyCookiesName, |
| flag_descriptions::kFedCmWithoutThirdPartyCookiesDescription, kOsAll, |
| FEATURE_VALUE_TYPE(features::kFedCmWithoutThirdPartyCookies)}, |
| |
| {"web-identity-mdocs", flag_descriptions::kWebIdentityMDocsName, |
| flag_descriptions::kWebIdentityMDocsDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(features::kWebIdentityMDocs)}, |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"bluetooth-sessionized-metrics", |
| flag_descriptions::kBluetoothSessionizedMetricsName, |
| flag_descriptions::kBluetoothSessionizedMetricsDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(metrics::structured::kBluetoothSessionizedMetrics)}, |
| #endif |
| |
| {"autofill-highlight-only-changed-value-in-preview-mode", |
| flag_descriptions::kAutofillHighlightOnlyChangedValuesInPreviewModeName, |
| flag_descriptions:: |
| kAutofillHighlightOnlyChangedValuesInPreviewModeDescription, |
| kOsDesktop, |
| FEATURE_VALUE_TYPE( |
| autofill::features::kAutofillHighlightOnlyChangedValuesInPreviewMode)}, |
| |
| {"sanitizer-api", flag_descriptions::kSanitizerApiName, |
| flag_descriptions::kSanitizerApiDescription, kOsAll, |
| FEATURE_VALUE_TYPE(blink::features::kSanitizerAPI)}, |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"enable-input-event-logging", |
| flag_descriptions::kEnableInputEventLoggingName, |
| flag_descriptions::kEnableInputEventLoggingDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ui::kEnableInputEventLogging)}, |
| #endif |
| |
| {"autofill-enable-sticky-manual-fallback-for-cards", |
| flag_descriptions::kAutofillEnableStickyManualFallbackForCardsName, |
| flag_descriptions::kAutofillEnableStickyManualFallbackForCardsDescription, |
| kOsAndroid, |
| FEATURE_VALUE_TYPE( |
| autofill::features::kAutofillEnableStickyManualFallbackForCards)}, |
| |
| {"autofill-auto-trigger-manual-fallback-for-cards", |
| flag_descriptions::kAutofillAutoTriggerManualFallbackForCardsName, |
| flag_descriptions::kAutofillAutoTriggerManualFallbackForCardsDescription, |
| kOsAndroid, |
| FEATURE_VALUE_TYPE( |
| autofill::features::kAutofillAutoTriggerManualFallbackForCards)}, |
| |
| {"autofill-prevent-overriding-prefilled-values", |
| flag_descriptions::kAutofillPreventOverridingPrefilledValuesName, |
| flag_descriptions::kAutofillPreventOverridingPrefilledValuesDescription, |
| kOsDesktop | kOsAndroid, |
| FEATURE_VALUE_TYPE( |
| autofill::features::kAutofillPreventOverridingPrefilledValues)}, |
| |
| {"autofill-show-autocomplete-delete-button", |
| flag_descriptions::kAutofillShowAutocompleteDeleteButtonName, |
| flag_descriptions::kAutofillShowAutocompleteDeleteButtonDescription, |
| kOsDesktop, |
| FEATURE_VALUE_TYPE( |
| autofill::features::kAutofillShowAutocompleteDeleteButton)}, |
| |
| {"autofill-show-manual-fallbacks-in-context-menu", |
| flag_descriptions::kAutofillShowManualFallbackInContextMenuName, |
| flag_descriptions::kAutofillShowManualFallbackInContextMenuDescription, |
| kOsDesktop, |
| FEATURE_VALUE_TYPE( |
| autofill::features::kAutofillShowManualFallbackInContextMenu)}, |
| |
| {flag_descriptions::kEnableLensStandaloneFlagId, |
| flag_descriptions::kEnableLensStandaloneName, |
| flag_descriptions::kEnableLensStandaloneDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(lens::features::kLensStandalone)}, |
| |
| #if BUILDFLAG(ENABLE_LENS_DESKTOP_GOOGLE_BRANDED_FEATURES) |
| {"csc", flag_descriptions::kCscName, flag_descriptions::kCscDescription, |
| kOsDesktop, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(features::kSidePanelCompanion, |
| kCscVariations, |
| "CSC")}, |
| |
| {"enable-lens-region-search-static-page", |
| flag_descriptions::kLensRegionSearchStaticPageName, |
| flag_descriptions::kLensRegionSearchStaticPageDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(lens::features::kLensRegionSearchStaticPage)}, |
| #endif // BUILDFLAG(ENABLE_LENS_DESKTOP_GOOGLE_BRANDED_FEATURES) |
| |
| {"enable-lens-image-format-optimizations", |
| flag_descriptions::kLensImageFormatOptimizationsName, |
| flag_descriptions::kLensImageFormatOptimizationsDescription, kOsDesktop, |
| FEATURE_WITH_PARAMS_VALUE_TYPE( |
| lens::features::kLensImageFormatOptimizations, |
| kLensImageFormatVariations, |
| "LensImageFormatOptimizations")}, |
| |
| {"enable-lens-image-translate", flag_descriptions::kLensImageTranslateName, |
| flag_descriptions::kLensImageTranslateDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(lens::features::kEnableImageTranslate)}, |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"enable-log-controller-for-diagnostics-app", |
| flag_descriptions::kEnableLogControllerForDiagnosticsAppName, |
| flag_descriptions::kEnableLogControllerForDiagnosticsAppDescription, |
| kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kEnableLogControllerForDiagnosticsApp)}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"biometric-reauth-password-filling", |
| flag_descriptions::kBiometricReauthForPasswordFillingName, |
| flag_descriptions::kBiometricReauthForPasswordFillingDescription, |
| kOsAndroid, |
| FEATURE_VALUE_TYPE(password_manager::features::kBiometricTouchToFill)}, |
| {"fast-checkout", flag_descriptions::kFastCheckoutName, |
| flag_descriptions::kFastCheckoutDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(features::kFastCheckout)}, |
| {"force-enable-fast-checkout-capabilities", |
| flag_descriptions::kForceEnableFastCheckoutCapabilitiesName, |
| flag_descriptions::kForceEnableFastCheckoutCapabilitiesDescription, |
| kOsAndroid, |
| FEATURE_VALUE_TYPE(features::kForceEnableFastCheckoutCapabilities)}, |
| #endif |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"enable-keyboard-backlight-toggle", |
| flag_descriptions::kEnableKeyboardBacklightToggleName, |
| flag_descriptions::kEnableKeyboardBacklightToggleDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kEnableKeyboardBacklightToggle)}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| {"align-wakeups", flag_descriptions::kAlignWakeUpsName, |
| flag_descriptions::kAlignWakeUpsDescription, kOsAll, |
| FEATURE_VALUE_TYPE(base::kAlignWakeUps)}, |
| |
| {"enable-throttle-display-none-and-visibility-hidden-cross-origin-iframes", |
| flag_descriptions:: |
| kThrottleDisplayNoneAndVisibilityHiddenCrossOriginIframesName, |
| flag_descriptions:: |
| kThrottleDisplayNoneAndVisibilityHiddenCrossOriginIframesDescription, |
| kOsDesktop | kOsAndroid, |
| FEATURE_VALUE_TYPE( |
| blink::features:: |
| kThrottleDisplayNoneAndVisibilityHiddenCrossOriginIframes)}, |
| |
| {"enable-new-base-url-inheritance-behavior", |
| flag_descriptions::kNewBaseUrlInheritanceBehaviorName, |
| flag_descriptions::kNewBaseUrlInheritanceBehaviorDescription, |
| kOsDesktop | kOsAndroid, |
| FEATURE_VALUE_TYPE(blink::features::kNewBaseUrlInheritanceBehavior)}, |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"enable-input-in-diagnostics-app", |
| flag_descriptions::kEnableInputInDiagnosticsAppName, |
| flag_descriptions::kEnableInputInDiagnosticsAppDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kEnableInputInDiagnosticsApp)}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| #if BUILDFLAG(ENABLE_VALIDATING_COMMAND_DECODER) |
| {"use-passthrough-command-decoder", |
| flag_descriptions::kUsePassthroughCommandDecoderName, |
| flag_descriptions::kUsePassthroughCommandDecoderDescription, kOsAll, |
| FEATURE_VALUE_TYPE(features::kDefaultPassthroughCommandDecoder)}, |
| #endif // BUILDFLAG(ENABLE_VALIDATING_COMMAND_DECODER) |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"focus-follows-cursor", flag_descriptions::kFocusFollowsCursorName, |
| flag_descriptions::kFocusFollowsCursorDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(::features::kFocusFollowsCursor)}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| {"password-strength-indicator", |
| flag_descriptions::kPasswordStrengthIndicatorName, |
| flag_descriptions::kPasswordStrengthIndicatorDescription, kOsDesktop, |
| FEATURE_WITH_PARAMS_VALUE_TYPE( |
| password_manager::features::kPasswordStrengthIndicator, |
| kPasswordStrengthIndicatorVariations, |
| "PasswordStrengthIndicator")}, |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"privacy-guide-android", flag_descriptions::kPrivacyGuideAndroidName, |
| flag_descriptions::kPrivacyGuideAndroidDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(features::kPrivacyGuideAndroid)}, |
| #endif |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"google-mobile-services-passwords", |
| flag_descriptions::kUnifiedPasswordManagerAndroidName, |
| flag_descriptions::kUnifiedPasswordManagerAndroidDescription, kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE( |
| password_manager::features::kUnifiedPasswordManagerAndroid, |
| kUnifiedPasswordManagerAndroidVariations, |
| "UnifiedPasswordManagerAndroid")}, |
| |
| {"google-mobile-services-passwords-error-messages", |
| flag_descriptions::kUnifiedPasswordManagerErrorMessagesName, |
| flag_descriptions::kUnifiedPasswordManagerErrorMessagesDescription, |
| kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE( |
| password_manager::features::kUnifiedPasswordManagerErrorMessages, |
| kUnifiedPasswordManagerErrorMessagesVariations, |
| "UnifiedPasswordManagerErrorMessages")}, |
| |
| {"google-mobile-services-passwords-reenrollment", |
| flag_descriptions::kUnifiedPasswordManagerAndroidReenrollmentName, |
| flag_descriptions::kUnifiedPasswordManagerAndroidReenrollmentDescription, |
| kOsAndroid, |
| FEATURE_VALUE_TYPE( |
| password_manager::features::kUnifiedPasswordManagerReenrollment)}, |
| #endif |
| |
| {"tab-search-fuzzy-search", flag_descriptions::kTabSearchFuzzySearchName, |
| flag_descriptions::kTabSearchFuzzySearchDescription, kOsDesktop, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(features::kTabSearchFuzzySearch, |
| kTabSearchSearchThresholdVariations, |
| "TabSearchFuzzySearch")}, |
| |
| {"chrome-whats-new-ui", flag_descriptions::kChromeWhatsNewUIName, |
| flag_descriptions::kChromeWhatsNewUIDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(features::kChromeWhatsNewUI)}, |
| |
| {"sync-standalone-invalidations", flag_descriptions::kSyncInvalidationsName, |
| flag_descriptions::kSyncInvalidationsDescription, kOsAll, |
| FEATURE_VALUE_TYPE(::syncer::kUseSyncInvalidations)}, |
| |
| {"sync-standalone-invalidations-wallet-and-offer", |
| flag_descriptions::kSyncInvalidationsWalletAndOfferName, |
| flag_descriptions::kSyncInvalidationsWalletAndOfferDescription, kOsAll, |
| FEATURE_VALUE_TYPE(::syncer::kUseSyncInvalidationsForWalletAndOffer)}, |
| |
| {"debug-history-intervention-no-user-activation", |
| flag_descriptions::kDebugHistoryInterventionNoUserActivationName, |
| flag_descriptions::kDebugHistoryInterventionNoUserActivationDescription, |
| kOsAll, |
| FEATURE_VALUE_TYPE(features::kDebugHistoryInterventionNoUserActivation)}, |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"enable-phone-hub-call-notification", |
| flag_descriptions::kPhoneHubCallNotificationName, |
| flag_descriptions::kPhoneHubCallNotificationDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kPhoneHubCallNotification)}, |
| |
| {"enable-phone-hub-camera-roll", flag_descriptions::kPhoneHubCameraRollName, |
| flag_descriptions::kPhoneHubCameraRollDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kPhoneHubCameraRoll)}, |
| |
| {"enable-phone-hub-feature-setup-error-handling", |
| flag_descriptions::kPhoneHubFeatureSetupErrorHandlingName, |
| flag_descriptions::kPhoneHubFeatureSetupErrorHandlingDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kPhoneHubFeatureSetupErrorHandling)}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| {"partitioned-cookies", flag_descriptions::kPartitionedCookiesName, |
| flag_descriptions::kPartitionedCookiesDescription, kOsAll, |
| FEATURE_VALUE_TYPE(net::features::kPartitionedCookies)}, |
| |
| {"third-party-storage-partitioning", |
| flag_descriptions::kThirdPartyStoragePartitioningName, |
| flag_descriptions::kThirdPartyStoragePartitioningDescription, kOsAll, |
| FEATURE_VALUE_TYPE(net::features::kThirdPartyStoragePartitioning)}, |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {kBorealisBigGlInternalName, flag_descriptions::kBorealisBigGlName, |
| flag_descriptions::kBorealisBigGlDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kBorealisBigGl)}, |
| {kBorealisDiskManagementInternalName, |
| flag_descriptions::kBorealisDiskManagementName, |
| flag_descriptions::kBorealisDiskManagementDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kBorealisDiskManagement)}, |
| {kBorealisForceBetaClientInternalName, |
| flag_descriptions::kBorealisForceBetaClientName, |
| flag_descriptions::kBorealisForceBetaClientDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kBorealisForceBetaClient)}, |
| {kBorealisForceDoubleScaleInternalName, |
| flag_descriptions::kBorealisForceDoubleScaleName, |
| flag_descriptions::kBorealisForceDoubleScaleDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kBorealisForceDoubleScale)}, |
| {kBorealisLinuxModeInternalName, flag_descriptions::kBorealisLinuxModeName, |
| flag_descriptions::kBorealisLinuxModeDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kBorealisLinuxMode)}, |
| {kBorealisPermittedInternalName, flag_descriptions::kBorealisPermittedName, |
| flag_descriptions::kBorealisPermittedDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kBorealisPermitted)}, |
| {kBorealisStorageBallooningInternalName, |
| flag_descriptions::kBorealisStorageBallooningName, |
| flag_descriptions::kBorealisStorageBallooningDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kBorealisStorageBallooning)}, |
| {kVmPerBootShaderCacheName, flag_descriptions::kVmPerBootShaderCacheName, |
| flag_descriptions::kVmPerBootShaderCacheDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kVmPerBootShaderCache)}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| {"https-only-mode-setting", flag_descriptions::kHttpsOnlyModeName, |
| flag_descriptions::kHttpsOnlyModeDescription, kOsDesktop | kOsAndroid, |
| FEATURE_VALUE_TYPE(features::kHttpsOnlyMode)}, |
| |
| {"https-first-mode-v2", flag_descriptions::kHttpsFirstModeV2Name, |
| flag_descriptions::kHttpsFirstModeV2Description, kOsDesktop | kOsAndroid, |
| FEATURE_VALUE_TYPE(features::kHttpsFirstModeV2)}, |
| |
| {"https-upgrades", flag_descriptions::kHttpsUpgradesName, |
| flag_descriptions::kHttpsUpgradesDescription, kOsDesktop | kOsAndroid, |
| FEATURE_VALUE_TYPE(features::kHttpsUpgrades)}, |
| |
| #if BUILDFLAG(IS_WIN) |
| {"win-10-tab-search-caption-button", |
| flag_descriptions::kWin10TabSearchCaptionButtonName, |
| flag_descriptions::kWin10TabSearchCaptionButtonDescription, kOsWin, |
| FEATURE_VALUE_TYPE(features::kWin10TabSearchCaptionButton)}, |
| #endif // BUILDFLAG(IS_WIN) |
| |
| {"omnibox-updated-connection-security-indicators", |
| flag_descriptions::kOmniboxUpdatedConnectionSecurityIndicatorsName, |
| flag_descriptions::kOmniboxUpdatedConnectionSecurityIndicatorsDescription, |
| kOsDesktop | kOsAndroid, |
| FEATURE_VALUE_TYPE(omnibox::kUpdatedConnectionSecurityIndicators)}, |
| |
| {"enable-drdc", flag_descriptions::kEnableDrDcName, |
| flag_descriptions::kEnableDrDcDescription, kOsAll, |
| FEATURE_VALUE_TYPE(features::kEnableDrDc)}, |
| |
| {"force-gpu-main-thread-to-normal-priority-drdc", |
| flag_descriptions::kForceGpuMainThreadToNormalPriorityDrDcName, |
| flag_descriptions::kForceGpuMainThreadToNormalPriorityDrDcDescription, |
| kOsAll, |
| FEATURE_VALUE_TYPE(features::kForceGpuMainThreadToNormalPriorityDrDc)}, |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"enable-drdc-vulkan", flag_descriptions::kEnableDrDcVulkanName, |
| flag_descriptions::kEnableDrDcDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(features::kEnableDrDcVulkan)}, |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| {"autofill-fill-merchant-promo-code-fields", |
| flag_descriptions::kAutofillFillMerchantPromoCodeFieldsName, |
| flag_descriptions::kAutofillFillMerchantPromoCodeFieldsDescription, kOsAll, |
| FEATURE_VALUE_TYPE( |
| autofill::features::kAutofillFillMerchantPromoCodeFields)}, |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"traffic-counters", flag_descriptions::kTrafficCountersEnabledName, |
| flag_descriptions::kTrafficCountersEnabledDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kTrafficCountersEnabled)}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| #if BUILDFLAG(ENABLE_EXTENSIONS) |
| {"extensions-menu-access-control", |
| flag_descriptions::kExtensionsMenuAccessControlName, |
| flag_descriptions::kExtensionsMenuAccessControlDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(extensions_features::kExtensionsMenuAccessControl)}, |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"extension-web-file-handlers", |
| flag_descriptions::kExtensionWebFileHandlersName, |
| flag_descriptions::kExtensionWebFileHandlersDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(extensions_features::kExtensionWebFileHandlers)}, |
| #endif // IS_CHROMEOS_ASH |
| #endif // ENABLE_EXTENSIONS |
| |
| {"canvas-oop-rasterization", flag_descriptions::kCanvasOopRasterizationName, |
| flag_descriptions::kCanvasOopRasterizationDescription, kOsAll, |
| FEATURE_VALUE_TYPE(features::kCanvasOopRasterization)}, |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"bookmarks-improved-save-flow", |
| flag_descriptions::kBookmarksImprovedSaveFlowName, |
| flag_descriptions::kBookmarksImprovedSaveFlowDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(chrome::android::kBookmarksImprovedSaveFlow)}, |
| |
| {"bookmarks-refresh", flag_descriptions::kBookmarksRefreshName, |
| flag_descriptions::kBookmarksRefreshDescription, kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(chrome::android::kBookmarksRefresh, |
| kBookmarksRefreshVariations, |
| "Collections")}, |
| #endif |
| |
| {"enable-tab-audio-muting", flag_descriptions::kTabAudioMutingName, |
| flag_descriptions::kTabAudioMutingDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(media::kEnableTabMuting)}, |
| |
| {"autofill-enable-offer-notification-for-promo-codes", |
| flag_descriptions::kAutofillEnableOfferNotificationForPromoCodesName, |
| flag_descriptions:: |
| kAutofillEnableOfferNotificationForPromoCodesDescription, |
| kOsAll, |
| FEATURE_VALUE_TYPE( |
| autofill::features::kAutofillEnableOfferNotificationForPromoCodes)}, |
| |
| {"upcoming-follow-features", flag_descriptions::kUpcomingFollowFeaturesName, |
| flag_descriptions::kUpcomingFollowFeaturesDescription, kOsAll, |
| FEATURE_VALUE_TYPE(follow::kUpcomingFollowFeatures)}, |
| |
| {"upcoming-sharing-features", |
| flag_descriptions::kUpcomingSharingFeaturesName, |
| flag_descriptions::kUpcomingSharingFeaturesDescription, kOsAll, |
| FEATURE_VALUE_TYPE(share::kUpcomingSharingFeatures)}, |
| |
| #if defined(TOOLKIT_VIEWS) |
| {"revamped-password-management-bubble", |
| flag_descriptions::kRevampedPasswordManagementBubbleName, |
| flag_descriptions::kRevampedPasswordManagementBubbleDescription, |
| kOsDesktop, |
| FEATURE_VALUE_TYPE( |
| password_manager::features::kRevampedPasswordManagementBubble)}, |
| |
| {"search-web-in-side-panel", flag_descriptions::kSearchWebInSidePanelName, |
| flag_descriptions::kSearchWebInSidePanelDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(features::kSearchWebInSidePanel)}, |
| #endif // defined(TOOLKIT_VIEWS) |
| |
| #if !BUILDFLAG(IS_ANDROID) |
| {"customize-chrome-side-panel", |
| flag_descriptions::kCustomizeChromeSidePanelName, |
| flag_descriptions::KCustomizeChromeSidePanelDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(ntp_features::kCustomizeChromeSidePanel)}, |
| |
| {"customize-chrome-color-extraction", |
| flag_descriptions::kCustomizeChromeColorExtractionName, |
| flag_descriptions::kCustomizeChromeColorExtractionDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(ntp_features::kCustomizeChromeColorExtraction)}, |
| #endif |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"enable-component-updater-test-request", |
| flag_descriptions::kComponentUpdaterTestRequestName, |
| flag_descriptions::kComponentUpdaterTestRequestDescription, kOsCrOS, |
| SINGLE_VALUE_TYPE_AND_VALUE(switches::kComponentUpdater, |
| component_updater::kSwitchTestRequestParam)}, |
| #endif |
| |
| {"enable-raw-draw", flag_descriptions::kEnableRawDrawName, |
| flag_descriptions::kEnableRawDrawDescription, kOsAll, |
| FEATURE_VALUE_TYPE(features::kRawDraw)}, |
| |
| #if BUILDFLAG(IS_CHROMEOS_LACROS) |
| {"enable-delegated-compositing", |
| flag_descriptions::kEnableDelegatedCompositingName, |
| flag_descriptions::kEnableDelegatedCompositingDescription, kOsAll, |
| FEATURE_VALUE_TYPE(features::kDelegatedCompositing)}, |
| #endif |
| |
| #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ |
| BUILDFLAG(IS_CHROMEOS_ASH) |
| {"document-picture-in-picture-api", |
| flag_descriptions::kDocumentPictureInPictureApiName, |
| flag_descriptions::kDocumentPictureInPictureApiDescription, |
| kOsMac | kOsWin | kOsLinux | kOsCrOS, |
| FEATURE_VALUE_TYPE(blink::features::kDocumentPictureInPictureAPI)}, |
| #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || |
| // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| {"web-midi", flag_descriptions::kWebMidiName, |
| flag_descriptions::kWebMidiDescription, kOsAll, |
| FEATURE_VALUE_TYPE(features::kWebMidi)}, |
| #if BUILDFLAG(IS_ANDROID) |
| {"use-real-color-space-for-android-video", |
| flag_descriptions::kUseRealColorSpaceForAndroidVideoName, |
| flag_descriptions::kUseRealColorSpaceForAndroidVideoDescription, |
| kOsAndroid, FEATURE_VALUE_TYPE(media::kUseRealColorSpaceForAndroidVideo)}, |
| #endif |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"dns-over-https-with-identifiers-reuse-old-policy", |
| flag_descriptions::kDnsOverHttpsWithIdentifiersReuseOldPolicyName, |
| flag_descriptions::kDnsOverHttpsWithIdentifiersReuseOldPolicyDescription, |
| kOsCrOS, |
| FEATURE_VALUE_TYPE( |
| ash::features::kDnsOverHttpsWithIdentifiersReuseOldPolicy)}, |
| #endif |
| |
| {"enable-commerce-developer", flag_descriptions::kCommerceDeveloperName, |
| flag_descriptions::kCommerceDeveloperDescription, kOsAll, |
| FEATURE_VALUE_TYPE(commerce::kCommerceDeveloper)}, |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"enable-libinput-to-handle-touchpad", |
| flag_descriptions::kEnableLibinputToHandleTouchpadName, |
| flag_descriptions::kEnableLibinputToHandleTouchpadDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ui::kLibinputHandleTouchpad)}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"enable-tab-groups-for-tablets", |
| flag_descriptions::kTabGroupsForTabletsName, |
| flag_descriptions::kTabGroupsForTabletsDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(chrome::android::kTabGroupsForTablets)}, |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"enable-desks-templates", flag_descriptions::kDesksTemplatesName, |
| flag_descriptions::kDesksTemplatesDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kDesksTemplates)}, |
| #endif |
| |
| {"large-favicon-from-google", |
| flag_descriptions::kLargeFaviconFromGoogleName, |
| flag_descriptions::kLargeFaviconFromGoogleDescription, kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(features::kLargeFaviconFromGoogle, |
| kLargeFaviconFromGoogleVariations, |
| "LargeFaviconFromGoogle")}, |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"request-desktop-site-exceptions", |
| flag_descriptions::kRequestDesktopSiteExceptionsName, |
| flag_descriptions::kRequestDesktopSiteExceptionsDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(features::kRequestDesktopSiteExceptions)}, |
| #endif |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"video-conference", flag_descriptions::kVideoConferenceName, |
| flag_descriptions::kVideoConferenceDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kVideoConference)}, |
| |
| {"vc-background-replace", flag_descriptions::kVcBackgroundReplaceName, |
| flag_descriptions::kVcBackgroundReplaceDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kVcBackgroundReplace)}, |
| |
| {"vc-segmentation-model", flag_descriptions::kVcSegmentationModelName, |
| flag_descriptions::kVcSegmentationModelDescription, kOsCrOS, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(ash::features::kVcSegmentationModel, |
| kVcSegmentationModelVariations, |
| "VCSegmentationModel")}, |
| #endif |
| |
| #if BUILDFLAG(IS_CHROMEOS) |
| {"link-capturing-ui-update", flag_descriptions::kLinkCapturingUiUpdateName, |
| flag_descriptions::kLinkCapturingUiUpdateDescription, kOsCrOS | kOsLacros, |
| FEATURE_VALUE_TYPE(apps::features::kLinkCapturingUiUpdate)}, |
| #endif |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"touch-drag-and-context-menu", |
| flag_descriptions::kTouchDragAndContextMenuName, |
| flag_descriptions::kTouchDragAndContextMenuDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(features::kTouchDragAndContextMenu)}, |
| {"animated-image-drag-shadow", |
| flag_descriptions::kAnimatedImageDragShadowName, |
| flag_descriptions::kAnimatedImageDragShadowDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(chrome::android::kAnimatedImageDragShadow)}, |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| {"autofill-enable-update-virtual-card-enrollment", |
| flag_descriptions::kAutofillEnableUpdateVirtualCardEnrollmentName, |
| flag_descriptions::kAutofillEnableUpdateVirtualCardEnrollmentDescription, |
| kOsAll, |
| FEATURE_VALUE_TYPE( |
| autofill::features::kAutofillEnableUpdateVirtualCardEnrollment)}, |
| |
| #if BUILDFLAG(IS_CHROMEOS_LACROS) |
| {"enable-desktop-capture-lacros-v2", |
| flag_descriptions::kDesktopCaptureLacrosV2Name, |
| flag_descriptions::kDesktopCaptureLacrosV2Description, kOsCrOS | kOsLacros, |
| FEATURE_VALUE_TYPE(features::kDesktopCaptureLacrosV2)}, |
| |
| {"enable-lacros-aura-capture", flag_descriptions::kLacrosAuraCaptureName, |
| flag_descriptions::kLacrosAuraCaptureDescription, kOsCrOS | kOsLacros, |
| FEATURE_VALUE_TYPE(features::kLacrosAuraCapture)}, |
| |
| {"lacros-merge-icu-data-file", |
| flag_descriptions::kLacrosMergeIcuDataFileName, |
| flag_descriptions::kLacrosMergeIcuDataFileDescription, kOsCrOS | kOsLacros, |
| FEATURE_VALUE_TYPE(base::i18n::kLacrosMergeIcuDataFile)}, |
| |
| {"lacros-screen-coordinates-enabled", |
| flag_descriptions::kLacrosScreenCoordinatesEnabledName, |
| flag_descriptions::kLacrosScreenCoordinatesEnabledDescription, |
| kOsCrOS | kOsLacros, |
| FEATURE_VALUE_TYPE(features::kWaylandScreenCoordinatesEnabled)}, |
| #endif |
| |
| #if !BUILDFLAG(IS_ANDROID) |
| // TODO(https://crbug.com/1278249): Add Windows once library supports it. |
| {"layout-extraction", flag_descriptions::kLayoutExtractionName, |
| flag_descriptions::kLayoutExtractionDescription, |
| kOsMac | kOsLinux | kOsCrOS | kOsLacros, |
| FEATURE_VALUE_TYPE(features::kLayoutExtraction)}, |
| #endif |
| |
| {"autofill-enable-virtual-card-management-in-desktop-settings-page", |
| flag_descriptions:: |
| kAutofillEnableVirtualCardManagementInDesktopSettingsPageName, |
| flag_descriptions:: |
| kAutofillEnableVirtualCardManagementInDesktopSettingsPageDescription, |
| kOsDesktop, |
| FEATURE_VALUE_TYPE( |
| autofill::features:: |
| kAutofillEnableVirtualCardManagementInDesktopSettingsPage)}, |
| |
| {"origin-agent-cluster-default", |
| flag_descriptions::kOriginAgentClusterDefaultName, |
| flag_descriptions::kOriginAgentClusterDefaultDescription, kOsAll, |
| FEATURE_VALUE_TYPE(blink::features::kOriginAgentClusterDefaultEnabled)}, |
| |
| #if !BUILDFLAG(IS_ANDROID) |
| {"enable-code-based-rbd", flag_descriptions::kCodeBasedRBDName, |
| flag_descriptions::kCodeBasedRBDDescription, kOsDesktop, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(commerce::kCodeBasedRBD, |
| kCodeBasedRBDVariations, |
| "CodeBasedRBD")}, |
| |
| {"enable-discount-consent-v2", flag_descriptions::kDiscountConsentV2Name, |
| flag_descriptions::kDiscountConsentV2Description, kOsDesktop, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(commerce::kDiscountConsentV2, |
| kDiscountConsentV2Variations, |
| "DiscountConsentV2")}, |
| |
| {"enable-merchant-wide-promotions", |
| flag_descriptions::kMerchantWidePromotionsName, |
| flag_descriptions::kMerchantWidePromotionsDescription, kOsDesktop, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(commerce::kMerchantWidePromotion, |
| kMerchantWidePromotionVariations, |
| "MerchantWidePromotion")}, |
| #endif |
| |
| {"durable-client-hints-cache", |
| flag_descriptions::kDurableClientHintsCacheName, |
| flag_descriptions::kDurableClientHintsCacheDescription, kOsAll, |
| FEATURE_VALUE_TYPE(blink::features::kDurableClientHintsCache)}, |
| |
| {"edit-context", flag_descriptions::kEditContextName, |
| flag_descriptions::kEditContextDescription, kOsAll, |
| FEATURE_VALUE_TYPE(blink::features::kEditContext)}, |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"enable-fake-keyboard-heuristic", |
| flag_descriptions::kEnableFakeKeyboardHeuristicName, |
| flag_descriptions::kEnableFakeKeyboardHeuristicDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ui::kEnableFakeKeyboardHeuristic)}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| #if !BUILDFLAG(IS_ANDROID) |
| {"enable-isolated-sandboxed-iframes", |
| flag_descriptions::kIsolatedSandboxedIframesName, |
| flag_descriptions::kIsolatedSandboxedIframesDescription, kOsDesktop, |
| FEATURE_WITH_PARAMS_VALUE_TYPE( |
| blink::features::kIsolateSandboxedIframes, |
| kIsolateSandboxedIframesGroupingVariations, |
| "IsolateSandboxedIframes" /* trial name */)}, |
| #endif |
| |
| {"download-bubble", flag_descriptions::kDownloadBubbleName, |
| flag_descriptions::kDownloadBubbleDescription, |
| kOsLinux | kOsLacros | kOsMac | kOsWin, |
| FEATURE_VALUE_TYPE(safe_browsing::kDownloadBubble)}, |
| |
| {"download-bubble-v2", flag_descriptions::kDownloadBubbleV2Name, |
| flag_descriptions::kDownloadBubbleV2Description, |
| kOsLinux | kOsLacros | kOsMac | kOsWin, |
| FEATURE_VALUE_TYPE(safe_browsing::kDownloadBubbleV2)}, |
| |
| {"unthrottled-nested-timeout", |
| flag_descriptions::kUnthrottledNestedTimeoutName, |
| flag_descriptions::kUnthrottledNestedTimeoutDescription, kOsAll, |
| FEATURE_WITH_PARAMS_VALUE_TYPE( |
| blink::features::kMaxUnthrottledTimeoutNestingLevel, |
| kUnthrottledNestedTimeout_Variations, |
| "NestingLevel")}, |
| |
| {"reduce-accept-language", flag_descriptions::kReduceAcceptLanguageName, |
| flag_descriptions::kReduceAcceptLanguageDescription, kOsAll, |
| FEATURE_VALUE_TYPE(network::features::kReduceAcceptLanguage)}, |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"reduce-user-agent-android-version-device-model", |
| flag_descriptions::kReduceUserAgentAndroidVersionDeviceModelName, |
| flag_descriptions::kReduceUserAgentAndroidVersionDeviceModelDescription, |
| kOsAndroid, |
| FEATURE_VALUE_TYPE( |
| blink::features::kReduceUserAgentAndroidVersionDeviceModel)}, |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"enable-variable-refresh-rate", |
| flag_descriptions::kEnableVariableRefreshRateName, |
| flag_descriptions::kEnableVariableRefreshRateDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(features::kEnableVariableRefreshRate)}, |
| |
| {"enable-projector", flag_descriptions::kProjectorName, |
| flag_descriptions::kProjectorDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kProjector)}, |
| |
| {"enable-projector-local-playback", |
| flag_descriptions::kProjectorLocalPlaybackName, |
| flag_descriptions::kProjectorLocalPlaybackDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kProjectorLocalPlayback)}, |
| |
| {"enable-projector-app-debug", flag_descriptions::kProjectorAppDebugName, |
| flag_descriptions::kProjectorAppDebugDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kProjectorAppDebug)}, |
| |
| {kProjectorServerSideSpeechRecognition, |
| flag_descriptions::kProjectorServerSideSpeechRecognitionName, |
| flag_descriptions::kProjectorServerSideSpeechRecognitionDescription, |
| kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kInternalServerSideSpeechRecognition)}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| {"web-sql-access", flag_descriptions::kWebSQLAccessName, |
| flag_descriptions::kWebSQLAccessDescription, kOsAll, |
| FEATURE_VALUE_TYPE(blink::features::kWebSQLAccess)}, |
| |
| {"omit-cors-client-cert", flag_descriptions::kOmitCorsClientCertName, |
| flag_descriptions::kOmitCorsClientCertDescription, kOsAll, |
| FEATURE_VALUE_TYPE(network::features::kOmitCorsClientCert)}, |
| |
| {"use-idna2008-non-transitional", |
| flag_descriptions::kUseIDNA2008NonTransitionalName, |
| flag_descriptions::kUseIDNA2008NonTransitionalDescription, kOsAll, |
| FEATURE_VALUE_TYPE(url::kUseIDNA2008NonTransitional)}, |
| |
| #if BUILDFLAG(IS_CHROMEOS) |
| {"link-capturing-infobar", flag_descriptions::kLinkCapturingInfoBarName, |
| flag_descriptions::kLinkCapturingInfoBarDescription, kOsCrOS | kOsLacros, |
| FEATURE_VALUE_TYPE(apps::features::kLinkCapturingInfoBar)}, |
| |
| {"intent-chip-skips-intent-picker", |
| flag_descriptions::kIntentChipSkipsPickerName, |
| flag_descriptions::kIntentChipSkipsPickerDescription, kOsCrOS | kOsLacros, |
| FEATURE_VALUE_TYPE(apps::features::kIntentChipSkipsPicker)}, |
| |
| {"intent-chip-app-icon", flag_descriptions::kIntentChipAppIconName, |
| flag_descriptions::kIntentChipAppIconDescription, kOsCrOS | kOsLacros, |
| FEATURE_VALUE_TYPE(apps::features::kIntentChipAppIcon)}, |
| |
| {"sync-chromeos-explicit-passphrase-sharing", |
| flag_descriptions::kSyncChromeOSExplicitPassphraseSharingName, |
| flag_descriptions::kSyncChromeOSExplicitPassphraseSharingDescription, |
| kOsCrOS | kOsLacros, |
| FEATURE_VALUE_TYPE(syncer::kSyncChromeOSExplicitPassphraseSharing)}, |
| |
| {"chromeos-synced-session-sharing", |
| flag_descriptions::kChromeOSSyncedSessionSharingName, |
| flag_descriptions::kChromeOSSyncedSessionSharingDescription, |
| kOsCrOS | kOsLacros, |
| FEATURE_VALUE_TYPE(syncer::kChromeOSSyncedSessionSharing)}, |
| |
| #endif |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"always-enable-hdcp", flag_descriptions::kAlwaysEnableHdcpName, |
| flag_descriptions::kAlwaysEnableHdcpDescription, kOsCrOS, |
| MULTI_VALUE_TYPE(kAlwaysEnableHdcpChoices)}, |
| {"throttle-ambient-animations", |
| flag_descriptions::kAmbientModeThrottleAnimationName, |
| flag_descriptions::kAmbientModeThrottleAnimationDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kAmbientModeThrottleAnimation)}, |
| {"enable-touchpads-in-diagnostics-app", |
| flag_descriptions::kEnableTouchpadsInDiagnosticsAppName, |
| flag_descriptions::kEnableTouchpadsInDiagnosticsAppDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kEnableTouchpadsInDiagnosticsApp)}, |
| {"enable-touchscreens-in-diagnostics-app", |
| flag_descriptions::kEnableTouchscreensInDiagnosticsAppName, |
| flag_descriptions::kEnableTouchscreensInDiagnosticsAppDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kEnableTouchscreensInDiagnosticsApp)}, |
| {"enable-external-keyboards-in-diagnostics-app", |
| flag_descriptions::kEnableExternalKeyboardsInDiagnosticsAppName, |
| flag_descriptions::kEnableExternalKeyboardsInDiagnosticsAppDescription, |
| kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kEnableExternalKeyboardsInDiagnostics)}, |
| {"enable-power-sounds", flag_descriptions::kSystemSoundsName, |
| flag_descriptions::kSystemSoundsDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kSystemSounds)}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| {"autofill-enforce-delays-in-strike-database", |
| flag_descriptions::kAutofillEnforceDelaysInStrikeDatabaseName, |
| flag_descriptions::kAutofillEnforceDelaysInStrikeDatabaseDescription, |
| kOsAll, |
| FEATURE_VALUE_TYPE( |
| autofill::features::kAutofillEnforceDelaysInStrikeDatabase)}, |
| |
| {"autofill-enable-virtual-card-metadata", |
| flag_descriptions::kAutofillEnableVirtualCardMetadataName, |
| flag_descriptions::kAutofillEnableVirtualCardMetadataDescription, kOsAll, |
| FEATURE_VALUE_TYPE( |
| autofill::features::kAutofillEnableVirtualCardMetadata)}, |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"password-edit-dialog-with-details", |
| flag_descriptions::kPasswordEditDialogWithDetailsName, |
| flag_descriptions::kPasswordEditDialogWithDetailsDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE( |
| password_manager::features::kPasswordEditDialogWithDetails)}, |
| #endif // BUILDFLAG(IS_ANDROID) |
| {"autofill-enable-ranking-formula-address-profiles", |
| flag_descriptions::kAutofillEnableRankingFormulaAddressProfilesName, |
| flag_descriptions::kAutofillEnableRankingFormulaAddressProfilesDescription, |
| kOsAll, |
| FEATURE_VALUE_TYPE( |
| autofill::features::kAutofillEnableRankingFormulaAddressProfiles)}, |
| |
| {"autofill-enable-ranking-formula-credit-cards", |
| flag_descriptions::kAutofillEnableRankingFormulaCreditCardsName, |
| flag_descriptions::kAutofillEnableRankingFormulaCreditCardsDescription, |
| kOsAll, |
| FEATURE_VALUE_TYPE( |
| autofill::features::kAutofillEnableRankingFormulaCreditCards)}, |
| |
| {"autofill-enable-virtual-card-fido-enrollment", |
| flag_descriptions::kAutofillEnableVirtualCardFidoEnrollmentName, |
| flag_descriptions::kAutofillEnableVirtualCardFidoEnrollmentDescription, |
| kOsAll, |
| FEATURE_VALUE_TYPE( |
| autofill::features::kAutofillEnableVirtualCardFidoEnrollment)}, |
| {"autofill-upstream-allow-additional-email-domains", |
| flag_descriptions::kAutofillUpstreamAllowAdditionalEmailDomainsName, |
| flag_descriptions::kAutofillUpstreamAllowAdditionalEmailDomainsDescription, |
| kOsAll, |
| FEATURE_VALUE_TYPE( |
| autofill::features::kAutofillUpstreamAllowAdditionalEmailDomains)}, |
| {"autofill-upstream-allow-all-email-domains", |
| flag_descriptions::kAutofillUpstreamAllowAllEmailDomainsName, |
| flag_descriptions::kAutofillUpstreamAllowAllEmailDomainsDescription, |
| kOsAll, |
| FEATURE_VALUE_TYPE( |
| autofill::features::kAutofillUpstreamAllowAllEmailDomains)}, |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"enable-desks-save-and-recall", flag_descriptions::kDesksSaveAndRecallName, |
| flag_descriptions::kDesksSaveAndRecallDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kEnableSavedDesks)}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"safe-mode-for-cached-flags", |
| flag_descriptions::kSafeModeForCachedFlagsName, |
| flag_descriptions::kSafeModeForCachedFlagsDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(chrome::android::kSafeModeForCachedFlags)}, |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| #if !BUILDFLAG(IS_ANDROID) |
| {"safety-check-notification-permissions", |
| flag_descriptions::kSafetyCheckNotificationPermissionsName, |
| flag_descriptions::kSafetyCheckNotificationPermissionsDescription, |
| kOsDesktop, |
| FEATURE_VALUE_TYPE(features::kSafetyCheckNotificationPermissions)}, |
| |
| {"notification-interaction-history", |
| flag_descriptions::kNotificationInteractionHistoryName, |
| flag_descriptions::kNotificationInteractionHistoryDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE( |
| permissions::features::kNotificationInteractionHistory)}, |
| |
| {"safety-check-unused-site-permissions", |
| flag_descriptions::kSafetyCheckUnusedSitePermissionsName, |
| flag_descriptions::kSafetyCheckUnusedSitePermissionsDescription, |
| kOsDesktop, |
| FEATURE_WITH_PARAMS_VALUE_TYPE( |
| content_settings::features::kSafetyCheckUnusedSitePermissions, |
| kSafetyCheckUnusedSitePermissionsVariations, |
| "SafetyCheckUnusedSitePermissions")}, |
| |
| {"record-permission-expiration-timestamps", |
| flag_descriptions::kRecordPermissionExpirationTimestampsName, |
| flag_descriptions::kRecordPermissionExpirationTimestampsDescription, |
| kOsDesktop, |
| FEATURE_VALUE_TYPE( |
| permissions::features::kRecordPermissionExpirationTimestamps)}, |
| #endif // !BUILDFLAG(IS_ANDROID) |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"network-service-in-process", |
| flag_descriptions::kNetworkServiceInProcessName, |
| flag_descriptions::kNetworkServiceInProcessDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(features::kNetworkServiceInProcess)}, |
| #endif |
| |
| {"broker-file-operations-on-disk-cache-in-network-service", |
| flag_descriptions::kBrokerFileOperationsOnDiskCacheInNetworkServiceName, |
| flag_descriptions:: |
| kBrokerFileOperationsOnDiskCacheInNetworkServiceDescription, |
| kOsAll, |
| FEATURE_VALUE_TYPE( |
| features::kBrokerFileOperationsOnDiskCacheInNetworkService)}, |
| |
| #if !BUILDFLAG(IS_CHROMEOS) |
| {"dm-token-deletion", flag_descriptions::kDmTokenDeletionName, |
| flag_descriptions::kDmTokenDeletionDescription, kOsAll, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(policy::features::kDmTokenDeletion, |
| kDmTokenDeletionVariation, |
| "DmTokenDeletion")}, |
| #endif // !BUILDFLAG(IS_CHROMEOS) |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"enable-commerce-hint-android", |
| flag_descriptions::kCommerceHintAndroidName, |
| flag_descriptions::kCommerceHintAndroidDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(commerce::kCommerceHintAndroid)}, |
| #endif |
| |
| #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) |
| {"enable-web-bluetooth-confirm-pairing-support", |
| flag_descriptions::kWebBluetoothConfirmPairingSupportName, |
| flag_descriptions::kWebBluetoothConfirmPairingSupportDescription, |
| kOsDesktop, |
| FEATURE_VALUE_TYPE(device::features::kWebBluetoothConfirmPairingSupport)}, |
| #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) |
| |
| {"quick-intensive-throttling-after-loading", |
| flag_descriptions::kQuickIntensiveWakeUpThrottlingAfterLoadingName, |
| flag_descriptions::kQuickIntensiveWakeUpThrottlingAfterLoadingDescription, |
| kOsAll, |
| FEATURE_VALUE_TYPE( |
| blink::features::kQuickIntensiveWakeUpThrottlingAfterLoading)}, |
| |
| #if BUILDFLAG(IS_MAC) |
| {"system-color-chooser", flag_descriptions::kSystemColorChooserName, |
| flag_descriptions::kSystemColorChooserDescription, kOsMac, |
| FEATURE_VALUE_TYPE(blink::features::kSystemColorChooser)}, |
| #endif // BUILDFLAG(IS_MAC) |
| |
| {"ignore-sync-encryption-keys-long-missing", |
| flag_descriptions::kIgnoreSyncEncryptionKeysLongMissingName, |
| flag_descriptions::kIgnoreSyncEncryptionKeysLongMissingDescription, kOsAll, |
| FEATURE_VALUE_TYPE(syncer::kIgnoreSyncEncryptionKeysLongMissing)}, |
| |
| {"autofill-parse-iban-fields", |
| flag_descriptions::kAutofillParseIBANFieldsName, |
| flag_descriptions::kAutofillParseIBANFieldsDescription, kOsAll, |
| FEATURE_VALUE_TYPE(autofill::features::kAutofillParseIBANFields)}, |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"autofill-enable-fido-progress-dialog", |
| flag_descriptions::kAutofillEnableFIDOProgressDialogName, |
| flag_descriptions::kAutofillEnableFIDOProgressDialogDescription, |
| kOsAndroid, |
| FEATURE_VALUE_TYPE(autofill::features::kAutofillEnableFIDOProgressDialog)}, |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| {"enable-perfetto-system-tracing", |
| flag_descriptions::kEnablePerfettoSystemTracingName, |
| flag_descriptions::kEnablePerfettoSystemTracingDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(features::kEnablePerfettoSystemTracing)}, |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"enable-android-gamepad-vibration", |
| flag_descriptions::kEnableAndroidGamepadVibrationName, |
| flag_descriptions::kEnableAndroidGamepadVibrationDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(features::kEnableAndroidGamepadVibration)}, |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"request-desktop-site-additions", |
| flag_descriptions::kRequestDesktopSiteAdditionsName, |
| flag_descriptions::kRequestDesktopSiteAdditionsDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(features::kRequestDesktopSiteAdditions)}, |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"request-desktop-site-defaults", |
| flag_descriptions::kRequestDesktopSiteDefaultsName, |
| flag_descriptions::kRequestDesktopSiteDefaultsDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(chrome::android::kRequestDesktopSiteDefaults)}, |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"request-desktop-site-defaults-downgrade", |
| flag_descriptions::kRequestDesktopSiteDefaultsDowngradeName, |
| flag_descriptions::kRequestDesktopSiteDefaultsDowngradeDescription, |
| kOsAndroid, |
| FEATURE_VALUE_TYPE(chrome::android::kRequestDesktopSiteDefaultsDowngrade)}, |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"request-desktop-site-defaults-logging", |
| flag_descriptions::kRequestDesktopSiteDefaultsLoggingName, |
| flag_descriptions::kRequestDesktopSiteDefaultsLoggingDescription, |
| kOsAndroid, |
| FEATURE_VALUE_TYPE(chrome::android::kRequestDesktopSiteDefaultsLogging)}, |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"request-desktop-site-exceptions-downgrade", |
| flag_descriptions::kRequestDesktopSiteExceptionsDowngradeName, |
| flag_descriptions::kRequestDesktopSiteExceptionsDowngradeDescription, |
| kOsAndroid, |
| FEATURE_VALUE_TYPE(browser_ui::kRequestDesktopSiteExceptionsDowngrade)}, |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"request-desktop-site-per-site-iph", |
| flag_descriptions::kRequestDesktopSitePerSiteIphName, |
| flag_descriptions::kRequestDesktopSitePerSiteIphDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(chrome::android::kRequestDesktopSitePerSiteIph)}, |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"request-desktop-site-zoom", |
| flag_descriptions::kRequestDesktopSiteZoomName, |
| flag_descriptions::kRequestDesktopSiteZoomDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(features::kRequestDesktopSiteZoom)}, |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| #if !BUILDFLAG(IS_ANDROID) |
| {"enable-web-hid-on-extension-service-worker", |
| flag_descriptions::kEnableWebHidOnExtensionServiceWorkerName, |
| flag_descriptions::kEnableWebHidOnExtensionServiceWorkerDescription, |
| kOsDesktop, |
| FEATURE_VALUE_TYPE(features::kEnableWebHidOnExtensionServiceWorker)}, |
| #endif |
| |
| {"enable-sync-history-datatype", |
| flag_descriptions::kSyncEnableHistoryDataTypeName, |
| flag_descriptions::kSyncEnableHistoryDataTypeDescription, kOsAll, |
| FEATURE_VALUE_TYPE(syncer::kSyncEnableHistoryDataType)}, |
| |
| #if BUILDFLAG(IS_CHROMEOS) |
| {"link-capturing-auto-display-intent-picker", |
| flag_descriptions::kLinkCapturingAutoDisplayIntentPickerName, |
| flag_descriptions::kLinkCapturingAutoDisplayIntentPickerDescription, |
| kOsCrOS | kOsLacros, |
| FEATURE_VALUE_TYPE(apps::features::kLinkCapturingAutoDisplayIntentPicker)}, |
| #endif // BUILDFLAG(IS_CHROMEOS) |
| |
| #if BUILDFLAG(IS_MAC) |
| {"biometric-authentication-in-settings", |
| flag_descriptions::kBiometricAuthenticationInSettingsName, |
| flag_descriptions::kBiometricAuthenticationInSettingsDescription, kOsMac, |
| FEATURE_VALUE_TYPE( |
| password_manager::features::kBiometricAuthenticationInSettings)}, |
| #endif // BUILDFLAG(IS_MAC) |
| |
| {"autofill-enable-remade-downstream-metrics", |
| flag_descriptions::kAutofillEnableRemadeDownstreamMetricsName, |
| flag_descriptions::kAutofillEnableRemadeDownstreamMetricsDescription, |
| kOsAll, |
| FEATURE_VALUE_TYPE( |
| autofill::features::kAutofillEnableRemadeDownstreamMetrics)}, |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"enable-seamless-refresh-rate-switching", |
| flag_descriptions::kEnableSeamlessRefreshRateSwitchingName, |
| flag_descriptions::kEnableSeamlessRefreshRateSwitchingDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kSeamlessRefreshRateSwitching)}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| {"click-to-call", flag_descriptions::kClickToCallName, |
| flag_descriptions::kClickToCallDescription, kOsAll, |
| FEATURE_VALUE_TYPE(kClickToCall)}, |
| |
| {"clipboard-unsanitized-content", |
| flag_descriptions::kClipboardUnsanitizedContentName, |
| flag_descriptions::kClipboardUnsanitizedContentDescription, kOsAll, |
| FEATURE_VALUE_TYPE(blink::features::kClipboardUnsanitizedContent)}, |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"assistant-non-personalized-voice-search", |
| flag_descriptions::kAssistantNonPersonalizedVoiceSearchName, |
| flag_descriptions::kAssistantNonPersonalizedVoiceSearchDescription, |
| kOsAndroid, |
| FEATURE_VALUE_TYPE(chrome::android::kAssistantNonPersonalizedVoiceSearch)}, |
| #endif |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"enable-media-dynamic-cgroup", flag_descriptions::kMediaDynamicCgroupName, |
| flag_descriptions::kMediaDynamicCgroupDescription, kOsCrOS, |
| PLATFORM_FEATURE_NAME_TYPE("CrOSLateBootMediaDynamicCgroup")}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| {"autofill-fill-iban-fields", |
| flag_descriptions::kAutofillFillIbanFieldsName, |
| flag_descriptions::kAutofillFillIbanFieldsDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(autofill::features::kAutofillFillIbanFields)}, |
| |
| {"autofill-parse-vcn-card-on-file-standalone-cvc-fields", |
| flag_descriptions::kAutofillParseVcnCardOnFileStandaloneCvcFieldsName, |
| flag_descriptions:: |
| kAutofillParseVcnCardOnFileStandaloneCvcFieldsDescription, |
| kOsAll, |
| FEATURE_VALUE_TYPE( |
| autofill::features::kAutofillParseVcnCardOnFileStandaloneCvcFields)}, |
| |
| {"background-resource-fetch", |
| flag_descriptions::kBackgroundResourceFetchName, |
| flag_descriptions::kBackgroundResourceFetchDescription, kOsAll, |
| FEATURE_VALUE_TYPE(blink::features::kBackgroundResourceFetch)}, |
| |
| #if !BUILDFLAG(IS_ANDROID) |
| {"desktop-partial-translate", |
| flag_descriptions::kDesktopPartialTranslateName, |
| flag_descriptions::kDesktopPartialTranslateDescription, |
| kOsLinux | kOsMac | kOsWin, |
| FEATURE_VALUE_TYPE(translate::kDesktopPartialTranslate)}, |
| #endif |
| |
| #if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) |
| {"biometric-authentication-for-filling", |
| flag_descriptions::kBiometricAuthenticationForFillingName, |
| flag_descriptions::kBiometricAuthenticationForFillingDescription, |
| kOsMac | kOsWin, |
| FEATURE_VALUE_TYPE( |
| password_manager::features::kBiometricAuthenticationForFilling)}, |
| #endif |
| {"skip-service-worker-fetch-handler", |
| flag_descriptions::kSkipServiceWorkerFetchHandlerName, |
| flag_descriptions::kSkipServiceWorkerFetchHandlerDescription, kOsAll, |
| FEATURE_WITH_PARAMS_VALUE_TYPE( |
| features::kServiceWorkerSkipIgnorableFetchHandler, |
| kServiceWorkerSkipIgnorableFetchHandlerVariations, |
| "ServiceWorkerSkipIgnorableFetchHandler")}, |
| |
| #if !BUILDFLAG(IS_ANDROID) |
| {"password-manager-redesign", |
| flag_descriptions::kPasswordManagerRedesignName, |
| flag_descriptions::kPasswordManagerRedesignDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(password_manager::features::kPasswordManagerRedesign)}, |
| #endif |
| |
| #if !BUILDFLAG(IS_ANDROID) |
| {"passwords-import-m2", flag_descriptions::kPasswordsImportM2Name, |
| flag_descriptions::kPasswordsImportM2Description, kOsDesktop, |
| FEATURE_VALUE_TYPE(password_manager::features::kPasswordsImportM2)}, |
| #endif |
| |
| #if !BUILDFLAG(IS_CHROMEOS) && !BUILDFLAG(IS_ANDROID) |
| {flag_descriptions::kDesktopPWAsAppHomePageFlagId, |
| flag_descriptions::kDesktopPWAsAppHomePageName, |
| flag_descriptions::kDesktopPWAsAppHomePageDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(features::kDesktopPWAsAppHomePage)}, |
| #endif // !BUILDFLAG(IS_CHROMEOS) && !BUILDFLAG(IS_ANDROID) |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"external-navigation-debug-logs", |
| flag_descriptions::kExternalNavigationDebugLogsName, |
| flag_descriptions::kExternalNavigationDebugLogsDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(external_intents::kExternalNavigationDebugLogs)}, |
| #endif |
| |
| #if !BUILDFLAG(IS_ANDROID) |
| {"battery-saver-mode-available", |
| flag_descriptions::kBatterySaverModeAvailableName, |
| flag_descriptions::kBatterySaverModeAvailableDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE( |
| performance_manager::features::kBatterySaverModeAvailable)}, |
| {"high-efficiency-mode-available", |
| flag_descriptions::kHighEfficiencyModeAvailableName, |
| flag_descriptions::kHighEfficiencyModeAvailableDescription, kOsDesktop, |
| FEATURE_WITH_PARAMS_VALUE_TYPE( |
| performance_manager::features::kHighEfficiencyModeAvailable, |
| kHighEfficiencyModeAvailableVariations, |
| "HighEfficiencyModeAvailable")}, |
| {"heuristic-memory-saver-mode", |
| flag_descriptions::kHeuristicMemorySaverName, |
| flag_descriptions::kHeuristicMemorySaverDescription, kOsDesktop, |
| FEATURE_WITH_PARAMS_VALUE_TYPE( |
| performance_manager::features::kHeuristicMemorySaver, |
| kHeuristicMemorySaverVariations, |
| "HeuristicMemorySaver")}, |
| #endif |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"binding-manager-connection-limit", |
| flag_descriptions::kBindingManagerConnectionLimitName, |
| flag_descriptions::kBindingManagerConnectionLimitDescription, kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(::features::kBindingManagerConnectionLimit, |
| kBindingManagerConnectionLimitVariations, |
| "BindingManagerConnectionLimit")}, |
| #endif |
| |
| {"webui-omnibox-popup", flag_descriptions::kWebUIOmniboxPopupName, |
| flag_descriptions::kWebUIOmniboxPopupDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(omnibox::kWebUIOmniboxPopup)}, |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"arc-nearby-share-fuse-box", flag_descriptions::kArcNearbyShareFuseBoxName, |
| flag_descriptions::kArcNearbyShareFuseBoxDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(arc::kEnableArcNearbyShareFuseBox)}, |
| #endif |
| |
| {"autofill-enable-card-art-image", |
| flag_descriptions::kAutofillEnableCardArtImageName, |
| flag_descriptions::kAutofillEnableCardArtImageDescription, kOsAll, |
| FEATURE_VALUE_TYPE(autofill::features::kAutofillEnableCardArtImage)}, |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"tab-selection-editor-v2", flag_descriptions::kTabSelectionEditorV2Name, |
| flag_descriptions::kTabSelectionEditorV2Description, kOsAndroid, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(chrome::android::kTabSelectionEditorV2, |
| kTabSelectionEditorV2Variations, |
| "TabSelectionEditorV2")}, |
| |
| {"context-menu-popup-for-all-screen-sizes", |
| flag_descriptions::kContextMenuPopupForAllScreenSizesName, |
| flag_descriptions::kContextMenuPopupForAllScreenSizesDescription, |
| kOsAndroid, |
| FEATURE_VALUE_TYPE(chrome::android::kContextMenuPopupForAllScreenSizes)}, |
| #endif |
| {"use-dmsaa-for-tiles", flag_descriptions::kUseDMSAAForTilesName, |
| flag_descriptions::kUseDMSAAForTilesDescription, kOsAll, |
| FEATURE_VALUE_TYPE(::features::kUseDMSAAForTiles)}, |
| |
| {"enable-web-usb-on-extension-service-worker", |
| flag_descriptions::kEnableWebUsbOnExtensionServiceWorkerName, |
| flag_descriptions::kEnableWebUsbOnExtensionServiceWorkerDescription, |
| kOsAndroid | kOsDesktop, |
| FEATURE_VALUE_TYPE(features::kEnableWebUsbOnExtensionServiceWorker)}, |
| |
| {"autofill-enable-cvc-for-vcn-yellow-path", |
| flag_descriptions::kAutofillEnableCvcForVcnYellowPathName, |
| flag_descriptions::kAutofillEnableCvcForVcnYellowPathDescription, kOsAll, |
| FEATURE_VALUE_TYPE( |
| autofill::features::kAutofillEnableCvcForVcnYellowPath)}, |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"enable-holding-space-predictability", |
| flag_descriptions::kHoldingSpacePredictabilityName, |
| flag_descriptions::kHoldingSpacePredictabilityDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kHoldingSpacePredictability)}, |
| {"enable-holding-space-refresh", |
| flag_descriptions::kHoldingSpaceRefreshName, |
| flag_descriptions::kHoldingSpaceRefreshDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kHoldingSpaceRefresh)}, |
| {"enable-holding-space-suggestions", |
| flag_descriptions::kHoldingSpaceSuggestionsName, |
| flag_descriptions::kHoldingSpaceSuggestionsDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kHoldingSpaceSuggestions)}, |
| {"enable-16-desks", flag_descriptions::kDesks16Name, |
| flag_descriptions::kDesks16Description, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kEnable16Desks)}, |
| #endif |
| |
| {"use-nat64-for-ipv4-literal", |
| flag_descriptions::kUseNAT64ForIPv4LiteralName, |
| flag_descriptions::kUseNAT64ForIPv4LiteralDescription, kOsAll, |
| FEATURE_VALUE_TYPE(net::features::kUseNAT64ForIPv4Literal)}, |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"enable-passwords-account-storage", |
| flag_descriptions::kEnablePasswordsAccountStorageName, |
| flag_descriptions::kEnablePasswordsAccountStorageDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE( |
| password_manager::features::kEnablePasswordsAccountStorage)}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| #if BUILDFLAG(CHROME_ROOT_STORE_OPTIONAL) |
| {"chrome-root-store-enabled", |
| flag_descriptions::kChromeRootStoreEnabledName, |
| flag_descriptions::kChromeRootStoreEnabledDescription, |
| kOsAndroid | kOsLinux | kOsCrOS | kOsLacros, |
| FEATURE_VALUE_TYPE(net::features::kChromeRootStoreUsed)}, |
| #endif // BUILDFLAG(CHROME_ROOT_STORE_OPTIONAL) |
| |
| #if BUILDFLAG(TRIAL_COMPARISON_CERT_VERIFIER_SUPPORTED) |
| {"cert-dual-verification-enabled", |
| flag_descriptions::kCertDualVerificationEnabledName, |
| flag_descriptions::kCertDualVerificationEnabledDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(net::features::kCertDualVerificationTrialFeature)}, |
| #endif // BUILDFLAG(TRIAL_COMPARISON_CERT_VERIFIER_SUPPORTED) |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"highlight-managed-pref-disclaimer-android", |
| flag_descriptions::kHighlightManagedPrefDisclaimerAndroidName, |
| flag_descriptions::kHighlightManagedPrefDisclaimerAndroidDescription, |
| kOsAndroid, |
| FEATURE_VALUE_TYPE(browser_ui::kHighlightManagedPrefDisclaimerAndroid)}, |
| #endif |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"policy-logs-page-android", flag_descriptions::kPolicyLogsPageAndroidName, |
| flag_descriptions::kPolicyLogsPageAndroidDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(policy::features::kPolicyLogsPageAndroid)}, |
| #endif |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"safe-sites-filter-behavior-policy-android", |
| flag_descriptions::kSafeSitesFilterBehaviorPolicyAndroidName, |
| flag_descriptions::kSafeSitesFilterBehaviorPolicyAndroidDescription, |
| kOsAndroid, |
| FEATURE_VALUE_TYPE( |
| policy::features::kSafeSitesFilterBehaviorPolicyAndroid)}, |
| #endif |
| |
| #if BUILDFLAG(ENABLE_NACL) |
| {"ppapi-shared-images-swapchain", |
| flag_descriptions::kPPAPISharedImagesSwapChainName, |
| flag_descriptions::kPPAPISharedImagesSwapChainDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(features::kPPAPISharedImagesSwapChain)}, |
| #endif |
| |
| #if BUILDFLAG(ENABLE_NACL) |
| {"support-pepper-video-decoder-dev-api", |
| flag_descriptions::kSupportPepperVideoDecoderDevAPIName, |
| flag_descriptions::kSupportPepperVideoDecoderDevAPIDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(features::kSupportPepperVideoDecoderDevAPI)}, |
| #endif |
| |
| {"cmd-decoder-always-get-size-from-source-texture", |
| flag_descriptions::kCmdDecoderAlwaysGetSizeFromSourceTextureName, |
| flag_descriptions::kCmdDecoderAlwaysGetSizeFromSourceTextureDescription, |
| kOsAll, |
| FEATURE_VALUE_TYPE(features::kCmdDecoderAlwaysGetSizeFromSourceTexture)}, |
| |
| #if BUILDFLAG(IS_WIN) |
| {"cloud-ap-auth", flag_descriptions::kCloudApAuthName, |
| flag_descriptions::kCloudApAuthDescription, kOsWin, |
| FEATURE_VALUE_TYPE(enterprise_auth::kCloudApAuth)}, |
| #endif // BUILDFLAG(IS_WIN) |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {kLibAssistantV2MigrationInternalName, |
| flag_descriptions::kLibAssistantV2MigrationName, |
| flag_descriptions::kLibAssistantV2MigrationDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::assistant::features::kEnableLibAssistantV2)}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| #if !BUILDFLAG(IS_ANDROID) |
| {"passwords-grouping", flag_descriptions::kPasswordsGroupingName, |
| flag_descriptions::kPasswordsGroupingDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(password_manager::features::kPasswordsGrouping)}, |
| #endif |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"enable-per-desk-z-order", flag_descriptions::kEnablePerDeskZOrderName, |
| flag_descriptions::kEnablePerDeskZOrderDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kEnablePerDeskZOrder)}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| #if !BUILDFLAG(IS_ANDROID) |
| {"power-bookmarks-side-panel", flag_descriptions::kPowerBookmarksSidePanel, |
| flag_descriptions::kPowerBookmarksSidePanelDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(features::kPowerBookmarksSidePanel)}, |
| #endif |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"gallery-app-pdf-edit-notification", |
| flag_descriptions::kGalleryAppPdfEditNotificationName, |
| flag_descriptions::kGalleryAppPdfEditNotificationDescription, kOsCrOS, |
| FEATURE_WITH_PARAMS_VALUE_TYPE( |
| ash::features::kGalleryAppPdfEditNotification, |
| kGalleryAppPdfEditNotificationVariations, |
| "GalleryAppPdfEditNotification")}, |
| #endif |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"google-one-offer-files-banner", |
| flag_descriptions::kGoogleOneOfferFilesBannerName, |
| flag_descriptions::kGoogleOneOfferFilesBannerDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kGoogleOneOfferFilesBanner)}, |
| #endif |
| |
| {"sync-autofill-wallet-usage-data", |
| flag_descriptions::kSyncAutofillWalletUsageDataName, |
| flag_descriptions::kSyncAutofillWalletUsageDataDescription, kOsAll, |
| FEATURE_VALUE_TYPE(syncer::kSyncAutofillWalletUsageData)}, |
| |
| #if !BUILDFLAG(IS_ANDROID) |
| {"ui-enable-shared-image-cache-for-gpu", |
| flag_descriptions::kUIEnableSharedImageCacheForGpuName, |
| flag_descriptions::kUIEnableSharedImageCacheForGpuDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(::features::kUIEnableSharedImageCacheForGpu)}, |
| #endif |
| |
| #if !BUILDFLAG(IS_ANDROID) |
| {"devtools-tab-target", flag_descriptions::kDevToolsTabTargetLiteralName, |
| flag_descriptions::kDevToolsTabTargetLiteralDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(::features::kDevToolsTabTarget)}, |
| #endif |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"cros-labs-window-cycle-shortcut", |
| flag_descriptions::kSameAppWindowCycleName, |
| flag_descriptions::kSameAppWindowCycleDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kSameAppWindowCycle)}, |
| #endif |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"promise-icons", flag_descriptions::kPromiseIconsName, |
| flag_descriptions::kPromiseIconsDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kPromiseIcons)}, |
| #endif |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"printing-ppd-channel", flag_descriptions::kPrintingPpdChannelName, |
| flag_descriptions::kPrintingPpdChannelDescription, kOsCrOS, |
| MULTI_VALUE_TYPE(kPrintingPpdChannelChoices)}, |
| #endif |
| |
| {"storage-buckets", flag_descriptions::kStorageBucketsName, |
| flag_descriptions::kStorageBucketsDescription, kOsAll, |
| FEATURE_VALUE_TYPE(blink::features::kStorageBuckets)}, |
| |
| {"service-worker-bypass-fetch-handler-for-main-resource", |
| flag_descriptions::kServiceWorkerBypassFetchHandlerForMainResourceName, |
| flag_descriptions:: |
| kServiceWorkerBypassFetchHandlerForMainResourceDescription, |
| kOsAll, FEATURE_VALUE_TYPE(features::kServiceWorkerBypassFetchHandler)}, |
| |
| {"autofill-remove-card-expiration-and-type-titles", |
| flag_descriptions::kAutofillRemoveCardExpirationAndTypeTitlesName, |
| flag_descriptions::kAutofillRemoveCardExpirationAndTypeTitlesDescription, |
| kOsDesktop, |
| FEATURE_VALUE_TYPE( |
| autofill::features::kAutofillRemoveCardExpirationAndTypeTitles)}, |
| |
| {"autofill-offer-to-save-card-with-same-last-four", |
| flag_descriptions::kAutofillOfferToSaveCardWithSameLastFourName, |
| flag_descriptions::kAutofillOfferToSaveCardWithSameLastFourDescription, |
| kOsAll, |
| FEATURE_VALUE_TYPE( |
| autofill::features::kAutofillOfferToSaveCardWithSameLastFour)}, |
| |
| {"use-mojo-video-decoder-for-pepper", |
| flag_descriptions::kUseMojoVideoDecoderForPepperName, |
| flag_descriptions::kUseMojoVideoDecoderForPepperDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(media::kUseMojoVideoDecoderForPepper)}, |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"app-deduplication-service-fondue", |
| flag_descriptions::kAppDeduplicationServiceFondueName, |
| flag_descriptions::kAppDeduplicationServiceFondueDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(features::kAppDeduplicationServiceFondue)}, |
| #endif |
| |
| {"autofill-suggest-server-card-instead-of-local-card", |
| flag_descriptions::kAutofillSuggestServerCardInsteadOfLocalCardName, |
| flag_descriptions::kAutofillSuggestServerCardInsteadOfLocalCardDescription, |
| kOsAll, |
| FEATURE_VALUE_TYPE( |
| autofill::features::kAutofillSuggestServerCardInsteadOfLocalCard)}, |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"android-improved-bookmarks", |
| flag_descriptions::kAndroidImprovedBookmarksName, |
| flag_descriptions::kAndroidImprovedBookmarksDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(chrome::android::kBookmarksRefresh)}, |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"arc-idle-manager", flag_descriptions::kArcIdleManagerName, |
| flag_descriptions::kArcIdleManagerDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(arc::kEnableArcIdleManager)}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| #if BUILDFLAG(ENABLE_EXTENSIONS) |
| {"enable-webview-tag-mparch-behavior", |
| flag_descriptions::kWebViewTagMPArchBehaviorName, |
| flag_descriptions::kWebViewTagMPArchBehaviorDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(extensions_features::kWebviewTagMPArchBehavior)}, |
| |
| {"web-auth-flow-in-browser-tab", |
| flag_descriptions::kWebAuthFlowInBrowserTabName, |
| flag_descriptions::kWebAuthFlowInBrowserTabDescription, kOsDesktop, |
| FEATURE_WITH_PARAMS_VALUE_TYPE(features::kWebAuthFlowInBrowserTab, |
| kWebAuthFlowInBrowserTabVariations, |
| "WebAuthFlowInBrowserTab")}, |
| #endif // BUILDFLAG(ENABLE_EXTENSIONS) |
| // |
| #if BUILDFLAG(IS_ANDROID) |
| {"thumbnail-cache-refactor", flag_descriptions::kThumbnailCacheRefactorName, |
| flag_descriptions::kThumbnailCacheRefactorDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(thumbnail::kThumbnailCacheRefactor)}, |
| |
| {"slim-compositor", flag_descriptions::kSlimCompositorName, |
| flag_descriptions::kSlimCompositorDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(features::kSlimCompositor)}, |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| {"autofill-enable-iban-client-side-url-filtering", |
| flag_descriptions::kAutofillEnableIbanClientSideUrlFilteringName, |
| flag_descriptions::kAutofillEnableIbanClientSideUrlFilteringDescription, |
| kOsAll, |
| FEATURE_VALUE_TYPE( |
| autofill::features::kAutofillEnableIbanClientSideUrlFiltering)}, |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"system-live-caption", flag_descriptions::kSystemLiveCaptionName, |
| flag_descriptions::kSystemLiveCaptionDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kSystemLiveCaption)}, |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"stylus-rich-gestures", flag_descriptions::kStylusRichGesturesName, |
| flag_descriptions::kStylusRichGesturesDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(blink::features::kStylusRichGestures)}, |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| {"passthrough-yuv-rgb-conversion", |
| flag_descriptions::kPassthroughYuvRgbConversionName, |
| flag_descriptions::kPassthroughYuvRgbConversionDescription, kOsAll, |
| FEATURE_VALUE_TYPE(features::kPassthroughYuvRgbConversion)}, |
| |
| {"use-multi-plane-format-for-hardware-video", |
| flag_descriptions::kUseMultiPlaneFormatForHardwareVideoName, |
| flag_descriptions::kUseMultiPlaneFormatForHardwareVideoDescription, kOsAll, |
| FEATURE_VALUE_TYPE(media::kUseMultiPlaneFormatForHardwareVideo)}, |
| |
| {"policy-merge-multi-source", |
| flag_descriptions::kPolicyMergeMultiSourceName, |
| flag_descriptions::kPolicyMergeMultiSourceDescription, kOsAll, |
| FEATURE_VALUE_TYPE(policy::features::kPolicyMergeMultiSource)}, |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"enable-notification-image-drag", |
| flag_descriptions::kEnableNotificationImageDragName, |
| flag_descriptions::kEnableNotificationImageDragDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kNotificationImageDrag)}, |
| #endif |
| |
| #if !BUILDFLAG(IS_ANDROID) |
| {"autofill-enable-new-save-card-bubble-ui", |
| flag_descriptions::kAutofillEnableNewSaveCardBubbleUiName, |
| flag_descriptions::kAutofillEnableNewSaveCardBubbleUiDescription, |
| kOsDesktop, |
| FEATURE_VALUE_TYPE( |
| autofill::features::kAutofillEnableNewSaveCardBubbleUi)}, |
| #endif // !BUILDFLAG(IS_ANDROID) |
| |
| {"autofill-enable-new-card-art-and-network-images", |
| flag_descriptions::kAutofillEnableNewCardArtAndNetworkImagesName, |
| flag_descriptions::kAutofillEnableNewCardArtAndNetworkImagesDescription, |
| kOsAll, |
| FEATURE_VALUE_TYPE( |
| autofill::features::kAutofillEnableNewCardArtAndNetworkImages)}, |
| {"autofill-upstream-use-alternate-secure-data-type", |
| flag_descriptions::kAutofillUpstreamUseAlternateSecureDataTypeName, |
| flag_descriptions::kAutofillUpstreamUseAlternateSecureDataTypeDescription, |
| kOsAll, |
| FEATURE_VALUE_TYPE( |
| autofill::features::kAutofillUpstreamUseAlternateSecureDataType)}, |
| |
| {"power-bookmark-backend", flag_descriptions::kPowerBookmarkBackendName, |
| flag_descriptions::kPowerBookmarkBackendDescription, kOsAll, |
| FEATURE_VALUE_TYPE(power_bookmarks::kPowerBookmarkBackend)}, |
| |
| #if !BUILDFLAG(IS_ANDROID) |
| {"user-notes-side-panel", flag_descriptions::kUserNotesSidePanelName, |
| flag_descriptions::kUserNotesSidePanelDescription, kOsDesktop, |
| FEATURE_VALUE_TYPE(user_notes::kUserNotes)}, |
| #endif |
| |
| {"autofill-enable-merchant-opt-out-client-side-url-filtering", |
| flag_descriptions::kAutofillEnableMerchantOptOutClientSideUrlFilteringName, |
| flag_descriptions:: |
| kAutofillEnableMerchantOptOutClientSideUrlFilteringDescription, |
| kOsAll, |
| FEATURE_VALUE_TYPE( |
| autofill::features:: |
| kAutofillEnableMerchantOptOutClientSideUrlFiltering)}, |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"enable-eol-notification-reset-dismissed-prefs", |
| flag_descriptions::kEolResetDismissedPrefsName, |
| flag_descriptions::kEolResetDismissedPrefsDescription, kOsCrOS, |
| SINGLE_VALUE_TYPE(ash::switches::kEolResetDismissedPrefs)}, |
| #endif |
| |
| #if BUILDFLAG(IS_ANDROID) |
| {"password-generation-bottom-sheet", |
| flag_descriptions::kPasswordGenerationBottomSheetName, |
| flag_descriptions::kPasswordGenerationBottomSheetDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE( |
| password_manager::features::kPasswordGenerationBottomSheet)}, |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| {"autofill-upstream-authenticate-preflight-call", |
| flag_descriptions::kAutofillUpstreamAuthenticatePreflightCallName, |
| flag_descriptions::kAutofillUpstreamAuthenticatePreflightCallDescription, |
| kOsAll, |
| FEATURE_VALUE_TYPE( |
| autofill::features::kAutofillUpstreamAuthenticatePreflightCall)}, |
| |
| {"enable-preferences-account-storage", |
| flag_descriptions::kEnablePreferencesAccountStorageName, |
| flag_descriptions::kEnablePreferencesAccountStorageDescription, kOsAll, |
| FEATURE_VALUE_TYPE(syncer::kEnablePreferencesAccountStorage)}, |
| |
| {"enable-variations-google-group-filtering", |
| flag_descriptions::kEnableVariationsGoogleGroupFilteringName, |
| flag_descriptions::kEnableVariationsGoogleGroupFilteringDescription, |
| kOsAll, FEATURE_VALUE_TYPE(kVariationsGoogleGroupFiltering)}, |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"app-launch-automation", flag_descriptions::kAppLaunchAutomationName, |
| flag_descriptions::kAppLaunchAutomationDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kAppLaunchAutomation)}, |
| #endif |
| |
| #if BUILDFLAG(IS_CHROMEOS_LACROS) |
| {"experimental-web-app-storage-partition-isolation", |
| flag_descriptions::kExperimentalWebAppStoragePartitionIsolationName, |
| flag_descriptions::kExperimentalWebAppStoragePartitionIsolationDescription, |
| kOsLacros, |
| FEATURE_VALUE_TYPE( |
| chromeos::features::kExperimentalWebAppStoragePartitionIsolation)}, |
| #endif // BUILDFLAG(IS_CHROMEOS_LACROS) |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| {"enable-desk-button", flag_descriptions::kDeskButtonName, |
| flag_descriptions::kDeskButtonDescription, kOsCrOS, |
| FEATURE_VALUE_TYPE(ash::features::kDeskButton)}, |
| #endif |
| |
| #if !BUILDFLAG(IS_ANDROID) |
| {"settings-enable-get-the-most-out-of-program", |
| flag_descriptions::kSettingsEnableGetTheMostOutOfProgramName, |
| flag_descriptions::kSettingsEnableGetTheMostOutOfProgramDescription, |
| kOsDesktop, FEATURE_VALUE_TYPE(::features::kGetTheMostOutOfProgram)}, |
| #endif |
| |
| // NOTE: Adding a new flag requires adding a corresponding entry to enum |
| // "LoginCustomFlags" in tools/metrics/histograms/enums.xml. See "Flag |
| // Histograms" in tools/metrics/histograms/README.md (run the |
| // AboutFlagsHistogramTest unit test to verify this process). |
| }; |
| |
| class FlagsStateSingleton : public flags_ui::FlagsState::Delegate { |
| public: |
| FlagsStateSingleton() |
| : flags_state_( |
| std::make_unique<flags_ui::FlagsState>(kFeatureEntries, this)) {} |
| FlagsStateSingleton(const FlagsStateSingleton&) = delete; |
| FlagsStateSingleton& operator=(const FlagsStateSingleton&) = delete; |
| ~FlagsStateSingleton() override = default; |
| |
| static FlagsStateSingleton* GetInstance() { |
| return base::Singleton<FlagsStateSingleton>::get(); |
| } |
| |
| static flags_ui::FlagsState* GetFlagsState() { |
| return GetInstance()->flags_state_.get(); |
| } |
| |
| void RebuildState(const std::vector<flags_ui::FeatureEntry>& entries) { |
| flags_state_ = std::make_unique<flags_ui::FlagsState>(entries, this); |
| } |
| |
| void RestoreDefaultState() { |
| flags_state_ = |
| std::make_unique<flags_ui::FlagsState>(kFeatureEntries, this); |
| } |
| |
| private: |
| // flags_ui::FlagsState::Delegate: |
| bool ShouldExcludeFlag(const flags_ui::FlagsStorage* storage, |
| const FeatureEntry& entry) override { |
| return flags::IsFlagExpired(storage, entry.internal_name); |
| } |
| |
| std::unique_ptr<flags_ui::FlagsState> flags_state_; |
| }; |
| |
| bool ShouldSkipNonDeprecatedFeatureEntry(const FeatureEntry& entry) { |
| return ~entry.supported_platforms & kDeprecated; |
| } |
| |
| } // namespace |
| |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| // This method may be invoked both synchronously or asynchronously. Based on |
| // whether the current user is the owner of the device, generates the |
| // appropriate flag storage. |
| void GetStorageAsync(Profile* profile, |
| GetStorageCallback callback, |
| bool current_user_is_owner) { |
| // On ChromeOS the owner can set system wide flags and other users can only |
| // set flags for their own session. |
| if (current_user_is_owner) { |
| ash::OwnerSettingsServiceAsh* service = |
| ash::OwnerSettingsServiceAshFactory::GetForBrowserContext(profile); |
| std::move(callback).Run( |
| std::make_unique<ash::about_flags::OwnerFlagsStorage>( |
| profile->GetPrefs(), service), |
| flags_ui::kOwnerAccessToFlags); |
| } else { |
| std::move(callback).Run(std::make_unique<flags_ui::PrefServiceFlagsStorage>( |
| profile->GetPrefs()), |
| flags_ui::kGeneralAccessFlagsOnly); |
| } |
| } |
| #endif |
| |
| // ash-chrome uses different storage flag storage logic from other desktop |
| // platforms. |
| void GetStorage(Profile* profile, GetStorageCallback callback) { |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| // Bypass possible incognito profile. |
| // On ChromeOS the owner can set system wide flags and other users can only |
| // set flags for their own session. |
| Profile* original_profile = profile->GetOriginalProfile(); |
| if (base::SysInfo::IsRunningOnChromeOS() && |
| ash::OwnerSettingsServiceAshFactory::GetForBrowserContext( |
| original_profile)) { |
| ash::OwnerSettingsServiceAsh* service = |
| ash::OwnerSettingsServiceAshFactory::GetForBrowserContext( |
| original_profile); |
| service->IsOwnerAsync(base::BindOnce(&GetStorageAsync, original_profile, |
| std::move(callback))); |
| } else { |
| GetStorageAsync(original_profile, std::move(callback), |
| /*current_user_is_owner=*/false); |
| } |
| #else |
| std::move(callback).Run(std::make_unique<flags_ui::PrefServiceFlagsStorage>( |
| g_browser_process->local_state()), |
| flags_ui::kOwnerAccessToFlags); |
| #endif |
| } |
| |
| bool ShouldSkipConditionalFeatureEntry(const flags_ui::FlagsStorage* storage, |
| const FeatureEntry& entry) { |
| version_info::Channel channel = chrome::GetChannel(); |
| #if BUILDFLAG(IS_CHROMEOS_ASH) |
| // enable-projector-server-side-speech-recognition is only available if |
| // the InternalServerSideSpeechRecognitionControl flag is enabled as well. |
| if (!strcmp(kProjectorServerSideSpeechRecognition, entry.internal_name)) { |
| return !ash::features:: |
| IsInternalServerSideSpeechRecognitionControlEnabled(); |
| } |
| |
| // enable-ui-devtools is only available on for non Stable channels. |
| if (!strcmp(ui_devtools::switches::kEnableUiDevTools, entry.internal_name) && |
| channel == version_info::Channel::STABLE) { |
| return true; |
| } |
| |
| // Skip lacros-availability-policy always. This is a pseudo entry |
| // and used to carry the policy value crossing the Chrome's lifetime. |
| if (!strcmp(crosapi::browser_util::kLacrosAvailabilityPolicyInternalName, |
| entry.internal_name)) { |
| return true; |
| } |
| |
| // Skip lacros-backward-data-migration-policy always. This is a pseudo entry |
| // and used to carry the policy value crossing the Chrome's lifetime. |
| if (!strcmp(crosapi::browser_util:: |
| kLacrosDataBackwardMigrationModePolicyInternalName, |
| entry.internal_name)) { |
| return true; |
| } |
| // Skip lacros-selection if it is controlled by LacrosSelection policy. |
| if (!strcmp(kLacrosSelectionInternalName, entry.internal_name)) { |
| return crosapi::browser_util::GetCachedLacrosSelectionPolicy() != |
| crosapi::browser_util::LacrosSelectionPolicy::kUserChoice; |
| } |
| |
| if (!strcmp(kPreferDcheckInternalName, entry.internal_name)) { |
| return !crosapi::browser_util::IsLacrosAllowedToBeEnabled(); |
| } |
| |
| if (!strcmp(kLacrosSupportInternalName, entry.internal_name)) { |
| return !crosapi::browser_util::IsLacrosSupportFlagAllowed(); |
| } |
| |
| if (!strcmp(kLacrosStabilityInternalName, entry.internal_name)) { |
| return !crosapi::browser_util::IsLacrosAllowedToBeEnabled(); |
| } |
| |
| if (!strcmp(kLacrosOnlyInternalName, entry.internal_name)) { |
| return !crosapi::browser_util::IsLacrosOnlyFlagAllowed(); |
| } |
| |
| if (!strcmp(kLacrosPrimaryInternalName, entry.internal_name)) { |
| return !crosapi::browser_util::IsLacrosPrimaryFlagAllowed(); |
| } |
| |
| if (!strcmp(kWebAppsCrosapiInternalName, entry.internal_name)) { |
| return !crosapi::browser_util::IsLacrosAllowedToBeEnabled(); |
| } |
| |
| if (!strcmp(kArcEnableVirtioBlkForDataInternalName, entry.internal_name)) { |
| return !arc::IsArcVmEnabled(); |
| } |
| |
| // Only show Borealis flags on enabled devices. |
| if (!strcmp(kBorealisBigGlInternalName, entry.internal_name)) { |
| return !base::FeatureList::IsEnabled(features::kBorealis); |
| } |
| |
| if (!strcmp(kBorealisDiskManagementInternalName, entry.internal_name)) { |
| return !base::FeatureList::IsEnabled(features::kBorealis); |
| } |
| |
| if (!strcmp(kBorealisForceBetaClientInternalName, entry.internal_name)) { |
| return !base::FeatureList::IsEnabled(features::kBorealis); |
| } |
| |
| if (!strcmp(kBorealisForceDoubleScaleInternalName, entry.internal_name)) { |
| return !base::FeatureList::IsEnabled(features::kBorealis); |
| } |
| |
| if (!strcmp(kBorealisLinuxModeInternalName, entry.internal_name)) { |
| return !base::FeatureList::IsEnabled(features::kBorealis); |
| } |
| |
| if (!strcmp(kBorealisPermittedInternalName, entry.internal_name)) { |
| return !base::FeatureList::IsEnabled(features::kBorealis); |
| } |
| |
| if (!strcmp(kBorealisStorageBallooningInternalName, entry.internal_name)) { |
| return !base::FeatureList::IsEnabled(features::kBorealis); |
| } |
| |
| // Only show wallpaper fast refresh flag if channel is one of |
| // Dev/Canary/Unknown. |
| if (!strcmp(kWallpaperFastRefreshInternalName, entry.internal_name)) { |
| return (channel != version_info::Channel::DEV && |
| channel != version_info::Channel::CANARY && |
| channel != version_info::Channel::UNKNOWN); |
| } |
| |
| // Only show clipboard history longpress flag if channel is one of |
| // Beta/Dev/Canary/Unknown. |
| if (!strcmp(kClipboardHistoryLongpressInternalName, entry.internal_name)) { |
| return channel != version_info::Channel::BETA && |
| channel != version_info::Channel::DEV && |
| channel != version_info::Channel::CANARY && |
| channel != version_info::Channel::UNKNOWN; |
| } |
| |
| // Only show clipboard history reorder flag if channel is one of |
| // Dev/Canary/Unknown. |
| if (!strcmp(kClipboardHistoryReorderInternalName, entry.internal_name)) { |
| return channel != version_info::Channel::DEV && |
| channel != version_info::Channel::CANARY && |
| channel != version_info::Channel::UNKNOWN; |
| } |
| |
| // Skip glanceables flag on stable channel. |
| if (!strcmp(kWelcomeScreenInternalName, entry.internal_name)) { |
| return channel == version_info::Channel::STABLE; |
| } |
| |
| // Only show LibAssistant V2 migration flag if channel is one of |
| // Dev/Canary/Unknown. |
| if (!strcmp(kLibAssistantV2MigrationInternalName, entry.internal_name)) { |
| return (channel != version_info::Channel::DEV && |
| channel != version_info::Channel::CANARY && |
| channel != version_info::Channel::UNKNOWN); |
| } |
| |
| // Disable and prevent users from enabling Floss on boards that were |
| // explicitly built without it (b/228902194 for more info). |
| if (!strcmp(kBluetoothUseFlossInternalName, entry.internal_name)) { |
| return base::FeatureList::GetInstance()->IsFeatureOverriddenFromCommandLine( |
| floss::features::kFlossIsAvailable.name, |
| base::FeatureList::OVERRIDE_DISABLE_FEATURE); |
| } |
| #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| |
| // enable-unsafe-webgpu is only available on Dev/Canary channels. |
| if (!strcmp("enable-unsafe-webgpu", entry.internal_name) && |
| channel != version_info::Channel::DEV && |
| channel != version_info::Channel::CANARY && |
| channel != version_info::Channel::UNKNOWN) { |
| return true; |
| } |
| |
| if (flags::IsFlagExpired(storage, entry.internal_name)) { |
| return true; |
| } |
| |
| return false; |
| } |
| |
| void ConvertFlagsToSwitches(flags_ui::FlagsStorage* flags_storage, |
| base::CommandLine* command_line, |
| flags_ui::SentinelsMode sentinels) { |
| if (command_line->HasSwitch(switches::kNoExperiments)) { |
| return; |
| } |
| |
| FlagsStateSingleton::GetFlagsState()->ConvertFlagsToSwitches( |
| flags_storage, command_line, sentinels, switches::kEnableFeatures, |
| switches::kDisableFeatures); |
| } |
| |
| std::vector<std::string> RegisterAllFeatureVariationParameters( |
| flags_ui::FlagsStorage* flags_storage, |
| base::FeatureList* feature_list) { |
| return FlagsStateSingleton::GetFlagsState() |
| ->RegisterAllFeatureVariationParameters(flags_storage, feature_list); |
| } |
| |
| void GetFlagFeatureEntries(flags_ui::FlagsStorage* flags_storage, |
| flags_ui::FlagAccess access, |
| base::Value::List& supported_entries, |
| base::Value::List& unsupported_entries) { |
| FlagsStateSingleton::GetFlagsState()->GetFlagFeatureEntries( |
| flags_storage, access, supported_entries, unsupported_entries, |
| base::BindRepeating(&ShouldSkipConditionalFeatureEntry, |
| // Unretained: this callback doesn't outlive this |
| // stack frame. |
| base::Unretained(flags_storage))); |
| } |
| |
| void GetFlagFeatureEntriesForDeprecatedPage( |
| flags_ui::FlagsStorage* flags_storage, |
| flags_ui::FlagAccess access, |
| base::Value::List& supported_entries, |
| base::Value::List& unsupported_entries) { |
| FlagsStateSingleton::GetFlagsState()->GetFlagFeatureEntries( |
| flags_storage, access, supported_entries, unsupported_entries, |
| base::BindRepeating(&ShouldSkipNonDeprecatedFeatureEntry)); |
| } |
| |
| flags_ui::FlagsState* GetCurrentFlagsState() { |
| return FlagsStateSingleton::GetFlagsState(); |
| } |
| |
| bool IsRestartNeededToCommitChanges() { |
| return FlagsStateSingleton::GetFlagsState()->IsRestartNeededToCommitChanges(); |
| } |
| |
| void SetFeatureEntryEnabled(flags_ui::FlagsStorage* flags_storage, |
| const std::string& internal_name, |
| bool enable) { |
| FlagsStateSingleton::GetFlagsState()->SetFeatureEntryEnabled( |
| flags_storage, internal_name, enable); |
| } |
| |
| void SetOriginListFlag(const std::string& internal_name, |
| const std::string& value, |
| flags_ui::FlagsStorage* flags_storage) { |
| FlagsStateSingleton::GetFlagsState()->SetOriginListFlag(internal_name, value, |
| flags_storage); |
| } |
| |
| void RemoveFlagsSwitches(base::CommandLine::SwitchMap* switch_list) { |
| FlagsStateSingleton::GetFlagsState()->RemoveFlagsSwitches(switch_list); |
| } |
| |
| void ResetAllFlags(flags_ui::FlagsStorage* flags_storage) { |
| FlagsStateSingleton::GetFlagsState()->ResetAllFlags(flags_storage); |
| } |
| |
| #if BUILDFLAG(IS_CHROMEOS) |
| void CrosUrlFlagsRedirect() { |
| #if BUILDFLAG(IS_CHROMEOS_LACROS) |
| lacros_url_handling::NavigateInAsh(GURL(chrome::kChromeUIFlagsURL)); |
| #else |
| // Note: This will only be called by the UI when Lacros is available. |
| DCHECK(crosapi::BrowserManager::Get()); |
| crosapi::BrowserManager::Get()->SwitchToTab( |
| GURL(chrome::kChromeUIFlagsURL), |
| /*path_behavior=*/NavigateParams::RESPECT); |
| #endif |
| } |
| #endif |
| |
| void RecordUMAStatistics(flags_ui::FlagsStorage* flags_storage, |
| const std::string& histogram_name) { |
| std::set<std::string> switches; |
| std::set<std::string> features; |
| std::set<std::string> variation_ids; |
| FlagsStateSingleton::GetFlagsState()->GetSwitchesAndFeaturesFromFlags( |
| flags_storage, &switches, &features, &variation_ids); |
| // Don't report variation IDs since we don't have an UMA histogram for them. |
| flags_ui::ReportAboutFlagsHistogram(histogram_name, switches, features); |
| } |
| |
| namespace testing { |
| |
| std::vector<FeatureEntry>* GetEntriesForTesting() { |
| static base::NoDestructor<std::vector<FeatureEntry>> entries; |
| return entries.get(); |
| } |
| |
| void SetFeatureEntries(const std::vector<FeatureEntry>& entries) { |
| CHECK(GetEntriesForTesting()->empty()); // IN-TEST |
| for (const auto& entry : entries) { |
| GetEntriesForTesting()->push_back(entry); // IN-TEST |
| } |
| FlagsStateSingleton::GetInstance()->RebuildState( |
| *GetEntriesForTesting()); // IN-TEST |
| } |
| |
| ScopedFeatureEntries::ScopedFeatureEntries( |
| const std::vector<flags_ui::FeatureEntry>& entries) { |
| SetFeatureEntries(entries); |
| } |
| |
| ScopedFeatureEntries::~ScopedFeatureEntries() { |
| GetEntriesForTesting()->clear(); // IN-TEST |
| // Restore the flag state to the production flags. |
| FlagsStateSingleton::GetInstance()->RestoreDefaultState(); |
| } |
| |
| base::span<const FeatureEntry> GetFeatureEntries() { |
| if (!GetEntriesForTesting()->empty()) { |
| return base::span<FeatureEntry>(*GetEntriesForTesting()); |
| } |
| return base::make_span(kFeatureEntries, std::size(kFeatureEntries)); |
| } |
| |
| } // namespace testing |
| |
| } // namespace about_flags |