summaryrefslogtreecommitdiff
path: root/chromium/components/ntp_tiles/constants.h
blob: 755a0ecbcf4a21a515728ccc0b932c23c2566d30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// 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.

#ifndef COMPONENTS_NTP_TILES_CONSTANTS_H_
#define COMPONENTS_NTP_TILES_CONSTANTS_H_

#include <stddef.h>

#include <utility>

namespace ntp_tiles {

// Maximum number of custom links that can be set by the user. Used on desktop.
extern const size_t kMaxNumCustomLinks;

// Maximum number of Most Visited sites that will be generated. Used on desktop.
extern const size_t kMaxNumMostVisited;

// Maximum number of tiles that can be shown on the NTP.
const int kMaxNumTiles = 10;

}  // namespace ntp_tiles

#endif  // COMPONENTS_NTP_TILES_CONSTANTS_H_