constants.cc 489 B

123456789101112131415
  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. #include "components/ntp_tiles/constants.h"
  5. namespace ntp_tiles {
  6. const size_t kMaxNumCustomLinks = 10;
  7. // If custom links are enabled, an additional tile may be returned making up to
  8. // kMaxNumCustomLinks custom links including the "Add shortcut" button.
  9. const size_t kMaxNumMostVisited = 8;
  10. } // namespace ntp_tiles