OLD | NEW |
| (Empty) |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef COMPONENTS_NTP_TILES_NTP_TILE_SOURCE_H_ | |
6 #define COMPONENTS_NTP_TILES_NTP_TILE_SOURCE_H_ | |
7 | |
8 namespace ntp_tiles { | |
9 | |
10 // The source of an NTP tile. | |
11 // A Java counterpart will be generated for this enum. | |
12 // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.chrome.browser.ntp | |
13 enum class NTPTileSource { | |
14 // Tile comes from the personal top sites list, based on local history. | |
15 TOP_SITES, | |
16 // Tile comes from the suggestions service, based on synced history. | |
17 SUGGESTIONS_SERVICE, | |
18 // Tile is regionally popular. | |
19 POPULAR, | |
20 // Tile is on a custodian-managed whitelist. | |
21 WHITELIST, | |
22 | |
23 LAST = WHITELIST | |
24 }; | |
25 | |
26 } // namespace ntp_tiles | |
27 | |
28 #endif // COMPONENTS_NTP_TILES_NTP_TILE_SOURCE_H_ | |
OLD | NEW |