summaryrefslogtreecommitdiff
path: root/chromium/components/zoom/page_zoom_constants.h
blob: d6dc7146a0dd9a51c29d0ea276d942f572507ca5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright 2015 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_ZOOM_PAGE_ZOOM_CONSTANTS_H_
#define COMPONENTS_ZOOM_PAGE_ZOOM_CONSTANTS_H_

#include <stddef.h>
#include <string>
#include <vector>

namespace zoom {

// Default zoom factors supported by ui_zoom.
extern const double kPresetZoomFactors[];
// Size of |kPresetZoomFactors|.
extern const std::size_t kPresetZoomFactorsSize;

std::string GetPresetZoomFactorsAsJSON();

}  // namespace zoom

#endif  // COMPONENTS_ZOOM_PAGE_ZOOM_CONSTANTS_H_