section_type.h 814 B

123456789101112131415161718192021222324252627282930
  1. // Copyright 2017 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. #ifndef COMPONENTS_NTP_TILES_SECTION_TYPE_H_
  5. #define COMPONENTS_NTP_TILES_SECTION_TYPE_H_
  6. namespace ntp_tiles {
  7. // The type of a section means all its tiles originate here. Ranked descendingly
  8. // from most important section to least important.
  9. // A Java counterpart will be generated for this enum.
  10. // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.chrome.browser.suggestions.tile
  11. // GENERATED_JAVA_CLASS_NAME_OVERRIDE: TileSectionType
  12. enum class SectionType {
  13. UNKNOWN,
  14. PERSONALIZED,
  15. SOCIAL,
  16. ENTERTAINMENT,
  17. NEWS,
  18. ECOMMERCE,
  19. TOOLS,
  20. TRAVEL,
  21. LAST = TRAVEL
  22. };
  23. } // namespace ntp_tiles
  24. #endif // COMPONENTS_NTP_TILES_SECTION_TYPE_H_