blob: 6c31e0c8bb7e2dfeea6e54ac1626d8cc6f9377fe [file] [log] [blame]
// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_NTP_TILES_TILE_SOURCE_H_
#define COMPONENTS_NTP_TILES_TILE_SOURCE_H_
namespace ntp_tiles {
// The source of an NTP tile. Please update webui/ntp-tiles-internals* as well
// when modifying these values.
// A Java counterpart will be generated for this enum.
// GENERATED_JAVA_ENUM_PACKAGE: org.chromium.chrome.browser.suggestions.tile
enum class TileSource {
// Tile comes from the personal top sites list, based on local history.
TOP_SITES,
// Tile is regionally popular.
POPULAR,
// Tile is a popular site baked into the binary.
POPULAR_BAKED_IN,
// Tile is a custom link.
CUSTOM_LINKS,
// Tile is on a custodian-managed allowlist.
ALLOWLIST,
// Tile containing the user-set home page is replacing the home page button.
HOMEPAGE,
LAST = HOMEPAGE
};
} // namespace ntp_tiles
#endif // COMPONENTS_NTP_TILES_TILE_SOURCE_H_