constants.h 697 B

1234567891011121314151617181920212223
  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. #ifndef COMPONENTS_NTP_TILES_CONSTANTS_H_
  5. #define COMPONENTS_NTP_TILES_CONSTANTS_H_
  6. #include <stddef.h>
  7. namespace ntp_tiles {
  8. // Maximum number of custom links that can be set by the user. Used on desktop.
  9. extern const size_t kMaxNumCustomLinks;
  10. // Maximum number of Most Visited sites that will be generated. Used on desktop.
  11. extern const size_t kMaxNumMostVisited;
  12. // Maximum number of tiles that can be shown on the NTP.
  13. const int kMaxNumTiles = 10;
  14. } // namespace ntp_tiles
  15. #endif // COMPONENTS_NTP_TILES_CONSTANTS_H_