mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
42ea4bc594
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/52543 Prefixing "eager" to the name makes it less confusing. React native already has main queue modules: they're just lazy. Changelog: [Internal] Reviewed By: lunaleaps Differential Revision: D78109287 fbshipit-source-id: 5fa6095d2dd8fcf74fdda64e05483eb487bc8f56
87 lines
3.6 KiB
C++
87 lines
3.6 KiB
C++
/*
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @generated SignedSource<<f3e838bc19232c5b2bb539133c825a71>>
|
|
*/
|
|
|
|
/**
|
|
* IMPORTANT: Do NOT modify this file directly.
|
|
*
|
|
* To change the definition of the flags, edit
|
|
* packages/react-native/scripts/featureflags/ReactNativeFeatureFlags.config.js.
|
|
*
|
|
* To regenerate this code, run the following script from the repo root:
|
|
* yarn featureflags --update
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
namespace facebook::react {
|
|
|
|
class ReactNativeFeatureFlagsProvider {
|
|
public:
|
|
virtual ~ReactNativeFeatureFlagsProvider() = default;
|
|
|
|
virtual bool commonTestFlag() = 0;
|
|
virtual bool cxxNativeAnimatedEnabled() = 0;
|
|
virtual bool cxxNativeAnimatedRemoveJsSync() = 0;
|
|
virtual bool disableMountItemReorderingAndroid() = 0;
|
|
virtual bool disableTextLayoutManagerCacheAndroid() = 0;
|
|
virtual bool enableAccessibilityOrder() = 0;
|
|
virtual bool enableAccumulatedUpdatesInRawPropsAndroid() = 0;
|
|
virtual bool enableAndroidTextMeasurementOptimizations() = 0;
|
|
virtual bool enableBridgelessArchitecture() = 0;
|
|
virtual bool enableCppPropsIteratorSetter() = 0;
|
|
virtual bool enableCustomFocusSearchOnClippedElementsAndroid() = 0;
|
|
virtual bool enableDestroyShadowTreeRevisionAsync() = 0;
|
|
virtual bool enableDoubleMeasurementFixAndroid() = 0;
|
|
virtual bool enableEagerMainQueueModulesOnIOS() = 0;
|
|
virtual bool enableEagerRootViewAttachment() = 0;
|
|
virtual bool enableFabricLogs() = 0;
|
|
virtual bool enableFabricRenderer() = 0;
|
|
virtual bool enableFixForParentTagDuringReparenting() = 0;
|
|
virtual bool enableFontScaleChangesUpdatingLayout() = 0;
|
|
virtual bool enableIOSTextBaselineOffsetPerLine() = 0;
|
|
virtual bool enableIOSViewClipToPaddingBox() = 0;
|
|
virtual bool enableInteropViewManagerClassLookUpOptimizationIOS() = 0;
|
|
virtual bool enableLayoutAnimationsOnAndroid() = 0;
|
|
virtual bool enableLayoutAnimationsOnIOS() = 0;
|
|
virtual bool enableMainQueueCoordinatorOnIOS() = 0;
|
|
virtual bool enableModuleArgumentNSNullConversionIOS() = 0;
|
|
virtual bool enableNativeCSSParsing() = 0;
|
|
virtual bool enableNetworkEventReporting() = 0;
|
|
virtual bool enableNewBackgroundAndBorderDrawables() = 0;
|
|
virtual bool enablePreparedTextLayout() = 0;
|
|
virtual bool enablePropsUpdateReconciliationAndroid() = 0;
|
|
virtual bool enableResourceTimingAPI() = 0;
|
|
virtual bool enableSynchronousStateUpdates() = 0;
|
|
virtual bool enableViewCulling() = 0;
|
|
virtual bool enableViewRecycling() = 0;
|
|
virtual bool enableViewRecyclingForText() = 0;
|
|
virtual bool enableViewRecyclingForView() = 0;
|
|
virtual bool enableVirtualViewDebugFeatures() = 0;
|
|
virtual bool enableVirtualViewRenderState() = 0;
|
|
virtual bool enableVirtualViewWindowFocusDetection() = 0;
|
|
virtual bool fixMappingOfEventPrioritiesBetweenFabricAndReact() = 0;
|
|
virtual bool fuseboxEnabledRelease() = 0;
|
|
virtual bool fuseboxNetworkInspectionEnabled() = 0;
|
|
virtual bool hideOffscreenVirtualViewsOnIOS() = 0;
|
|
virtual double preparedTextCacheSize() = 0;
|
|
virtual bool traceTurboModulePromiseRejectionsOnAndroid() = 0;
|
|
virtual bool updateRuntimeShadowNodeReferencesOnCommit() = 0;
|
|
virtual bool useAlwaysAvailableJSErrorHandling() = 0;
|
|
virtual bool useFabricInterop() = 0;
|
|
virtual bool useNativeViewConfigsInBridgelessMode() = 0;
|
|
virtual bool useOptimizedEventBatchingOnAndroid() = 0;
|
|
virtual bool useRawPropsJsiValue() = 0;
|
|
virtual bool useShadowNodeStateOnClone() = 0;
|
|
virtual bool useTurboModuleInterop() = 0;
|
|
virtual bool useTurboModules() = 0;
|
|
virtual double virtualViewPrerenderRatio() = 0;
|
|
};
|
|
|
|
} // namespace facebook::react
|