blob: 2789b25f72e9bb450c464772609d8592d9b2b48b [file] [log] [blame]
// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_CHROME_BROWSER_LENS_UI_BUNDLED_FEATURES_H_
#define IOS_CHROME_BROWSER_LENS_UI_BUNDLED_FEATURES_H_
#import "base/feature_list.h"
// Whether to enable the filters ablation mode.
BASE_DECLARE_FEATURE(kLensFiltersAblationModeEnabled);
// The feature parameter that indicates the filters ablation mode.
extern const char kLensFiltersAblationMode[];
// Integer that maps to the filters ablation mode enum.
int LensFiltersAblationMode();
// Whether to enable the translate toggle mode.
BASE_DECLARE_FEATURE(kLensTranslateToggleModeEnabled);
// The feature parameter that indicates the translate toggle mode.
extern const char kLensTranslateToggleMode[];
// Integer that maps to the translate toggle mode enum.
int LensTranslateToggleMode();
// Whether to enable the Lens web page load optimization.
BASE_DECLARE_FEATURE(kLensWebPageLoadOptimizationEnabled);
// Whether to use unary APIs with HTTP transport.
BASE_DECLARE_FEATURE(kLensUnaryApisWithHttpTransportEnabled);
// Whether to use HTTP transport for unary requests.
BASE_DECLARE_FEATURE(kLensUnaryHttpTransportEnabled);
// Whether to enable the unary salient text API.
BASE_DECLARE_FEATURE(kLensUnaryApiSalientTextEnabled);
// Whether to disable single tap text selection.
BASE_DECLARE_FEATURE(kLensSingleTapTextSelectionDisabled);
// Whether to disable gesture text selection.
BASE_DECLARE_FEATURE(kLensGestureTextSelectionDisabled);
// Whether to enable the unary client data header.
BASE_DECLARE_FEATURE(kLensUnaryClientDataHeaderEnabled);
// Whether to block fetch objects interaction RPCs on separate handshake.
BASE_DECLARE_FEATURE(kLensBlockFetchObjectsInteractionRPCsOnSeparateHandshake);
// Whether to prewarm hard stickiness in Input Selection.
BASE_DECLARE_FEATURE(kLensPrewarmHardStickinessInInputSelection);
// Whether to prewarm hard stickiness in query formulation.
BASE_DECLARE_FEATURE(kLensPrewarmHardStickinessInQueryFormulation);
// Whether to enable the fetch srp API.
BASE_DECLARE_FEATURE(kLensFetchSrpApiEnabled);
// Whether to enable exact matches.
BASE_DECLARE_FEATURE(kLensExactMatchesEnabled);
// Whether to make unused still outputs optional in Lens camera.
BASE_DECLARE_FEATURE(kLensCameraNoStillOutputRequired);
// Whether to prefer unbinned pixel formats in Lens camera.
BASE_DECLARE_FEATURE(kLensCameraUnbinnedCaptureFormatsPreferred);
// Whether to enable Lens camera continuous zoom.
BASE_DECLARE_FEATURE(kLensContinuousZoomEnabled);
// Whether to set the initial Lens camera zoom level to 90%.
BASE_DECLARE_FEATURE(kLensInitialLvfZoomLevel90Percent);
// Whether to enable Lens triple camera.
BASE_DECLARE_FEATURE(kLensTripleCameraEnabled);
// Whether to enable the Strokes API for Lens.
BASE_DECLARE_FEATURE(kLensStrokesAPIEnabled);
#endif // IOS_CHROME_BROWSER_LENS_UI_BUNDLED_FEATURES_H_