blob: 3db0665c399f43d7a93ee28c8f90b9da2957ef26 [file] [log] [blame]
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/ui_features.h"
namespace features {
// Enables showing the EV certificate details in the Page Info bubble.
const base::Feature kEvDetailsInPageInfo{"EvDetailsInPageInfo",
// Enables using dialogs (instead of bubbles) for the post-install UI when an
// extension overrides a setting.
const base::Feature kExtensionSettingsOverriddenDialogs{
"ExtensionSettingsOverriddenDialogs", base::FEATURE_DISABLED_BY_DEFAULT};
// Enables an extension menu in the toolbar. See
const base::Feature kExtensionsToolbarMenu{"ExtensionsToolbarMenu",
// Enables tabs from different browser types (NORMAL vs APP) and different apps
// to mix via dragging.
const base::Feature kMixBrowserTypeTabs{"MixBrowserTypeTabs",
// Enables the new profile picker.
// https:://
const base::Feature kNewProfilePicker{"NewProfilePicker",
// Enables updated tabstrip animations, required for a scrollable tabstrip.
const base::Feature kNewTabstripAnimation{"NewTabstripAnimation",
// Enables an experimental permission prompt that uses a chip in the location
// bar.
const base::Feature kPermissionChip{"PermissionChip",
// Enables a more prominent active tab title in dark mode to aid with
// accessibility.
const base::Feature kProminentDarkModeActiveTabTitle{
"ProminentDarkModeActiveTabTitle", base::FEATURE_DISABLED_BY_DEFAULT};
// Allow users to save tabs for later. Enables a new button and menu for
// accessing tabs saved for later.
const base::Feature kReadLater{"ReadLater", base::FEATURE_DISABLED_BY_DEFAULT};
// Enables tabs to scroll in the tabstrip.
const base::Feature kScrollableTabStrip{"ScrollableTabStrip",
// Enables grouping tabs together in the tab strip.
const base::Feature kTabGroups{"TabGroups", base::FEATURE_DISABLED_BY_DEFAULT};
// Enables tab groups to be collapsed and expanded.
const base::Feature kTabGroupsCollapse{"TabGroupsCollapse",
// Enables tabs to be frozen when collapsed.
const base::Feature kTabGroupsCollapseFreezing{
"TabGroupsCollapseFreezing", base::FEATURE_DISABLED_BY_DEFAULT};
// Enables the feedback through the tab group editor bubble.
const base::Feature kTabGroupsFeedback{"TabGroupsFeedback",
// Enables popup cards containing tab information when hovering over a tab.
const base::Feature kTabHoverCards{"TabHoverCards",
// Parameter name used for tab hover cards user study.
// TODO(corising): Removed this after tab hover cards user study.
const char kTabHoverCardsFeatureParameterName[] = "setting";
// Enables preview images in hover cards. See kTabHoverCards.
const base::Feature kTabHoverCardImages{"TabHoverCardImages",
// Enables tab outlines in additional situations for accessibility.
const base::Feature kTabOutlinesInLowContrastThemes{
"TabOutlinesInLowContrastThemes", base::FEATURE_DISABLED_BY_DEFAULT};
// Enables searching tabs across multiple windows.
const base::Feature kTabSearch{"TabSearch", base::FEATURE_DISABLED_BY_DEFAULT};
// Enables showing text next to the 3-dot menu when an update is available.
// See
const base::Feature kUseTextForUpdateButton{"UseTextForUpdateButton",
// Enables a web-based separator that's only used for performance testing. See
const base::Feature kWebFooterExperiment{"WebFooterExperiment",
// Enables a web-based tab strip. See Note this
// feature only works when the ENABLE_WEBUI_TAB_STRIP buildflag is enabled.
const base::Feature kWebUITabStrip{"WebUITabStrip",
// Enables friendly settings for the |chrome://settings/syncSetup| page.
const base::Feature kSyncSetupFriendlySettings{
"SyncSetupFriendlySettings", base::FEATURE_ENABLED_BY_DEFAULT};
#if defined(OS_CHROMEOS)
// Enables a warning about connecting to hidden WiFi networks.
const base::Feature kHiddenNetworkWarning{"HiddenNetworkWarning",
#endif // defined(OS_CHROMEOS)
} // namespace features