blob: 59af950896bc77ef474a12ec50bdf3af586661f9 [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 an extension menu in the toolbar. See
const base::Feature kExtensionsToolbarMenu{"ExtensionsToolbarMenu",
// 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 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",
#if !defined(OS_ANDROID)
// Whether to enable "dark mode" enhancements in Mac Mojave or Windows 10 for
// UIs implemented with web technologies.
const base::Feature kWebUIDarkMode {
#if defined(OS_MACOSX) || defined(OS_WIN)
#endif // defined(OS_MACOSX) || defined(OS_WIN)
#endif // !defined(OS_ANDROID)
} // namespace features