summaryrefslogtreecommitdiff
path: root/chromium/components/ntp_tiles/constants.h
blob: eb7a95f0b1a4bd497ecfd0cc62737685c38ac852 (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 int 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_