| // Copyright 2015 The Chromium Authors |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #include "chrome/browser/flags/android/chrome_feature_list.h" |
| |
| #include <stddef.h> |
| |
| #include <string> |
| |
| #include "base/android/feature_map.h" |
| #include "base/feature_list.h" |
| #include "base/features.h" |
| #include "base/no_destructor.h" |
| #include "build/android_buildflags.h" |
| #include "chrome/browser/android/webapk/webapk_features.h" |
| #include "chrome/browser/browser_features.h" |
| #include "chrome/browser/contextmenu/context_menu_features.h" |
| #include "chrome/browser/flags/android/chrome_session_state.h" |
| #include "chrome/browser/notifications/chime/android/features.h" |
| #include "chrome/browser/predictors/predictors_features.h" |
| #include "chrome/browser/task_manager/common/task_manager_features.h" |
| #include "chrome/browser/ui/ui_features.h" |
| #include "chrome/common/chrome_features.h" |
| #include "chrome_feature_list.h" |
| #include "components/autofill/core/common/autofill_features.h" |
| #include "components/autofill/core/common/autofill_payments_features.h" |
| #include "components/browser_sync/browser_sync_switches.h" |
| #include "components/browser_ui/photo_picker/android/features.h" |
| #include "components/browsing_data/core/features.h" |
| #include "components/collaboration/public/features.h" |
| #include "components/commerce/core/commerce_feature_list.h" |
| #include "components/content_settings/core/common/features.h" |
| #include "components/contextual_search/core/browser/contextual_search_field_trial.h" |
| #include "components/credential_management/android/features.h" |
| #include "components/data_sharing/public/features.h" |
| #include "components/download/public/common/download_features.h" |
| #include "components/embedder_support/android/util/cdn_utils.h" |
| #include "components/enterprise/data_controls/core/browser/features.h" |
| #include "components/facilitated_payments/core/features/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/history/core/browser/features.h" |
| #include "components/history_clusters/core/features.h" |
| #include "components/language/core/common/language_experiments.h" |
| #include "components/ntp_tiles/features.h" |
| #include "components/offline_pages/core/offline_page_feature.h" |
| #include "components/omnibox/common/omnibox_features.h" |
| #include "components/optimization_guide/core/optimization_guide_features.h" |
| #include "components/page_info/core/features.h" |
| #include "components/paint_preview/features/features.h" |
| #include "components/password_manager/core/browser/features/password_features.h" |
| #include "components/password_manager/core/common/password_manager_features.h" |
| #include "components/permissions/features.h" |
| #include "components/plus_addresses/core/common/features.h" |
| #include "components/policy/core/common/features.h" |
| #include "components/privacy_sandbox/privacy_sandbox_features.h" |
| #include "components/push_messaging/push_messaging_features.h" |
| #include "components/regional_capabilities/regional_capabilities_switches.h" |
| #include "components/safe_browsing/core/common/features.h" |
| #include "components/safety_check/features.h" |
| #include "components/saved_tab_groups/public/features.h" |
| #include "components/segmentation_platform/public/features.h" |
| #include "components/send_tab_to_self/features.h" |
| #include "components/sensitive_content/features.h" |
| #include "components/shared_highlighting/core/common/shared_highlighting_features.h" |
| #include "components/signin/public/base/signin_switches.h" |
| #include "components/subresource_filter/core/browser/subresource_filter_features.h" |
| #include "components/supervised_user/core/common/features.h" |
| #include "components/sync/base/features.h" |
| #include "components/sync_sessions/features.h" |
| #include "components/visited_url_ranking/public/features.h" |
| #include "components/viz/common/features.h" |
| #include "components/webapps/browser/features.h" |
| #include "content/public/common/content_features.h" |
| #include "extensions/buildflags/buildflags.h" |
| #include "extensions/common/extension_features.h" |
| #include "media/base/media_switches.h" |
| #include "services/device/public/cpp/device_features.h" |
| #include "services/network/public/cpp/features.h" |
| #include "third_party/blink/public/common/features.h" |
| #include "ui/base/ui_base_features.h" |
| |
| // Must come after all headers that specialize FromJniType() / ToJniType(). |
| #include "chrome/browser/flags/jni_headers/ChromeFeatureMap_jni.h" |
| |
| namespace chrome { |
| namespace android { |
| |
| namespace { |
| |
| // Array of features exposed through the Java ChromeFeatureList API. Entries in |
| // this array may either refer to features defined in the header of this file or |
| // in other locations in the code base (e.g. chrome/, components/, etc). |
| const base::Feature* const kFeaturesExposedToJava[] = { |
| &autofill::features::kAutofillEnableRankingFormulaAddressProfiles, |
| &credential_management::features:: |
| kCredentialManagementThirdPartyWebApiRequestForwarding, |
| &autofill::features::kAutofillEnableRankingFormulaCreditCards, |
| &autofill::features::kAutofillEnableCardBenefitsForAmericanExpress, |
| &autofill::features::kAutofillEnableCardBenefitsForBmo, |
| &autofill::features::kAutofillEnableFlatRateCardBenefitsFromCurinos, |
| &autofill::features::kAutofillEnableNewCardBenefitsToggleText, |
| &autofill::features::kAutofillThirdPartyModeContentProvider, |
| &autofill::features::kAutofillEnableSecurityTouchEventFilteringAndroid, |
| &autofill::features::kAutofillDeepLinkAutofillOptions, |
| &autofill::features::kAutofillEnableCvcStorageAndFilling, |
| &autofill::features::kAutofillSyncEwalletAccounts, |
| &autofill::features::kAutofillEnableSyncingOfPixBankAccounts, |
| &autofill::features::kAutofillEnableVirtualCardJavaPaymentsDataManager, |
| &autofill::features::kAutofillEnableSupportForHomeAndWork, |
| &autofill::features::kAutofillRetryImageFetchOnFailure, |
| &autofill::features::kAutofillEnableLoyaltyCardsFilling, |
| &autofill::features::kAutofillEnableSeparatePixPreferenceItem, |
| &autofill::features::kAutofillAndroidDesktopSuppressAccessoryOnEmpty, |
| &autofill::features::kAutofillAndroidDesktopKeyboardAccessoryRevamp, |
| &base::features::kBackgroundThreadPoolFieldTrial, |
| &blink::features::kBackForwardTransitions, |
| &blink::features::kForceWebContentsDarkMode, |
| &blink::features::kPrerender2, |
| &browsing_data::features::kBrowsingDataModel, |
| &commerce::kCommerceMerchantViewer, |
| &commerce::kEnableDiscountInfoApi, |
| &commerce::kPriceAnnotations, |
| &commerce::kPriceInsights, |
| &commerce::kShoppingList, |
| &commerce::kShoppingPDPMetrics, |
| &content_settings::kDarkenWebsitesCheckboxInThemesSetting, |
| &content_settings::features::kTrackingProtection3pcd, |
| &content_settings::features::kUserBypassUI, |
| &data_controls::kEnableClipboardDataControlsAndroid, |
| &data_sharing::features::kDataSharingFeature, |
| &data_sharing::features::kDataSharingJoinOnly, |
| &data_sharing::features::kDataSharingNonProductionEnvironment, |
| &data_sharing::features::kSharedDataTypesKillSwitch, |
| &data_sharing::features::kDataSharingEnableUpdateChromeUI, |
| &download::features::kEnableSavePackageForOffTheRecord, |
| &download::features::kSmartSuggestionForLargeDownloads, |
| &base::features::kCollectAndroidFrameTimelineMetrics, |
| &download::features::kDownloadNotificationServiceUnifiedAPI, |
| &features::kAndroidAnimatedProgressBarInViz, |
| &features::kAndroidBcivBottomControls, |
| &features::kAndroidBrowserControlsInViz, |
| &features::kAndroidWebAppLaunchHandler, |
| &features::kGenericSensorExtraClasses, |
| &features::kBackForwardCache, |
| &features::kBoardingPassDetector, |
| &features::kContextMenuEmptySpace, |
| &features::kDisplayEdgeToEdgeFullscreen, |
| &features::kEnableExclusiveAccessManager, |
| &features::kEnableFullscreenToAnyScreenAndroid, |
| &features::kHttpsFirstBalancedMode, |
| &features::kNetworkServiceInProcess, |
| &features::kElasticOverscroll, |
| &features::kLinkedServicesSetting, |
| &features::kLoadingPredictorLimitPreconnectSocketCount, |
| &features::kNotificationOneTapUnsubscribe, |
| &features::kPushMessagingDisallowSenderIDs, |
| &features::kPwaUpdateDialogForIcon, |
| &features::kSafetyHubAndroidOrganicSurvey, |
| &features::kSafetyHubAndroidSurvey, |
| &features::kSafetyHubAndroidSurveyV2, |
| &features::kSafetyHubDisruptiveNotificationRevocation, |
| &features::kSafetyHubFollowup, |
| &features::kSafetyHubLocalPasswordsModule, |
| &features::kSafetyHubMagicStack, |
| &features::kSafetyHubUnifiedPasswordsModule, |
| &features::kSafetyHubWeakAndReusedPasswords, |
| &features::kTaskManagerClank, |
| &features::kQuietNotificationPrompts, |
| &feature_engagement::kIPHTabSwitcherButtonFeature, |
| &feature_engagement::kIPHRtlGestureNavigationFeature, |
| &feed::kFeedAudioOverviews, |
| &feed::kFeedContainment, |
| &feed::kFeedFollowUiUpdate, |
| &feed::kFeedHeaderRemoval, |
| &feed::kFeedImageMemoryCacheSizePercentage, |
| &feed::kFeedLoadingPlaceholder, |
| &feed::kFeedNoViewCache, |
| &feed::kFeedPerformanceStudy, |
| &feed::kFeedShowSignInCommand, |
| &feed::kFeedSignedOutViewDemotion, |
| &feed::kFeedRecyclerBinderUnmountOnDetach, |
| &feed::kInterestFeedV2, |
| &feed::kWebFeedAwareness, |
| &feed::kWebFeedOnboarding, |
| &feed::kWebFeedSort, |
| &feed::kXsurfaceMetricsReporting, |
| &history::kOrganicRepeatableQueries, |
| &history_clusters::internal::kJourneys, |
| &history_clusters::internal::kOmniboxAction, |
| &media::kAutoPictureInPictureAndroid, |
| &media::kContextMenuPictureInPictureAndroid, |
| &kAccountForSuppressedKeyboardInsets, |
| &kAdaptiveButtonInTopToolbarCustomizationV2, |
| &kAdaptiveButtonInTopToolbarPageSummary, |
| &kAllowTabClosingUponMinimization, |
| &kAndroidAnimatedProgressBarInBrowser, |
| &kAndroidAppIntegration, |
| &kAndroidAppIntegrationV2, |
| &kNewTabPageCustomization, |
| &kNewTabPageCustomizationV2, |
| &kNewTabPageCustomizationToolbarButton, |
| &kNewTabPageCustomizationForMvt, |
| &kAndroidAppIntegrationWithFavicon, |
| &kAndroidAppIntegrationMultiDataSource, |
| &kAndroidAppearanceSettings, |
| &kAndroidBookmarkBar, |
| &kAndroidBottomToolbar, |
| &kAndroidBottomToolbarV2, |
| &kAndroidDataImporterService, |
| &kAndroidDesktopDensity, |
| &kAndroidElegantTextHeight, |
| &kAndroidFirstRunLaunchBounds, |
| &kAndroidNativePagesInNewTab, |
| &kAndroidProgressBarVisualUpdate, |
| &kAndroidNoVisibleHintForDifferentTLD, |
| &kAndroidOmniboxFocusedNewTabPage, |
| &kAndroidOpenIncognitoAsWindow, |
| &kAndroidOpenPdfInlineBackport, |
| &kAndroidPdfAssistContent, |
| &kAndroidPinnedTabs, |
| &kAndroidSettingsContainment, |
| &kAndroidTabGroupsColorUpdateGM3, |
| &kAndroidTabHighlighting, |
| &kAndroidShowRestoreTabsPromoOnFREBypassedKillSwitch, |
| &kAndroidSurfaceColorUpdate, |
| &kAndroidTabDeclutterArchiveAllButActiveTab, |
| &kAndroidTabDeclutterArchiveTabGroups, |
| &kAndroidTabDeclutterAutoDelete, |
| &kAndroidTabDeclutterAutoDeleteKillSwitch, |
| &kAndroidTabDeclutterDedupeTabIdsKillSwitch, |
| &kAndroidTabDeclutterRescueKillswitch, |
| &kAndroidTabDeclutterPerformanceImprovements, |
| &kAndroidTabSkipSaveTabsKillswitch, |
| &kAndroidThemeModule, |
| &kAndroidThemeResourceProvider, |
| &kAndroidTipsNotifications, |
| &kAndroidToolbarScrollAblation, |
| &kAndroidUseAdminsForEnterpriseInfo, |
| &kAndroidWindowPopupLargeScreen, |
| &kAndroidWindowPopupPredictFinalBounds, |
| &kAndroidWindowPopupResizeAfterSpawn, |
| &kAndroidXRUsesSurfaceControl, |
| &kAnimatedGifRefactor, |
| &kAnimatedImageDragShadow, |
| &kAnnotatedPageContentsVirtualStructure, |
| &kAppSpecificHistory, |
| &kAppSpecificHistoryViewIntent, |
| &kAsyncNotificationManager, |
| &kAsyncNotificationManagerForDownload, |
| &kAutomotiveBackButtonBarStreamline, |
| &kAuxiliarySearchDonation, |
| &kBatchTabRestore, |
| &kBlockIntentsWhileLocked, |
| &kBookmarkPaneAndroid, |
| &kBrowserControlsDebugging, |
| &kBrowserControlsEarlyResize, |
| &kCacheActivityTaskID, |
| &kCacheIsMultiInstanceApi31Enabled, |
| &kCastDeviceFilter, |
| &kCCTAdaptiveButton, |
| &kCCTAdaptiveButtonTestSwitch, |
| &kCCTAuthTab, |
| &kCCTAuthTabDisableAllExternalIntents, |
| &kCCTAuthTabEnableHttpsRedirects, |
| &kCCTBlockTouchesDuringEnterAnimation, |
| &kCCTClientDataHeader, |
| &kCCTContextualMenuItems, |
| &kCCTDestroyTabWhenModelIsEmpty, |
| &kCCTEarlyNav, |
| &kCCTExtendTrustedCdnPublisher, |
| &kCCTFixWarmup, |
| &kCCTFreInSameTask, |
| &kCCTIncognitoAvailableToThirdParty, |
| &kCCTMinimizedEnabledByDefault, |
| &kCCTNavigationalPrefetch, |
| &kCCTNestedSecurityIcon, |
| &kCCTGoogleBottomBar, |
| &kCCTGoogleBottomBarVariantLayouts, |
| &kCCTOpenInBrowserButtonIfAllowedByEmbedder, |
| &kCCTOpenInBrowserButtonIfEnabledByEmbedder, |
| &kCCTNavigationMetrics, |
| &kCCTPredictiveBackGesture, |
| &kCCTRealtimeEngagementEventsInBackground, |
| &kCCTReportParallelRequestStatus, |
| &kCCTReportPrerenderEvents, |
| &kCCTResizableForThirdParties, |
| &kCCTRevampedBranding, |
| &kCCTShowTabFix, |
| &kCCTTabModalDialog, |
| &kCCTToolbarRefactor, |
| &kCCTResetTimeoutEnabled, |
| &kChangeUnfocusedPriority, |
| &kChromeNativeUrlOverriding, |
| &kDefaultBrowserPromoAndroid2, |
| &kDesktopUAOnConnectedDisplay, |
| &kDisableInstanceLimit, |
| &kDontAutoHideBrowserControls, |
| &kDrawChromePagesEdgeToEdge, |
| &kCacheDeprecatedSystemLocationSetting, |
| &kChromeSurveyNextAndroid, |
| &kClampAutomotiveScaling, |
| &kClankStartupLatencyInjection, |
| &kClankWhatsNew, |
| &kClearBrowsingDataAndroidSurvey, |
| &kCleanupLegacyTabState, |
| &kClearInstanceInfoWhenClosedIntentionally, |
| &kCommandLineOnNonRooted, |
| &kAndroidComposeplate, |
| &kContextMenuTranslateWithGoogleLens, |
| &kContextualSearchDisableOnlineDetection, |
| &kContextualSearchSuppressShortView, |
| &kControlsVisibilityFromNavigations, |
| &kCpaSpecUpdate, |
| &kCrossDeviceTabPaneAndroid, |
| &kDeviceAuthenticatorAndroidx, |
| &kEdgeToEdgeBottomChin, |
| &kEdgeToEdgeEverywhere, |
| &kEdgeToEdgeMonitorConfigurations, |
| &kEdgeToEdgeTablet, |
| &kEdgeToEdgeUseBackupNavbarInsets, |
| &kEducationalTipDefaultBrowserPromoCard, |
| &kEmptyTabListAnimationKillSwitch, |
| &kEnableXAxisActivityTransition, |
| &kExperimentsForAgsa, |
| &kFloatingSnackbar, |
| &kForceBrowserControlsUponExitingFullscreen, |
| &kForceTranslucentNotificationTrampoline, |
| &kFullscreenInsetsApiMigration, |
| &kFullscreenInsetsApiMigrationOnAutomotive, |
| &kGridTabSwitcherSurfaceColorUpdate, |
| &kGridTabSwitcherUpdate, |
| &kGroupNewTabWithParent, |
| &kHeadlessTabModel, |
| &kHistoryPaneAndroid, |
| &kHomepageIsNewTabPagePolicyAndroid, |
| &kHubBackButton, |
| &kHubSlideAnimation, |
| &kLegacyTabStateDeprecation, |
| &kLockBackPressHandlerAtStart, |
| &kLockTopControlsOnLargeTablets, |
| &kIncognitoScreenshot, |
| &kIncognitoThemeOverlayTesting, |
| &kInstanceSwitcherV2, |
| &kKeyboardEscBackNavigation, |
| &kLensOnQuickActionSearchWidget, |
| &kLoadNativeEarly, |
| &kMagicStackAndroid, |
| &kMayLaunchUrlUsesSeparateStoragePartition, |
| &kMediaIndicatorsAndroid, |
| &kMiniOriginBar, |
| &kMostVisitedTilesCustomization, |
| &kMostVisitedTilesReselect, |
| &kMultiInstanceApplicationStatusCleanup, |
| &kMvcUpdateViewWhenModelChanged, |
| &kNativePageTransitionHardwareCapture, |
| &kNavBarColorAnimation, |
| &kNotificationPermissionVariant, |
| &kNotificationPermissionBottomSheet, |
| &kNotificationTrampoline, |
| &kTinkerTankBottomSheet, |
| &kPageAnnotationsService, |
| &kPageContentProvider, |
| &kPCCTMinimumHeight, |
| &kPowerSavingModeBroadcastReceiverInBackground, |
| &kPreconnectOnTabCreation, |
| &kPriceChangeModule, |
| &kProcessRankPolicyAndroid, |
| &kProtectedTabsAndroid, |
| &kPwaRestoreUi, |
| &kPwaRestoreUiAtStartup, |
| &kOmahaMinSdkVersionAndroid, |
| &kShortCircuitUnfocusAnimation, |
| &kShowHomeButtonPolicyAndroid, |
| &kShowNewTabAnimations, |
| &kShowTabListAnimations, |
| &kPartnerCustomizationsUma, |
| &kQuickDeleteAndroidSurvey, |
| &kReadAloud, |
| &kReadAloudAudioOverviews, |
| &kReadAloudAudioOverviewsFeedback, |
| &kReadAloudAudioOverviewsSkipDisclaimerWhenPossible, |
| &kReadAloudInOverflowMenuInCCT, |
| &kReadAloudInMultiWindow, |
| &kReadAloudBackgroundPlayback, |
| &kReadAloudPlayback, |
| &kReadAloudTapToSeek, |
| &kReadAloudIPHMenuButtonHighlightCCT, |
| &kRecordSuppressionMetrics, |
| &kReengagementNotification, |
| &kRelatedSearchesAllLanguage, |
| &kRelatedSearchesSwitch, |
| &kReloadTabUiResourcesIfChanged, |
| &kRemoveTabFocusOnShowingAndSelect, |
| &kRightEdgeGoesForwardGestureNav, |
| &kRobustWindowManagement, |
| &kRobustWindowManagementExperimental, |
| &kSearchInCCT, |
| &kSearchInCCTAlternateTapHandling, |
| &kSearchInCCTIfEnabledByEmbedder, |
| &kSearchInCCTAlternateTapHandlingIfEnabledByEmbedder, |
| &kSearchResumptionModuleAndroid, |
| &kSettingsSingleActivity, |
| &kShareCustomActionsInCCT, |
| &kShowCloseAllIncognitoTabsButton, |
| &kSmallerTabStripTitleLimit, |
| &kSubmenusTabContextMenuLffTabStrip, |
| &kSuppressToolbarCapturesAtGestureEnd, |
| &kTabArchivalDragDropAndroid, |
| &kTabClosureMethodRefactor, |
| &kTabCollectionAndroid, |
| &kTabFreezeOnUndoableClosureKillSwitch, |
| &kTabGroupAndroidVisualDataCleanup, |
| &kTabGroupEntryPointsAndroid, |
| &kTabGroupParityBottomSheetAndroid, |
| &kTabModelInitFixes, |
| &kTabStorageSqlitePrototype, |
| &kTabStripAutoSelectOnCloseChange, |
| &kTabStripDensityChangeAndroid, |
| &kTabStripGroupDragDropAndroid, |
| &kTabStripIncognitoMigration, |
| &kTabStripLayoutOptimization, |
| &kTabStripMouseCloseResizeDelay, |
| &kTabStripTransitionInDesktopWindow, |
| &kTabSwitcherDragDropAndroid, |
| &kTabSwitcherForeignFaviconSupport, |
| &kTabSwitcherGroupSuggestionsAndroid, |
| &kTabSwitcherGroupSuggestionsTestModeAndroid, |
| &kTabWindowManagerReportIndicesMismatch, |
| &kTabletTabStripAnimation, |
| &kTestDefaultDisabled, |
| &kTestDefaultEnabled, |
| &kThirdPartyDisableChromeAutofillSettingsScreen, |
| &kToolbarPhoneAnimationRefactor, |
| &kToolbarSnapshotRefactor, |
| &kToolbarTabletResizeRefactor, |
| &kTopControlsRefactor, |
| &kTouchToSearchCallout, |
| &kTraceBinderIpc, |
| &kStartSurfaceReturnTime, |
| &kUmaBackgroundSessions, |
| &kUmaSessionCorrectnessFixes, |
| &kUpdateCompositorForSurfaceControl, |
| &kUseActivityManagerForTabActivation, |
| &kUseInitialNetworkStateAtStartup, |
| &kUseLibunwindstackNativeUnwinderAndroid, |
| &kWebOtpCrossDeviceSimpleString, |
| &kWebApkMinShellVersion, |
| |
| &network::features::kLocalNetworkAccessChecks, |
| ¬ifications::features::kUseChimeAndroidSdk, |
| &paint_preview::kPaintPreviewDemo, |
| &language::kCctAutoTranslate, |
| &language::kDetailedLanguageSettings, |
| &optimization_guide::features::kPushNotifications, |
| &payments::facilitated::kFacilitatedPaymentsEnableA2APayment, |
| &page_info::kPageInfoAboutThisSiteMoreLangs, |
| &password_manager::features::kBiometricAuthIdentityCheck, |
| &password_manager::features::kBiometricTouchToFill, |
| &password_manager::features::kPasswordFormGroupedAffiliations, |
| &permissions::features::kPermissionsPromptSurvey, |
| &permissions::features::kPermissionDedicatedCpssSettingAndroid, |
| &permissions::features::kPermissionSiteSettingsRadioButton, |
| &plus_addresses::features::kPlusAddressesEnabled, |
| &plus_addresses::features::kPlusAddressAndroidOpenGmsCoreManagementPage, |
| &privacy_sandbox::kAlwaysBlock3pcsIncognito, |
| &privacy_sandbox::kDisplayWildcardInContentSettings, |
| &privacy_sandbox::kFingerprintingProtectionUx, |
| &privacy_sandbox::kIpProtectionUx, |
| &privacy_sandbox::kPrivacySandboxActivityTypeStorage, |
| &privacy_sandbox::kPrivacySandboxAdsApiUxEnhancements, |
| &privacy_sandbox::kPrivacySandboxAdsNoticeCCT, |
| &privacy_sandbox::kPrivacySandboxSettings4, |
| &privacy_sandbox::kPrivacySandboxAdTopicsContentParity, |
| &privacy_sandbox::kPrivacySandboxSentimentSurvey, |
| &privacy_sandbox::kRelatedWebsiteSetsUi, |
| &privacy_sandbox::kTrackingProtectionUserBypassPwa, |
| &privacy_sandbox::kTrackingProtectionUserBypassPwaTrigger, |
| &safe_browsing::kHashPrefixRealTimeLookups, |
| &safe_browsing::kMaliciousApkDownloadCheck, |
| &safe_browsing::kReportNotificationContentDetectionData, |
| &safe_browsing::kShowWarningsForSuspiciousNotifications, |
| &safety_check::features::kSafetyHub, |
| &segmentation_platform::features::kAndroidAppIntegrationModule, |
| &segmentation_platform::features::kContextualPageActions, |
| &segmentation_platform::features::kContextualPageActionTabGrouping, |
| &segmentation_platform::features::kEducationalTipModule, |
| &segmentation_platform::features::kSegmentationPlatformEphemeralCardRanker, |
| &segmentation_platform::features:: |
| kSegmentationPlatformAndroidHomeModuleRanker, |
| &segmentation_platform::features:: |
| kSegmentationPlatformAndroidHomeModuleRankerV2, |
| &sensitive_content::features::kSensitiveContent, |
| &sensitive_content::features::kSensitiveContentWhileSwitchingTabs, |
| &supervised_user::kPropagateDeviceContentFiltersToSupervisedUser, |
| &switches::kMitigateLegacySearchEnginePromoOverlap, |
| &sync_sessions::kOptimizeAssociateWindowsAndroid, |
| &syncer::kWebApkBackupAndRestoreBackend, |
| &syncer::kUnoPhase2FollowUp, |
| &syncer::kSyncEnablePasswordsSyncErrorMessageAlternative, |
| &tab_groups::kUseAlternateHistorySyncIllustration, |
| &visited_url_ranking::features::kGroupSuggestionService, |
| &visited_url_ranking::features::kVisitedURLRankingService, |
| &webapps::features::kWebApkInstallFailureNotification, |
| &webapps::features::kAndroidMinimalUiLargeScreen, |
| &webapps::features::kAndroidWindowControlsOverlay, |
| &base::features::kPostGetMyMemoryStateToBackground, |
| }; |
| |
| // static |
| base::android::FeatureMap* GetFeatureMap() { |
| static base::NoDestructor<base::android::FeatureMap> kFeatureMap( |
| kFeaturesExposedToJava); |
| return kFeatureMap.get(); |
| } |
| |
| } // namespace |
| |
| static jlong JNI_ChromeFeatureMap_GetNativeMap(JNIEnv* env) { |
| return reinterpret_cast<jlong>(GetFeatureMap()); |
| } |
| |
| // Alphabetical: |
| |
| BASE_FEATURE(kAccountForSuppressedKeyboardInsets, |
| "AccountForSuppressedKeyboardInsets", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAdaptiveButtonInTopToolbarCustomizationV2, |
| "AdaptiveButtonInTopToolbarCustomizationV2", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAdaptiveButtonInTopToolbarPageSummary, |
| "AdaptiveButtonInTopToolbarPageSummary", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAllowTabClosingUponMinimization, |
| "AllowTabClosingUponMinimization", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAndroidAnimatedProgressBarInBrowser, |
| "AndroidAnimatedProgressBarInBrowser", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAndroidAppIntegration, |
| "AndroidAppIntegration", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAndroidAppIntegrationV2, |
| "AndroidAppIntegrationV2", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAndroidAppIntegrationMultiDataSource, |
| "AndroidAppIntegrationMultiDataSource", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kNewTabPageCustomization, |
| "NewTabPageCustomization", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kNewTabPageCustomizationV2, |
| "NewTabPageCustomizationV2", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kNewTabPageCustomizationToolbarButton, |
| "NewTabPageCustomizationToolbarButton", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kNewTabPageCustomizationForMvt, |
| "NewTabPageCustomizationForMvt", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAndroidAppIntegrationWithFavicon, |
| "AndroidAppIntegrationWithFavicon", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAndroidAppearanceSettings, |
| "AndroidAppearanceSettings", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAndroidBookmarkBar, |
| "AndroidBookmarkBar", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAndroidBottomToolbar, |
| "AndroidBottomToolbar", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAndroidBottomToolbarV2, |
| "AndroidBottomToolbarV2", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAndroidDataImporterService, |
| "AndroidDataImporterService", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAndroidDesktopDensity, |
| "AndroidDesktopDensity", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAndroidElegantTextHeight, |
| "AndroidElegantTextHeight", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAndroidFirstRunLaunchBounds, |
| "AndroidFirstRunLaunchBounds", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAndroidNativePagesInNewTab, |
| "AndroidNativePagesInNewTab", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAndroidProgressBarVisualUpdate, |
| "AndroidProgressBarVisualUpdate", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAndroidComposeplate, |
| "AndroidComposeplate", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAndroidNoVisibleHintForDifferentTLD, |
| "AndroidNoVisibleHintForDifferentTLD", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAndroidOmniboxFocusedNewTabPage, |
| "AndroidOmniboxFocusedNewTabPage", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAndroidOpenIncognitoAsWindow, |
| "AndroidOpenIncognitoAsWindow", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAndroidOpenPdfInlineBackport, |
| "AndroidOpenPdfInlineBackport", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAndroidPdfAssistContent, |
| "AndroidPdfAssistContent", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAndroidSettingsContainment, |
| "AndroidSettingsContainment", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAndroidTabGroupsColorUpdateGM3, |
| "AndroidTabGroupsColorUpdateGM3", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAndroidTabHighlighting, |
| "AndroidTabHighlighting", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAndroidShowRestoreTabsPromoOnFREBypassedKillSwitch, |
| "AndroidShowRestoreTabsPromoOnFREBypassedKillSwitch", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAndroidSurfaceColorUpdate, |
| "AndroidSurfaceColorUpdate", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAndroidTabDeclutterArchiveAllButActiveTab, |
| "AndroidTabDeclutterArchiveAllButActiveTab", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAndroidTabDeclutterArchiveTabGroups, |
| "AndroidTabDeclutterArchiveTabGroups", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAndroidTabDeclutterAutoDelete, |
| "AndroidTabDeclutterAutoDelete", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAndroidTabDeclutterAutoDeleteKillSwitch, |
| "AndroidTabDeclutterAutoDeleteKillSwitch", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAndroidTabDeclutterDedupeTabIdsKillSwitch, |
| "AndroidTabDeclutterDedupeTabIdsKillSwitch", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAndroidTabDeclutterPerformanceImprovements, |
| "AndroidTabDeclutterPerformanceImprovements", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAndroidTabDeclutterRescueKillswitch, |
| "AndroidTabDeclutterRescueKillswitch", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAndroidTabSkipSaveTabsKillswitch, |
| "AndroidTabSkipSaveTabsTaskKillswitch", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAndroidThemeModule, |
| "AndroidThemeModule", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAndroidThemeResourceProvider, |
| "AndroidThemeResourceProvider", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAndroidTipsNotifications, |
| "AndroidTipsNotifications", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAndroidToolbarScrollAblation, |
| "AndroidToolbarScrollAblation", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAndroidUseAdminsForEnterpriseInfo, |
| "AndroidUseAdminsForEnterpriseInfo", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAndroidWindowPopupLargeScreen, |
| "AndroidWindowPopupLargeScreen", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAndroidWindowPopupPredictFinalBounds, |
| "AndroidWindowPopupPredictFinalBounds", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAndroidWindowPopupResizeAfterSpawn, |
| "AndroidWindowPopupResizeAfterSpawn", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAndroidXRUsesSurfaceControl, |
| "AndroidWindowPopupResizeAfterSpawn", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAnimatedGifRefactor, |
| "AnimatedGifRefactor", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAnimatedImageDragShadow, |
| "AnimatedImageDragShadow", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAnnotatedPageContentsVirtualStructure, |
| "AnnotatedPageContentsVirtualStructure", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAppSpecificHistory, |
| "AppSpecificHistory", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAppSpecificHistoryViewIntent, |
| "AppSpecificHistoryViewIntent", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAsyncNotificationManager, |
| "AsyncNotificationManager", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAsyncNotificationManagerForDownload, |
| "AsyncNotificationManagerForDownload", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAutomotiveBackButtonBarStreamline, |
| "AutomotiveBackButtonBarStreamline", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAuxiliarySearchDonation, |
| "AuxiliarySearchDonation", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kTinkerTankBottomSheet, |
| "TinkerTankBottomSheet", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kBatchTabRestore, |
| "BatchTabRestore", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kBlockIntentsWhileLocked, |
| "BlockIntentsWhileLocked", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kBookmarkPaneAndroid, |
| "BookmarkPaneAndroid", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kBrowserControlsDebugging, |
| "BrowserControlsDebugging", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kBrowserControlsEarlyResize, |
| "BrowserControlsEarlyResize", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kCacheActivityTaskID, |
| "CacheActivityTaskID", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kCacheIsMultiInstanceApi31Enabled, |
| "CacheIsMultiInstanceApi31Enabled", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| // Used in downstream code. |
| BASE_FEATURE(kCastDeviceFilter, |
| "CastDeviceFilter", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kCCTAdaptiveButton, |
| "CCTAdaptiveButton", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kCCTAdaptiveButtonTestSwitch, |
| "CCTAdaptiveButtonTestSwitch", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kCCTAuthTab, "CCTAuthTab", base::FEATURE_ENABLED_BY_DEFAULT); |
| BASE_FEATURE(kCCTAuthTabDisableAllExternalIntents, |
| "CCTAuthTabDisableAllExternalIntents", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| BASE_FEATURE(kCCTAuthTabEnableHttpsRedirects, |
| "CCTAuthTabEnableHttpsRedirects", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kCCTBlockTouchesDuringEnterAnimation, |
| "CCTBlockTouchesDuringEnterAnimation", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kCCTClientDataHeader, |
| "CCTClientDataHeader", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kCCTContextualMenuItems, |
| "CCTContextualMenuItems", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kCCTDestroyTabWhenModelIsEmpty, |
| "CCTDestroyTabWhenModelIsEmpty", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kCCTEarlyNav, "CCTEarlyNav", base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kCCTExtendTrustedCdnPublisher, |
| "CCTExtendTrustedCdnPublisher", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kCCTFixWarmup, "CCTFixWarmup", base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kCCTFreInSameTask, |
| "CCTFreInSameTask", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kCCTIncognitoAvailableToThirdParty, |
| "CCTIncognitoAvailableToThirdParty", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kCCTMinimizedEnabledByDefault, |
| "CCTMinimizedEnabledByDefault", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kCCTNavigationalPrefetch, |
| "CCTNavigationalPrefetch", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kCCTNestedSecurityIcon, |
| "CCTNestedSecurityIcon", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kCCTGoogleBottomBar, |
| "CCTGoogleBottomBar", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kCCTGoogleBottomBarVariantLayouts, |
| "CCTGoogleBottomBarVariantLayouts", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kCCTOpenInBrowserButtonIfAllowedByEmbedder, |
| "CCTOpenInBrowserButtonIfAllowedByEmbedder", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kCCTOpenInBrowserButtonIfEnabledByEmbedder, |
| "CCTOpenInBrowserButtonIfEnabledByEmbedder", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kCCTPredictiveBackGesture, |
| "CCTPredictiveBackGesture", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kGridTabSwitcherUpdate, |
| "GridTabSwitcherUpdate", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kAndroidPinnedTabs, |
| "AndroidPinnedTabs", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kHubBackButton, |
| "HubBackButton", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kHubSlideAnimation, |
| "HubSlideAnimation", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kCCTNavigationMetrics, |
| "CCTNavigationMetrics", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kCCTRealtimeEngagementEventsInBackground, |
| "CCTRealtimeEngagementEventsInBackground", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kCCTReportParallelRequestStatus, |
| "CCTReportParallelRequestStatus", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kCCTReportPrerenderEvents, |
| "CCTReportPrerenderEvents", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kCCTResizableForThirdParties, |
| "CCTResizableForThirdParties", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kCCTRevampedBranding, |
| "CCTRevampedBranding", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kCCTShowTabFix, "CCTShowTabFix", base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kCCTTabModalDialog, |
| "CCTTabModalDialog", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kCCTToolbarRefactor, |
| "CCTToolbarRefactor", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kCCTResetTimeoutEnabled, |
| "CCTResetTimeoutEnabled", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kChromeNativeUrlOverriding, |
| "ChromeNativeUrlOverriding", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kChangeUnfocusedPriority, |
| "ChangeUnfocusedPriority", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kDesktopUAOnConnectedDisplay, |
| "DesktopUAOnConnectedDisplay", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kDisableInstanceLimit, |
| "DisableInstanceLimit", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kCleanupLegacyTabState, |
| "CleanupLegacyTabState", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kDontAutoHideBrowserControls, |
| "DontAutoHideBrowserControls", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kDrawChromePagesEdgeToEdge, |
| "DrawChromePagesEdgeToEdge", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kCacheDeprecatedSystemLocationSetting, |
| "CacheDeprecatedSystemLocationSetting", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kChromeSurveyNextAndroid, |
| "ChromeSurveyNextAndroid", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kClampAutomotiveScaling, |
| "ClampAutomotiveScaling", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kClankStartupLatencyInjection, |
| "ClankStartupLatencyInjection", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kClankWhatsNew, |
| "ClankWhatsNew", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kClearBrowsingDataAndroidSurvey, |
| "ClearBrowsingDataAndroidSurvey", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kClearInstanceInfoWhenClosedIntentionally, |
| "ClearInstanceInfoWhenClosedIntentionally", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kCommandLineOnNonRooted, |
| "CommandLineOnNonRooted", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kContextMenuTranslateWithGoogleLens, |
| "ContextMenuTranslateWithGoogleLens", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kLensOnQuickActionSearchWidget, |
| "LensOnQuickActionSearchWidget", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kContextualSearchDisableOnlineDetection, |
| "ContextualSearchDisableOnlineDetection", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kContextualSearchSuppressShortView, |
| "ContextualSearchSuppressShortView", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kControlsVisibilityFromNavigations, |
| "ControlsVisibilityFromNavigations", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kCpaSpecUpdate, |
| "CpaSpecUpdate", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kCrossDeviceTabPaneAndroid, |
| "CrossDeviceTabPaneAndroid", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kDefaultBrowserPromoAndroid2, |
| "DefaultBrowserPromoAndroid2", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| // The feature is a no-op, it replaces android.hardware.biometrics library on |
| // Android with androidx.biometric. |
| BASE_FEATURE(kDeviceAuthenticatorAndroidx, |
| "DeviceAuthenticatorAndroidx", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kEdgeToEdgeBottomChin, |
| "EdgeToEdgeBottomChin", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kEdgeToEdgeMonitorConfigurations, |
| "EdgeToEdgeMonitorConfigurations", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kEdgeToEdgeEverywhere, |
| "EdgeToEdgeEverywhere", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kEdgeToEdgeTablet, |
| "EdgeToEdgeTablet", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kEdgeToEdgeUseBackupNavbarInsets, |
| "EdgeToEdgeUseBackupNavbarInsets", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kEducationalTipDefaultBrowserPromoCard, |
| "EducationalTipDefaultBrowserPromoCard", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kEmptyTabListAnimationKillSwitch, |
| "EmptyTabListAnimationKillSwitch", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kEnableXAxisActivityTransition, |
| "EnableXAxisActivityTransition", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kExperimentsForAgsa, |
| "ExperimentsForAgsa", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kFloatingSnackbar, |
| "FloatingSnackbar", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kForceBrowserControlsUponExitingFullscreen, |
| "ForceBrowserControlsUponExitingFullscreen", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kForceTranslucentNotificationTrampoline, |
| "ForceTranslucentNotificationTrampoline", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kFullscreenInsetsApiMigration, |
| "FullscreenInsetsApiMigration", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kFullscreenInsetsApiMigrationOnAutomotive, |
| "FullscreenInsetsApiMigrationOnAutomotive", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kGridTabSwitcherSurfaceColorUpdate, |
| "GridTabSwitcherSurfaceColorUpdate", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kGroupNewTabWithParent, |
| "GroupNewTabWithParent", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kHeadlessTabModel, |
| "HeadlessTabModel", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kHistoryPaneAndroid, |
| "HistoryPaneAndroid", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kHomepageIsNewTabPagePolicyAndroid, |
| "HomepageIsNewTabPagePolicyAndroid", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kLegacyTabStateDeprecation, |
| "LegacyTabStateDeprecation", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kLoadNativeEarly, |
| "LoadNativeEarly", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kLockBackPressHandlerAtStart, |
| "LockBackPressHandlerAtStart", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kLockTopControlsOnLargeTablets, |
| "LockTopControlsOnLargeTablets", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kIncognitoScreenshot, |
| "IncognitoScreenshot", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kIncognitoThemeOverlayTesting, |
| "IncognitoThemeOverlayTesting", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kInstanceSwitcherV2, |
| "InstanceSwitcherV2", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kKeyboardEscBackNavigation, |
| "KeyboardEscBackNavigation", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kMagicStackAndroid, |
| "MagicStackAndroid", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| // Enables an experimental feature which forces mayLaunchUrl to use a different |
| // storage partition. This may reduce performance. This should not be enabled by |
| // default. |
| BASE_FEATURE(kMayLaunchUrlUsesSeparateStoragePartition, |
| "MayLaunchUrlUsesSeparateStoragePartition", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kMediaIndicatorsAndroid, |
| "MediaIndicatorsAndroid", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kMiniOriginBar, "MiniOriginBar", base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kMostVisitedTilesCustomization, |
| "MostVisitedTilesCustomization", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kMostVisitedTilesReselect, |
| "MostVisitedTilesReselect", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kMultiInstanceApplicationStatusCleanup, |
| "MultiInstanceApplicationStatusCleanup", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kMvcUpdateViewWhenModelChanged, |
| "MvcUpdateViewWhenModelChanged", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kNativePageTransitionHardwareCapture, |
| "NativePageTransitionHardwareCapture", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kNavBarColorAnimation, |
| "NavBarColorAnimation", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kNotificationPermissionVariant, |
| "NotificationPermissionVariant", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kNotificationPermissionBottomSheet, |
| "NotificationPermissionBottomSheet", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kNotificationTrampoline, |
| "NotificationTrampoline", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kPageAnnotationsService, |
| "PageAnnotationsService", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kPageContentProvider, |
| "PageContentProvider", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kPCCTMinimumHeight, |
| "PCCTMinimumHeight", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kPowerSavingModeBroadcastReceiverInBackground, |
| "PowerSavingModeBroadcastReceiverInBackground", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kPreconnectOnTabCreation, |
| "PreconnectOnTabCreation", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kPriceChangeModule, |
| "PriceChangeModule", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kProcessRankPolicyAndroid, |
| "ProcessRankPolicyAndroid", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| // Put a higher memory priority to protected background tabs (e.g. tabs with |
| // user edits in forms) to prevent them from being killed by LMKD before any |
| // other non-protected tabs. |
| BASE_FEATURE(kProtectedTabsAndroid, |
| "ProtectedTabsAndroid", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kPwaRestoreUi, "PwaRestoreUi", base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kPwaRestoreUiAtStartup, |
| "PwaRestoreUiAtStartup", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kOmahaMinSdkVersionAndroid, |
| "OmahaMinSdkVersionAndroid", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kShortCircuitUnfocusAnimation, |
| "ShortCircuitUnfocusAnimation", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kShowHomeButtonPolicyAndroid, |
| "ShowHomeButtonPolicyAndroid", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kShowNewTabAnimations, |
| "ShowNewTabAnimations", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kShowTabListAnimations, |
| "ShowTabListAnimations", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kPartnerCustomizationsUma, |
| "PartnerCustomizationsUma", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kQuickDeleteAndroidSurvey, |
| "QuickDeleteAndroidSurvey", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kReadAloud, "ReadAloud", base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kReadAloudAudioOverviews, |
| "ReadAloudAudioOverviews", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kReadAloudAudioOverviewsFeedback, |
| "ReadAloudAudioOverviewsFeedback", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kReadAloudAudioOverviewsSkipDisclaimerWhenPossible, |
| "ReadAloudAudioOverviewsSkipDisclaimerWhenPossible", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kReadAloudInOverflowMenuInCCT, |
| "ReadAloudInOverflowMenuInCCT", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kReadAloudInMultiWindow, |
| "ReadAloudInMultiWindow", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kReadAloudBackgroundPlayback, |
| "ReadAloudBackgroundPlayback", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kReadAloudPlayback, |
| "ReadAloudPlayback", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kReadAloudTapToSeek, |
| "ReadAloudTapToSeek", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kReadAloudServerExperiments, |
| "ReadAloudServerExperiments", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kReadAloudIPHMenuButtonHighlightCCT, |
| "ReadAloudIPHMenuButtonHighlightCCT", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kRecordSuppressionMetrics, |
| "RecordSuppressionMetrics", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kReengagementNotification, |
| "ReengagementNotification", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kRelatedSearchesAllLanguage, |
| "RelatedSearchesAllLanguage", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kRelatedSearchesSwitch, |
| "RelatedSearchesSwitch", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kReloadTabUiResourcesIfChanged, |
| "ReloadTabUiResourcesIfChanged", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kRemoveTabFocusOnShowingAndSelect, |
| "RemoveTabFocusOnShowingAndSelect", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kRightEdgeGoesForwardGestureNav, |
| "RightEdgeGoesForwardGestureNav", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kRobustWindowManagement, |
| "RobustWindowManagement", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kRobustWindowManagementExperimental, |
| "RobustWindowManagementExperimental", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kSettingsSingleActivity, |
| "SettingsSingleActivity", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kShareCustomActionsInCCT, |
| "ShareCustomActionsInCCT", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kShowCloseAllIncognitoTabsButton, |
| "ShowCloseAllIncognitoTabsButton", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kSmallerTabStripTitleLimit, |
| "SmallerTabStripTitleLimit", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kSubmenusTabContextMenuLffTabStrip, |
| "SubmenusTabContextMenuLffTabStrip", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kSuppressToolbarCapturesAtGestureEnd, |
| "SuppressToolbarCapturesAtGestureEnd", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kTabArchivalDragDropAndroid, |
| "TabArchivalDragDropAndroid", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kTabClosureMethodRefactor, |
| "TabClosureMethodRefactor", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kTabCollectionAndroid, |
| "TabCollectionAndroid", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kTabFreezeOnUndoableClosureKillSwitch, |
| "TabFreezeOnUndoableClosureKillSwitch", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kTabGroupAndroidVisualDataCleanup, |
| "TabGroupAndroidVisualDataCleanup", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kTabGroupEntryPointsAndroid, |
| "TabGroupEntryPointsAndroid", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kTabGroupParityBottomSheetAndroid, |
| "TabGroupParityBottomSheetAndroid", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kTabModelInitFixes, |
| "TabModelInitFixes", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kTabStorageSqlitePrototype, |
| "TabStorageSqlitePrototype", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kTabStripAutoSelectOnCloseChange, |
| "TabStripAutoSelectOnCloseChange", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kTabStripDensityChangeAndroid, |
| "TabStripDensityChangeAndroid", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kTabStripGroupDragDropAndroid, |
| "TabStripGroupDragDropAndroid", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kTabStripIncognitoMigration, |
| "TabStripIncognitoMigration", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kTabStripLayoutOptimization, |
| "TabStripLayoutOptimization", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kTabStripMouseCloseResizeDelay, |
| "TabStripMouseCloseResizeDelay", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kTabStripTransitionInDesktopWindow, |
| "TabStripTransitionInDesktopWindow", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kTabSwitcherDragDropAndroid, |
| "TabSwitcherDragDropAndroid", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kTabSwitcherForeignFaviconSupport, |
| "TabSwitcherForeignFaviconSupport", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kTabSwitcherGroupSuggestionsAndroid, |
| "TabSwitcherGroupSuggestionsAndroid", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kTabSwitcherGroupSuggestionsTestModeAndroid, |
| "TabSwitcherGroupSuggestionsTestModeAndroid", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kTabWindowManagerReportIndicesMismatch, |
| "TabWindowManagerReportIndicesMismatch", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kTabletTabStripAnimation, |
| "TabletTabStripAnimation", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kTestDefaultDisabled, |
| "TestDefaultDisabled", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kTestDefaultEnabled, |
| "TestDefaultEnabled", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| // If the user configured Chrome to use 3P autofill and this feature is enabled, |
| // Chrome will disable the preferences in the "Payment methods" and "Addresses |
| // and more" screen in the Chrome settings that don't apply in third party mode |
| // and would confuse the user. |
| BASE_FEATURE(kThirdPartyDisableChromeAutofillSettingsScreen, |
| "ThirdPartyDisableChromeAutofillSettingsScreen", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kToolbarPhoneAnimationRefactor, |
| "ToolbarPhoneAnimationRefactor", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kToolbarSnapshotRefactor, |
| "ToolbarSnapshotRefactor", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kToolbarTabletResizeRefactor, |
| "ToolbarTabletResizeRefactor", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| // Enables the use of the refactored Top Controls approach on Android. |
| BASE_FEATURE(kTopControlsRefactor, |
| "TopControlsRefactor", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kTouchToSearchCallout, |
| "TouchToSearchCallout", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kTraceBinderIpc, |
| "TraceBinderIpc", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kSearchInCCT, "SearchInCCT", base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kSearchInCCTAlternateTapHandling, |
| "SearchInCCTAlternateTapHandling", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kSearchInCCTIfEnabledByEmbedder, |
| "SearchInCCTIfEnabledByEmbedder", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kSearchInCCTAlternateTapHandlingIfEnabledByEmbedder, |
| "SearchInCCTAlternateTapHandlingIfEnabledByEmbedder", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kSearchResumptionModuleAndroid, |
| "SearchResumptionModuleAndroid", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| BASE_FEATURE(kStartSurfaceReturnTime, |
| "StartSurfaceReturnTime", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| // If enabled, keep logging and reporting UMA while chrome is backgrounded. |
| BASE_FEATURE(kUmaBackgroundSessions, |
| "UMABackgroundSessions", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| // Correctness fixes to Activity tagging for UMA sessions. |
| BASE_FEATURE(kUmaSessionCorrectnessFixes, |
| "UmaSessionCorrectnessFixes", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| // Actively update the compositor surface when surface control is enabled. |
| BASE_FEATURE(kUpdateCompositorForSurfaceControl, |
| "UpdateCompositorForSurfaceControl", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| // Activate tab with moveTaskToFront() which works in multi-window mode. |
| BASE_FEATURE(kUseActivityManagerForTabActivation, |
| "UseActivityManagerForTabActivation", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| // Whether to use initial network state during initialization to speed up |
| // startup. |
| BASE_FEATURE(kUseInitialNetworkStateAtStartup, |
| "UseInitialNetworkStateAtStartup", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| // Use the LibunwindstackNativeUnwinderAndroid for only browser main thread, and |
| // only on Android. |
| BASE_FEATURE(kUseLibunwindstackNativeUnwinderAndroid, |
| "UseLibunwindstackNativeUnwinderAndroid", |
| base::FEATURE_ENABLED_BY_DEFAULT); |
| |
| // Shows only the remote device name on the Android notification instead of |
| // a descriptive text. |
| BASE_FEATURE(kWebOtpCrossDeviceSimpleString, |
| "WebOtpCrossDeviceSimpleString", |
| base::FEATURE_DISABLED_BY_DEFAULT); |
| |
| } // namespace android |
| } // namespace chrome |