summaryrefslogtreecommitdiff
path: root/chromium/components/ntp_tiles/constants.cc
blob: 01bd94d04e0070349e0dbcf947e807b96b08c887 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/ntp_tiles/constants.h"

namespace ntp_tiles {

const size_t kMaxNumCustomLinks = 10;

// If custom links are enabled, an additional tile may be returned making up to
// kMaxNumCustomLinks custom links including the "Add shortcut" button.
const size_t kMaxNumMostVisited = 8;

}  // namespace ntp_tiles