blob: 3df5895587560e9571c1cf297cbb61efcf4f1077 [file] [log] [blame]
// Copyright 2018 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.
#ifndef CHROME_BROWSER_SEARCH_NTP_FEATURES_H_
#define CHROME_BROWSER_SEARCH_NTP_FEATURES_H_
#include "base/feature_list.h"
namespace features {
// The features should be documented alongside the definition of their values in
// the .cc file.
extern const base::Feature kChromeColors;
extern const base::Feature kChromeColorsCustomColorPicker;
extern const base::Feature kGridLayoutForNtpShortcuts;
extern const base::Feature kNtpCustomizationMenuV2;
// Note: only exposed for about:flags. Use IsNtpRealboxEnabled() instead.
extern const base::Feature kNtpRealbox;
// Returns true if either kNtpRealbox or omnibox::kZeroSuggestionsOnNTPRealbox
// are enabled; or omnibox::kOnFocusSuggestions is enabled and configured to
// show suggestions of some type in the NTP Realbox.
bool IsNtpRealboxEnabled();
extern const base::Feature kDismissNtpPromos;
} // namespace features
#endif // CHROME_BROWSER_SEARCH_NTP_FEATURES_H_